* [PATCH 0/1] multilib header support for python
@ 2012-04-05 15:00 Lianhao Lu
2012-04-05 15:00 ` [PATCH 1/1] python: multilib header support Lianhao Lu
0 siblings, 1 reply; 3+ messages in thread
From: Lianhao Lu @ 2012-04-05 15:00 UTC (permalink / raw)
To: openembedded-core
Added multilib header support for python, so that lib32-python and python won't have
conflicting file pyconfig.h.
The following changes since commit 3e4562500956550dbae5467a5fe9289f1d32f775:
Saul Wold (1):
self-hosted-image: Increase space for build and allow builder user sudo access
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib llu/multilib2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/multilib2
Lianhao Lu (1):
python: multilib header support.
.../python/python-2.7-manifest.inc | 2 +-
meta/recipes-devtools/python/python_2.7.2.bb | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] python: multilib header support.
2012-04-05 15:00 [PATCH 0/1] multilib header support for python Lianhao Lu
@ 2012-04-05 15:00 ` Lianhao Lu
2012-04-05 18:35 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Lianhao Lu @ 2012-04-05 15:00 UTC (permalink / raw)
To: openembedded-core
Add intercept multilib header for pyconfig.h in python.
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
---
.../python/python-2.7-manifest.inc | 2 +-
meta/recipes-devtools/python/python_2.7.2.bb | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/python/python-2.7-manifest.inc b/meta/recipes-devtools/python/python-2.7-manifest.inc
index ca01553..1e16c6b 100644
--- a/meta/recipes-devtools/python/python-2.7-manifest.inc
+++ b/meta/recipes-devtools/python/python-2.7-manifest.inc
@@ -40,7 +40,7 @@ FILES_${PN}-compression="${libdir}/python2.7/gzip.* ${libdir}/python2.7/zipfile.
DESCRIPTION_${PN}-core="Python Interpreter and core modules (needed!)"
RDEPENDS_${PN}-core="${PN}-lang ${PN}-re"
FILES_${PN}-core="${libdir}/python2.7/__future__.* ${libdir}/python2.7/_abcoll.* ${libdir}/python2.7/abc.* ${libdir}/python2.7/copy.* ${libdir}/python2.7/copy_reg.* ${libdir}/python2.7/ConfigParser.* ${libdir}/python2.7/genericpath.* ${libdir}/python2.7/getopt.* ${libdir}/python2.7/linecache.* ${libdir}/python2.7/new.* ${libdir}/python2.7/os.* ${libdir}/python2.7/posixpath.* ${libdir}/python2.7/struct.* ${libdir}/python2.7/warnings.* ${libdir}/python2.7/site.* ${libdir}/python2.7/stat.* ${libdir}/python2.7/UserDict.* ${libdir}/python2.7/UserList.* ${libdir}/python2.7/UserString.* ${libdir}/python2.7/lib-dynload/binascii.so ${libdir}/python2.7/lib-dynload/_struct.so ${libdir}/python2.7/lib-dynload/time.so ${libdir}/python2.7/lib-dynload/xreadlines.so \
-${libdir}/python2.7/types.* ${libdir}/python2.7/platform.* ${bindir}/python* ${libdir}/python2.7/_weakrefset.* ${libdir}/python2.7/sysconfig.* ${libdir}/python2.7/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig.h ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py "
+${libdir}/python2.7/types.* ${libdir}/python2.7/platform.* ${bindir}/python* ${libdir}/python2.7/_weakrefset.* ${libdir}/python2.7/sysconfig.* ${libdir}/python2.7/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py "
DESCRIPTION_${PN}-crypt="Python Basic Cryptographic and Hashing Support"
RDEPENDS_${PN}-crypt="${PN}-core"
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
index 8cf45da..b6997c1 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 = ""
@@ -25,7 +25,7 @@ SRC_URI += "\
S = "${WORKDIR}/Python-${PV}"
-inherit autotools
+inherit autotools multilib_header
# The 3 lines below are copied from the libffi recipe, ctypes ships its own copy of the libffi sources
#Somehow gcc doesn't set __SOFTFP__ when passing -mfloatabi=softp :(
@@ -110,6 +110,8 @@ do_install() {
if [ -e ${WORKDIR}/sitecustomize.py ]; then
install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
fi
+
+ oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h
}
SSTATE_SCAN_FILES += "Makefile"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] python: multilib header support.
2012-04-05 15:00 ` [PATCH 1/1] python: multilib header support Lianhao Lu
@ 2012-04-05 18:35 ` Martin Jansa
0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2012-04-05 18:35 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 3847 bytes --]
On Thu, Apr 05, 2012 at 11:00:34PM +0800, Lianhao Lu wrote:
> Add intercept multilib header for pyconfig.h in python.
>
> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
> ---
> .../python/python-2.7-manifest.inc | 2 +-
> meta/recipes-devtools/python/python_2.7.2.bb | 6 ++++--
> 2 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-devtools/python/python-2.7-manifest.inc b/meta/recipes-devtools/python/python-2.7-manifest.inc
> index ca01553..1e16c6b 100644
> --- a/meta/recipes-devtools/python/python-2.7-manifest.inc
> +++ b/meta/recipes-devtools/python/python-2.7-manifest.inc
> @@ -40,7 +40,7 @@ FILES_${PN}-compression="${libdir}/python2.7/gzip.* ${libdir}/python2.7/zipfile.
> DESCRIPTION_${PN}-core="Python Interpreter and core modules (needed!)"
> RDEPENDS_${PN}-core="${PN}-lang ${PN}-re"
> FILES_${PN}-core="${libdir}/python2.7/__future__.* ${libdir}/python2.7/_abcoll.* ${libdir}/python2.7/abc.* ${libdir}/python2.7/copy.* ${libdir}/python2.7/copy_reg.* ${libdir}/python2.7/ConfigParser.* ${libdir}/python2.7/genericpath.* ${libdir}/python2.7/getopt.* ${libdir}/python2.7/linecache.* ${libdir}/python2.7/new.* ${libdir}/python2.7/os.* ${libdir}/python2.7/posixpath.* ${libdir}/python2.7/struct.* ${libdir}/python2.7/warnings.* ${libdir}/python2.7/site.* ${libdir}/python2.7/stat.* ${libdir}/python2.7/UserDict.* ${libdir}/python2.7/UserList.* ${libdir}/python2.7/UserString.* ${libdir}/python2.7/lib-dynload/binascii.so ${libdir}/python2.7/lib-dynload/_struct.so ${libdir}/python2.7/lib-dynload/time.so ${libdir}/python2.7/lib-dynload/xreadlines.so \
> -${libdir}/python2.7/types.* ${libdir}/python2.7/platform.* ${bindir}/python* ${libdir}/python2.7/_weakrefset.* ${libdir}/python2.7/sysconfig.* ${libdir}/python2.7/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig.h ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py "
> +${libdir}/python2.7/types.* ${libdir}/python2.7/platform.* ${bindir}/python* ${libdir}/python2.7/_weakrefset.* ${libdir}/python2.7/sysconfig.* ${libdir}/python2.7/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py "
read header of this file and change that in
scripts/contrib/python/generate-manifest-2.7.py instead
>
> DESCRIPTION_${PN}-crypt="Python Basic Cryptographic and Hashing Support"
> RDEPENDS_${PN}-crypt="${PN}-core"
> diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
> index 8cf45da..b6997c1 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 = ""
> @@ -25,7 +25,7 @@ SRC_URI += "\
>
> S = "${WORKDIR}/Python-${PV}"
>
> -inherit autotools
> +inherit autotools multilib_header
>
> # The 3 lines below are copied from the libffi recipe, ctypes ships its own copy of the libffi sources
> #Somehow gcc doesn't set __SOFTFP__ when passing -mfloatabi=softp :(
> @@ -110,6 +110,8 @@ do_install() {
> if [ -e ${WORKDIR}/sitecustomize.py ]; then
> install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
> fi
> +
> + oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h
> }
>
> SSTATE_SCAN_FILES += "Makefile"
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-05 18:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-05 15:00 [PATCH 0/1] multilib header support for python Lianhao Lu
2012-04-05 15:00 ` [PATCH 1/1] python: multilib header support Lianhao Lu
2012-04-05 18:35 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.