summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-04-12 04:30:02 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-24 11:38:16 +0100
commit6691d036fff6ba6d7e50a6add8e30cb47e1e60ed (patch)
treef34ec074f6c6de1cf46a1bc9a3c0fbe275a10c8e /meta/recipes-devtools/python
parent0d6abd0ff634604cdde2b80f625d6ca2a015948a (diff)
downloadopenembedded-core-6691d036fff6ba6d7e50a6add8e30cb47e1e60ed.tar.gz
openembedded-core-6691d036fff6ba6d7e50a6add8e30cb47e1e60ed.tar.bz2
openembedded-core-6691d036fff6ba6d7e50a6add8e30cb47e1e60ed.zip
python: use PKGSUFFIX for libpython2
* python-nativesdk shouldn't provide libpython2, but libpython2-nativesdk. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> [PR Bump - sgw] Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python_2.7.2.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
index e067ba50fc..9ba561b18b 100644
--- a/meta/recipes-devtools/python/python_2.7.2.bb
+++ b/meta/recipes-devtools/python/python_2.7.2.bb
@@ -1,6 +1,6 @@
require python.inc
DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib"
-PR = "${INC_PR}.14"
+PR = "${INC_PR}.15"
DISTRO_SRC_URI ?= "file://sitecustomize.py"
DISTRO_SRC_URI_linuxstdbase = ""
@@ -145,8 +145,8 @@ RRECOMMENDS_${PN}-core = "${PN}-readline"
RRECOMMENDS_${PN}-crypt = "openssl"
# package libpython2
-PACKAGES =+ "lib${BPN}2"
-FILES_lib${BPN}2 = "${libdir}/libpython*.so.*"
+PACKAGES =+ "lib${BPN}2${PKGSUFFIX}"
+FILES_lib${BPN}2${PKGSUFFIX} = "${libdir}/libpython*.so.*"
# catch debug extensions (isn't that already in python-core-dbg?)
FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
@@ -160,3 +160,6 @@ PACKAGES += "${PN}-man"
FILES_${PN}-man = "${datadir}/man"
BBCLASSEXTEND = "nativesdk"
+
+PKGSUFFIX = ""
+PKGSUFFIX_virtclass-nativesdk = "-nativesdk"