* [PATCH] python: use PKGSUFFIX for libpython2
@ 2012-04-12 2:30 Andreas Oberritter
2012-04-27 21:26 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Oberritter @ 2012-04-12 2:30 UTC (permalink / raw)
To: openembedded-core
* python-nativesdk shouldn't provide libpython2, but
libpython2-nativesdk.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
meta/recipes-devtools/python/python_2.7.2.bb | 9 ++++++---
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 8cf45da..ae08748 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}.9"
+PR = "${INC_PR}.10"
DISTRO_SRC_URI ?= "file://sitecustomize.py"
DISTRO_SRC_URI_linuxstdbase = ""
@@ -128,8 +128,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"
@@ -143,3 +143,6 @@ PACKAGES += "${PN}-man"
FILES_${PN}-man = "${datadir}/man"
BBCLASSEXTEND = "nativesdk"
+
+PKGSUFFIX = ""
+PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] python: use PKGSUFFIX for libpython2
2012-04-12 2:30 [PATCH] python: use PKGSUFFIX for libpython2 Andreas Oberritter
@ 2012-04-27 21:26 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-04-27 21:26 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 04/11/2012 07:30 PM, Andreas Oberritter wrote:
> * python-nativesdk shouldn't provide libpython2, but
> libpython2-nativesdk.
>
> Signed-off-by: Andreas Oberritter<obi@opendreambox.org>
> ---
> meta/recipes-devtools/python/python_2.7.2.bb | 9 ++++++---
> 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 8cf45da..ae08748 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}.9"
> +PR = "${INC_PR}.10"
>
> DISTRO_SRC_URI ?= "file://sitecustomize.py"
> DISTRO_SRC_URI_linuxstdbase = ""
> @@ -128,8 +128,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"
> @@ -143,3 +143,6 @@ PACKAGES += "${PN}-man"
> FILES_${PN}-man = "${datadir}/man"
>
> BBCLASSEXTEND = "nativesdk"
> +
> +PKGSUFFIX = ""
> +PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
This was merged into OE-Core along with the 2 wpa-supplicant changes
Thanks
Sau!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-27 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-12 2:30 [PATCH] python: use PKGSUFFIX for libpython2 Andreas Oberritter
2012-04-27 21:26 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox