All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/20] Change python-native path
@ 2012-07-13 13:54 Morgan Little
  2012-07-13 13:54 ` [PATCH 01/20] python-native: Put binaries in seperate directory Morgan Little
                   ` (19 more replies)
  0 siblings, 20 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

I updated python-native like it was suggest by Richard here:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-June/024644.html

It is to resolve an issue that comes up when python-native is building and 
autoconf finds the binary but not the libraries. This fix moves where the 
binaries are installed to remove this issue and use the system's python.

I have used bitbake world to build to make sure most things are build and 
have added all of the recipes that I found were affected. I will be building 
more to make sure I managed to get all of them.


The following changes since commit 1b40dac2c501ae8c8d812cf2866fe7917f144a19:
  Tom Zanussi (1):
        perf: add perl, python to DEPENDS

are available in the git repository at:

  git@github.com:morganlittle/oe-core.git master

Morgan Little (20):
      python-native: Put binaries in seperate directory
      python: Update for python-native changes
      python-dbus: Update for python-native changes
      python-gst: Update for python-native changes
      python-pygobject: Update for python-native changes
      python-pygtk: Update for python-native changes
      python-pyrex-native:Update for python-native changes
      python-scons-native: Update for python-native changes
      python-setuptools: Update for python-native changes
      telepathy-glib: Update for python-native changes
      telepathy-python: Update for python-native changes
      libxml2: Update for python-native changes
      mklibs-native: Update for python-native changes
      gnome-doc-utils: Update for python-native changes
      mesa-common: Update for python-native changes
      libxcb: Update for python-native changes
      xcb-proto: Update for python-native changes
      kernelshark: Update for python-native changes
      trace-cmd: Update for python-native changes
      gobject-introspection: Update for python-native changes

 meta/classes/distutils.bbclass                     |   14 +++++++++-----
 meta/classes/pythonnative.bbclass                  |    3 +++
 .../telepathy/telepathy-glib_0.19.2.bb             |    4 ++--
 .../telepathy/telepathy-python_0.15.19.bb          |    4 ++--
 meta/recipes-core/libxml/libxml2.inc               |    2 +-
 .../mklibs/mklibs-native_0.1.34.bb                 |    4 ++--
 meta/recipes-devtools/python/python-dbus_1.0.0.bb  |    4 ++--
 meta/recipes-devtools/python/python-gst_0.10.22.bb |    4 ++--
 .../recipes-devtools/python/python-native_2.7.3.bb |    9 ++++++---
 .../python/python-pygobject_2.27.91.bb             |    4 ++--
 .../recipes-devtools/python/python-pygtk_2.17.0.bb |    4 ++--
 .../python/python-pyrex-native_0.9.9.bb            |    4 ++--
 .../python/python-scons-native_2.1.0.bb            |    4 ++--
 .../python/python-setuptools_0.6c11.bb             |    4 ++--
 meta/recipes-devtools/python/python_2.7.3.bb       |   18 +++++++++---------
 meta/recipes-gnome/gnome/gnome-doc-utils.inc       |    2 +-
 .../gnome/gobject-introspection_1.32.1.bb          |    2 +-
 .../gnome/gobject-introspection_git.bb             |    2 +-
 meta/recipes-graphics/mesa/mesa-common.inc         |    4 ++--
 meta/recipes-graphics/xcb/libxcb.inc               |    2 +-
 meta/recipes-graphics/xcb/xcb-proto.inc            |    2 +-
 meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb   |    4 ++--
 meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb     |    4 ++--
 23 files changed, 59 insertions(+), 49 deletions(-)
 create mode 100644 meta/classes/pythonnative.bbclass



^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 01/20] python-native: Put binaries in seperate directory
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-15  3:06   ` Randy MacLeod
  2012-07-13 13:54 ` [PATCH 02/20] python: Update for python-native changes Morgan Little
                   ` (18 subsequent siblings)
  19 siblings, 1 reply; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Update python-native to install the binaries in the python-native directory,
add pythonnative.bbclass to let recipes that need python-native use the
binaries and update disutils access the new binaries.

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/classes/distutils.bbclass                     |   14 +++++++++-----
 meta/classes/pythonnative.bbclass                  |    3 +++
 .../recipes-devtools/python/python-native_2.7.3.bb |    9 ++++++---
 3 files changed, 18 insertions(+), 8 deletions(-)
 create mode 100644 meta/classes/pythonnative.bbclass

diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index bcddf8d..f731257 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -1,4 +1,4 @@
-inherit distutils-base
+inherit distutils-base pythonnative
 
 DISTUTILS_BUILD_ARGS ?= ""
 DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}"
@@ -11,14 +11,14 @@ distutils_do_compile() {
          STAGING_INCDIR=${STAGING_INCDIR} \
          STAGING_LIBDIR=${STAGING_LIBDIR} \
          BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-         ${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
+         ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
          bbfatal "python setup.py build_ext execution failed."
 }
 
 distutils_stage_headers() {
         install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-        ${STAGING_BINDIR_NATIVE}/python setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
+        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
         bbfatal "python setup.py install_headers execution failed."
 }
 
@@ -28,7 +28,7 @@ distutils_stage_all() {
         install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
         PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \
         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-        ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
+        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
         bbfatal "python setup.py install (stage) execution failed."
 }
 
@@ -38,7 +38,7 @@ distutils_do_install() {
         STAGING_LIBDIR=${STAGING_LIBDIR} \
         PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \
         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-        ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \
+        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \
         bbfatal "python setup.py install execution failed."
 
         for i in `find ${D} -name "*.py"` ; do \
@@ -65,6 +65,10 @@ distutils_do_install() {
         if test -e ${D}${datadir}/share; then
             mv -f ${D}${datadir}/share/* ${D}${datadir}/
         fi
+
+        # These are generated files, on really slow systems the storage/speed trade off
+        # might be worth it, but in general it isn't 
+        find ${D}${libdir}/${PYTHON_DIR}/site-packages -iname '*.pyo' -exec rm {} \;
 }
 
 EXPORT_FUNCTIONS do_compile do_install
diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass
new file mode 100644
index 0000000..bc346da
--- /dev/null
+++ b/meta/classes/pythonnative.bbclass
@@ -0,0 +1,3 @@
+PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
+PATH_prepend = "${STAGING_BINDIR_NATIVE}/python-native:"
+DEPENDS += " python-native "
diff --git a/meta/recipes-devtools/python/python-native_2.7.3.bb b/meta/recipes-devtools/python/python-native_2.7.3.bb
index 50bf894..a4cbdcd 100644
--- a/meta/recipes-devtools/python/python-native_2.7.3.bb
+++ b/meta/recipes-devtools/python/python-native_2.7.3.bb
@@ -1,6 +1,6 @@
 require python.inc
 DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 SRC_URI += "file://04-default-is-optimized.patch \
            file://05-enable-ctypes-cross-build.patch \
@@ -20,6 +20,8 @@ inherit native
 
 RPROVIDES += "python-distutils-native python-compression-native python-textutils-native python-core-native"
 
+EXTRA_OECONF += " --bindir=${bindir}/${PN}"
+
 EXTRA_OEMAKE = '\
   BUILD_SYS="" \
   HOST_SYS="" \
@@ -35,10 +37,11 @@ do_configure_prepend() {
 do_install() {
 	oe_runmake 'DESTDIR=${D}' install
 	install -d ${D}${bindir}/
-	install -m 0755 Parser/pgen ${D}${bindir}/
+	install -d ${D}${bindir}/${PN}
+	install -m 0755 Parser/pgen ${D}${bindir}/${PN}
 
 	# Make sure we use /usr/bin/env python
-	for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do
+	for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do
 		sed -i -e '1s|^#!.*|#!/usr/bin/env python|' $PYTHSCRIPT
 	done
 }
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 02/20] python: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
  2012-07-13 13:54 ` [PATCH 01/20] python-native: Put binaries in seperate directory Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-13 13:54 ` [PATCH 03/20] python-dbus: " Morgan Little
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative onto the list of inherits and update the paths to the binaries
referenced in the recipe to the new paths.

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-devtools/python/python_2.7.3.bb |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
index b06d7b7..fd0e2f7 100644
--- a/meta/recipes-devtools/python/python_2.7.3.bb
+++ b/meta/recipes-devtools/python/python_2.7.3.bb
@@ -1,6 +1,6 @@
 require python.inc
 DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 DISTRO_SRC_URI ?= "file://sitecustomize.py"
 DISTRO_SRC_URI_linuxstdbase = ""
@@ -30,7 +30,7 @@ SRC_URI += "\
 
 S = "${WORKDIR}/Python-${PV}"
 
-inherit autotools multilib_header
+inherit autotools multilib_header pythonnative
 
 # 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 :(
@@ -45,7 +45,7 @@ do_configure_prepend() {
 do_compile() {
         # regenerate platform specific files, because they depend on system headers
         cd Lib/plat-linux2
-        include=${STAGING_INCDIR} ${STAGING_BINDIR_NATIVE}/python \
+        include=${STAGING_INCDIR} ${STAGING_BINDIR_NATIVE}/python-native/python \
                 ${S}/Tools/scripts/h2py.py -i '(u_long)' \
                 ${STAGING_INCDIR}/dlfcn.h \
                 ${STAGING_INCDIR}/linux/cdrom.h \
@@ -89,8 +89,8 @@ do_compile() {
 
 	export CROSS_COMPILE="${TARGET_PREFIX}"
 
-	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
-		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
+	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/python-native/pgen \
+		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native/python \
 		STAGING_LIBDIR=${STAGING_LIBDIR} \
 		STAGING_BASELIBDIR=${STAGING_BASELIBDIR} \
 		STAGING_INCDIR=${STAGING_INCDIR} \
@@ -99,8 +99,8 @@ do_compile() {
 
 	oe_libinstall -so libpython${PYTHON_MAJMIN} ${STAGING_LIBDIR}
 
-	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
-		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
+	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/python-native/pgen \
+		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native/python \
 		STAGING_LIBDIR=${STAGING_LIBDIR} \
 		STAGING_INCDIR=${STAGING_INCDIR} \
 		STAGING_BASELIBDIR=${STAGING_BASELIBDIR} \
@@ -115,8 +115,8 @@ do_install() {
 
 	export CROSS_COMPILE="${TARGET_PREFIX}"
 	
-	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
-		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
+	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/python-native/pgen \
+		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native/python \
 		CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ \
 		STAGING_LIBDIR=${STAGING_LIBDIR} \
 		STAGING_INCDIR=${STAGING_INCDIR} \
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 03/20] python-dbus: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
  2012-07-13 13:54 ` [PATCH 01/20] python-native: Put binaries in seperate directory Morgan Little
  2012-07-13 13:54 ` [PATCH 02/20] python: Update for python-native changes Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-13 13:54 ` [PATCH 04/20] python-gst: " Morgan Little
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-devtools/python/python-dbus_1.0.0.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-dbus_1.0.0.bb b/meta/recipes-devtools/python/python-dbus_1.0.0.bb
index 1b174eb..ad7c4bf 100644
--- a/meta/recipes-devtools/python/python-dbus_1.0.0.bb
+++ b/meta/recipes-devtools/python/python-dbus_1.0.0.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f5612614133e9a2f2dad527d97554670"
 DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz"
 
@@ -12,7 +12,7 @@ SRC_URI[md5sum] = "775a8235736bf760cdd96e2d76546469"
 SRC_URI[sha256sum] = "9e46f97d739dde8a5ab33ec6b11da58794c4c20804aacdad2880b7d3bc05187a"
 S = "${WORKDIR}/dbus-python-${PV}"
 
-inherit distutils-base autotools pkgconfig
+inherit distutils-base autotools pkgconfig pythonnative
 
 export BUILD_SYS
 export HOST_SYS
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 04/20] python-gst: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (2 preceding siblings ...)
  2012-07-13 13:54 ` [PATCH 03/20] python-dbus: " Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-13 13:54 ` [PATCH 05/20] python-pygobject: " Morgan Little
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-devtools/python/python-gst_0.10.22.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-gst_0.10.22.bb b/meta/recipes-devtools/python/python-gst_0.10.22.bb
index 7bd6d06..dfdab2d 100644
--- a/meta/recipes-devtools/python/python-gst_0.10.22.bb
+++ b/meta/recipes-devtools/python/python-gst_0.10.22.bb
@@ -3,7 +3,7 @@ SECTION = "devel/python"
 LICENSE = "LGPLv2.1"
 DEPENDS = "gstreamer gst-plugins-base python-pygobject"
 RDEPENDS_${PN} += "python-pygtk"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \
            file://python-path.patch"
@@ -14,7 +14,7 @@ S = "${WORKDIR}/gst-python-${PV}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=39ff67e932b7bdfa9b78bad67151690b"
 
-inherit autotools distutils-base pkgconfig
+inherit autotools distutils-base pkgconfig pythonnative
 
 EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
 
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 05/20] python-pygobject: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (3 preceding siblings ...)
  2012-07-13 13:54 ` [PATCH 04/20] python-gst: " Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-13 13:54 ` [PATCH 06/20] python-pygtk: " Morgan Little
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../python/python-pygobject_2.27.91.bb             |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb
index d79ab2f..7633a10 100644
--- a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb
+++ b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
 DEPENDS = "python python-pygobject-native glib-2.0"
 DEPENDS_virtclass-native = "glib-2.0-native"
 RDEPENDS_virtclass-native = ""
-PR = "r4"
+PR = "r5"
 
 MAJ_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
 
@@ -18,7 +18,7 @@ S = "${WORKDIR}/pygobject-${PV}"
 FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files"
 EXTRA_OECONF += "--disable-introspection"
 
-inherit autotools distutils-base pkgconfig
+inherit autotools distutils-base pkgconfig pythonnative
 
 # necessary to let the call for python-config succeed
 export BUILD_SYS
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 06/20] python-pygtk: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (4 preceding siblings ...)
  2012-07-13 13:54 ` [PATCH 05/20] python-pygobject: " Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-13 13:54 ` [PATCH 07/20] python-pyrex-native:Update " Morgan Little
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../recipes-devtools/python/python-pygtk_2.17.0.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-pygtk_2.17.0.bb b/meta/recipes-devtools/python/python-pygtk_2.17.0.bb
index 603ec5b..06535f9 100644
--- a/meta/recipes-devtools/python/python-pygtk_2.17.0.bb
+++ b/meta/recipes-devtools/python/python-pygtk_2.17.0.bb
@@ -7,7 +7,7 @@ PROVIDES = "python-pygtk2"
 SRCNAME = "pygtk"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
-PR = "ml10"
+PR = "ml11"
 
 SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.17/${SRCNAME}-${PV}.tar.bz2 \
            file://fix-gtkunixprint.patch \
@@ -21,7 +21,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../"
 
-inherit autotools pkgconfig distutils-base
+inherit autotools pkgconfig distutils-base pythonnative
 
 do_configure_prepend() {
 	install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 07/20] python-pyrex-native:Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (5 preceding siblings ...)
  2012-07-13 13:54 ` [PATCH 06/20] python-pygtk: " Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-13 13:54 ` [PATCH 08/20] python-scons-native: Update " Morgan Little
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../python/python-pyrex-native_0.9.9.bb            |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb b/meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb
index dcfc3f5..e8ef1aa 100644
--- a/meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb
+++ b/meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb
@@ -1,5 +1,5 @@
 require python-pyrex_${PV}.bb
-inherit native
+inherit native pythonnative
 DEPENDS = "python-native"
 RDEPENDS_${PN} = ""
-PR = "r2"
+PR = "r3"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 08/20] python-scons-native: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (6 preceding siblings ...)
  2012-07-13 13:54 ` [PATCH 07/20] python-pyrex-native:Update " Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-13 13:54 ` [PATCH 09/20] python-setuptools: " Morgan Little
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../python/python-scons-native_2.1.0.bb            |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-scons-native_2.1.0.bb b/meta/recipes-devtools/python/python-scons-native_2.1.0.bb
index ff94cf6..ec3f2f4 100644
--- a/meta/recipes-devtools/python/python-scons-native_2.1.0.bb
+++ b/meta/recipes-devtools/python/python-scons-native_2.1.0.bb
@@ -1,5 +1,5 @@
 require python-scons_${PV}.bb
-inherit native
+inherit native pythonnative
 DEPENDS = "python-native"
 RDEPENDS_${PN} = ""
-PR = "r1"
+PR = "r2"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 09/20] python-setuptools: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (7 preceding siblings ...)
  2012-07-13 13:54 ` [PATCH 08/20] python-scons-native: Update " Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-16  8:50   ` Richard Purdie
  2012-07-13 13:54 ` [PATCH 10/20] telepathy-glib: " Morgan Little
                   ` (10 subsequent siblings)
  19 siblings, 1 reply; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../python/python-setuptools_0.6c11.bb             |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
index a769714..dbbc4dc 100644
--- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
+++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
@@ -5,7 +5,7 @@ LICENSE = "PSF"
 LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e"
 
 SRCNAME = "setuptools"
-PR = "ml4"
+PR = "ml3"
 DEPENDS += "python"
 DEPENDS_virtclass-native += "python-native"
 
@@ -14,7 +14,7 @@ SRC_URI = "\
 "
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit distutils pythonnative
 
 do_install_prepend() {
     install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 10/20] telepathy-glib: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (8 preceding siblings ...)
  2012-07-13 13:54 ` [PATCH 09/20] python-setuptools: " Morgan Little
@ 2012-07-13 13:54 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 11/20] telepathy-python: " Morgan Little
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:54 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../telepathy/telepathy-glib_0.19.2.bb             |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/telepathy/telepathy-glib_0.19.2.bb b/meta/recipes-connectivity/telepathy/telepathy-glib_0.19.2.bb
index 22f8c07..77389c0 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-glib_0.19.2.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-glib_0.19.2.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Telepathy Framework: GLib-based helper library for connection man
 HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
 DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib"
 LICENSE = "LGPLv2.1+"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BPN}-${PV}.tar.gz"
 
@@ -12,7 +12,7 @@ SRC_URI[sha256sum] = "7e3c313ed08e26339deb603a615cec62a370131075514439f79f473f92
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e"
 
-inherit autotools pkgconfig gettext
+inherit autotools pkgconfig gettext pythonnative
 
 FILES_${PN} += "${datadir}/telepathy \
                 ${datadir}/dbus-1"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 11/20] telepathy-python: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (9 preceding siblings ...)
  2012-07-13 13:54 ` [PATCH 10/20] telepathy-glib: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 12/20] libxml2: " Morgan Little
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../telepathy/telepathy-python_0.15.19.bb          |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
index 0113854..8b85c9a 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
@@ -10,9 +10,9 @@ SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz
            file://parallel_make.patch \
            file://remove_duplicate_install.patch"
 
-PR = "r4"
+PR = "r5"
 
-inherit autotools
+inherit autotools pythonnative
 
 SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017"
 SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 12/20] libxml2: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (10 preceding siblings ...)
  2012-07-13 13:55 ` [PATCH 11/20] telepathy-python: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 13/20] mklibs-native: " Morgan Little
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-core/libxml/libxml2.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
index d70fe47..91fbaf4 100644
--- a/meta/recipes-core/libxml/libxml2.inc
+++ b/meta/recipes-core/libxml/libxml2.inc
@@ -17,7 +17,7 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
            file://ansidecl.patch"
 
 
-inherit autotools pkgconfig binconfig
+inherit autotools pkgconfig binconfig pythonnative
 
 # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header
 do_configure_prepend () {
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 13/20] mklibs-native: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (11 preceding siblings ...)
  2012-07-13 13:55 ` [PATCH 12/20] libxml2: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 14/20] gnome-doc-utils: " Morgan Little
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../mklibs/mklibs-native_0.1.34.bb                 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/mklibs/mklibs-native_0.1.34.bb b/meta/recipes-devtools/mklibs/mklibs-native_0.1.34.bb
index f2c3033..eeb3136 100644
--- a/meta/recipes-devtools/mklibs/mklibs-native_0.1.34.bb
+++ b/meta/recipes-devtools/mklibs/mklibs-native_0.1.34.bb
@@ -5,7 +5,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=98d31037b13d896e33890738ef01af64"
 DEPENDS = "python-native"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://ftp.de.debian.org/debian/pool/main/m/mklibs/${BPN}_${PV}.tar.gz \
 	file://ac_init_fix.patch\
@@ -15,7 +15,7 @@ SRC_URI = "http://ftp.de.debian.org/debian/pool/main/m/mklibs/${BPN}_${PV}.tar.g
 SRC_URI[md5sum] = "afe0ed527ba96b8a882b5de350603007"
 SRC_URI[sha256sum] = "0c13c314f5c397529f58a5a02d57d83aeb4463d6a0d80b9374c6576ec37ed39f"
 
-inherit autotools gettext native
+inherit autotools gettext native pythonnative
 
 do_configure_prepend() {
 	sed "s+MKLIBS_VERSION+${PV}+" ${S}/configure.ac
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 14/20] gnome-doc-utils: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (12 preceding siblings ...)
  2012-07-13 13:55 ` [PATCH 13/20] mklibs-native: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 15/20] mesa-common: " Morgan Little
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-gnome/gnome/gnome-doc-utils.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 08333db..3c9a50d 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -2,7 +2,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0"
 DEPENDS_virtclass-native = "libxml2-native libxslt-native intltool-native glib-2.0-native"
 
-inherit gnome gettext python-dir
+inherit gnome gettext python-dir pythonnative
 
 EXTRA_OECONF += "--disable-scrollkeeper"
 
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 15/20] mesa-common: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (13 preceding siblings ...)
  2012-07-13 13:55 ` [PATCH 14/20] gnome-doc-utils: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 16/20] libxcb: " Morgan Little
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-graphics/mesa/mesa-common.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index f697e67..120a256 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -12,7 +12,7 @@ SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d"
 
-INC_PR = "r14"
+INC_PR = "r15"
 PE = "2"
 
 
@@ -26,7 +26,7 @@ PROVIDES = "virtual/libgl"
 # for mesa-dri and mesa-xlib
 FILESEXTRAPATHS_append := "${THISDIR}/mesa:"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig pythonnative
 
 EXTRA_OECONF = "--enable-glu \
                 --disable-glw \
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 16/20] libxcb: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (14 preceding siblings ...)
  2012-07-13 13:55 ` [PATCH 15/20] mesa-common: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 17/20] xcb-proto: " Morgan Little
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-graphics/xcb/libxcb.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/xcb/libxcb.inc b/meta/recipes-graphics/xcb/libxcb.inc
index d3a5044..1517f8a 100644
--- a/meta/recipes-graphics/xcb/libxcb.inc
+++ b/meta/recipes-graphics/xcb/libxcb.inc
@@ -49,7 +49,7 @@ FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*"
 FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*"
 FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig pythonnative
 
 # XCBPROTO_XCBINCLUDEDIR is setup based on `pkg-config --variable=xcbincludedir xcb-proto`
 # but the xcbincludedir variable doesn't point into the staging area, so it needs some
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 17/20] xcb-proto: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (15 preceding siblings ...)
  2012-07-13 13:55 ` [PATCH 16/20] libxcb: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 18/20] kernelshark: " Morgan Little
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-graphics/xcb/xcb-proto.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/xcb/xcb-proto.inc b/meta/recipes-graphics/xcb/xcb-proto.inc
index e93b1a2..feb9e4d 100644
--- a/meta/recipes-graphics/xcb/xcb-proto.inc
+++ b/meta/recipes-graphics/xcb/xcb-proto.inc
@@ -11,7 +11,7 @@ LICENSE = "MIT-X"
 
 SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig pythonnative
 
 PACKAGES += "python-xcbgen"
 
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 18/20] kernelshark: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (16 preceding siblings ...)
  2012-07-13 13:55 ` [PATCH 17/20] xcb-proto: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 19/20] trace-cmd: " Morgan Little
  2012-07-13 13:55 ` [PATCH 20/20] gobject-introspection: " Morgan Little
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb b/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb
index d18cb6a..21f4576 100644
--- a/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb
+++ b/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb
@@ -4,13 +4,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                     file://kernel-shark.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e"
 
 SRCREV = "7055ffd37beeb44714e86a4abc703f7e175a0db5"
-PR = "r1"
+PR = "r2"
 PV = "1.2+git${SRCPV}"
 
 DEPENDS = "gtk+"
 RDEPENDS_${PN} = "trace-cmd"
 
-inherit pkgconfig
+inherit pkgconfig pythonnative
 
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git \
            file://addldflags.patch \
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 19/20] trace-cmd: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (17 preceding siblings ...)
  2012-07-13 13:55 ` [PATCH 18/20] kernelshark: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  2012-07-13 13:55 ` [PATCH 20/20] gobject-introspection: " Morgan Little
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb
index 7f6f6cf..214d0f0 100644
--- a/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb
+++ b/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                     file://trace-input.c;beginline=5;endine=8;md5=c9c405aaf5cfc09582ec83cf6e83a020"
 
 SRCREV = "7055ffd37beeb44714e86a4abc703f7e175a0db5"
-PR = "r2"
+PR = "r3"
 PV = "1.2+git${SRCPV}"
 
-inherit pkgconfig
+inherit pkgconfig pythonnative
 
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git \
            file://addldflags.patch \
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 20/20] gobject-introspection: Update for python-native changes
  2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
                   ` (18 preceding siblings ...)
  2012-07-13 13:55 ` [PATCH 19/20] trace-cmd: " Morgan Little
@ 2012-07-13 13:55 ` Morgan Little
  19 siblings, 0 replies; 24+ messages in thread
From: Morgan Little @ 2012-07-13 13:55 UTC (permalink / raw)
  To: openembedded-core

Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../gnome/gobject-introspection_1.32.1.bb          |    2 +-
 .../gnome/gobject-introspection_git.bb             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gobject-introspection_1.32.1.bb b/meta/recipes-gnome/gnome/gobject-introspection_1.32.1.bb
index f51e83e..8e30df6 100644
--- a/meta/recipes-gnome/gnome/gobject-introspection_1.32.1.bb
+++ b/meta/recipes-gnome/gnome/gobject-introspection_1.32.1.bb
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=90d577535a3898e1ae5dbf0ae3509a8c \
                     file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7"
 
-inherit autotools
+inherit autotools pythonnative
 
 do_configure_prepend () {
         echo "EXTRA_DIST = " > ${S}/gtk-doc.make
diff --git a/meta/recipes-gnome/gnome/gobject-introspection_git.bb b/meta/recipes-gnome/gnome/gobject-introspection_git.bb
index 8352384..eb3b7e4 100644
--- a/meta/recipes-gnome/gnome/gobject-introspection_git.bb
+++ b/meta/recipes-gnome/gnome/gobject-introspection_git.bb
@@ -17,7 +17,7 @@ DEFAULT_PREFERENCE = "-1"
 
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools pythonnative
 
 BBCLASSEXTEND = "native"
 
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: [PATCH 01/20] python-native: Put binaries in seperate directory
  2012-07-13 13:54 ` [PATCH 01/20] python-native: Put binaries in seperate directory Morgan Little
@ 2012-07-15  3:06   ` Randy MacLeod
  0 siblings, 0 replies; 24+ messages in thread
From: Randy MacLeod @ 2012-07-15  3:06 UTC (permalink / raw)
  To: openembedded-core, Morgan Little

On 12-07-13 09:54 AM, Morgan Little wrote:
> Update python-native to install the binaries in the python-native directory,
> add pythonnative.bbclass to let recipes that need python-native use the
> binaries and update disutils access the new binaries.
>
> Signed-off-by: Morgan Little <morgan.little@windriver.com>
> ---
>   meta/classes/distutils.bbclass                     |   14 +++++++++-----
>   meta/classes/pythonnative.bbclass                  |    3 +++
>   .../recipes-devtools/python/python-native_2.7.3.bb |    9 ++++++---
>   3 files changed, 18 insertions(+), 8 deletions(-)
>   create mode 100644 meta/classes/pythonnative.bbclass
>
> diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
> index bcddf8d..f731257 100644
> --- a/meta/classes/distutils.bbclass
> +++ b/meta/classes/distutils.bbclass
> @@ -1,4 +1,4 @@
> -inherit distutils-base
> +inherit distutils-base pythonnative
>
>   DISTUTILS_BUILD_ARGS ?= ""
>   DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}"
> @@ -11,14 +11,14 @@ distutils_do_compile() {
>            STAGING_INCDIR=${STAGING_INCDIR} \
>            STAGING_LIBDIR=${STAGING_LIBDIR} \
>            BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
> -         ${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
> +         ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
>            bbfatal "python setup.py build_ext execution failed."
>   }
>
>   distutils_stage_headers() {
>           install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
>           BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
> -        ${STAGING_BINDIR_NATIVE}/python setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
> +        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
>           bbfatal "python setup.py install_headers execution failed."
>   }
>
> @@ -28,7 +28,7 @@ distutils_stage_all() {
>           install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
>           PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \
>           BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
> -        ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
> +        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
>           bbfatal "python setup.py install (stage) execution failed."
>   }
>
> @@ -38,7 +38,7 @@ distutils_do_install() {
>           STAGING_LIBDIR=${STAGING_LIBDIR} \
>           PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \
>           BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
> -        ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \
> +        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \
>           bbfatal "python setup.py install execution failed."
>
>           for i in `find ${D} -name "*.py"` ; do \
> @@ -65,6 +65,10 @@ distutils_do_install() {
>           if test -e ${D}${datadir}/share; then
>               mv -f ${D}${datadir}/share/* ${D}${datadir}/
>           fi
> +
> +        # These are generated files, on really slow systems the storage/speed trade off
> +        # might be worth it, but in general it isn't
> +        find ${D}${libdir}/${PYTHON_DIR}/site-packages -iname '*.pyo' -exec rm {} \;

It may be true that in general it's not worth keeping .pyo files but
it's should be done as a separate commit. Also, if people agree that
we don't need those files, can we avoid generating them to begin with?

The rest of the commits look fine to me.

// Randy


>   }
>
>   EXPORT_FUNCTIONS do_compile do_install
> diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass
> new file mode 100644
> index 0000000..bc346da
> --- /dev/null
> +++ b/meta/classes/pythonnative.bbclass
> @@ -0,0 +1,3 @@
> +PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
> +PATH_prepend = "${STAGING_BINDIR_NATIVE}/python-native:"
> +DEPENDS += " python-native "
> diff --git a/meta/recipes-devtools/python/python-native_2.7.3.bb b/meta/recipes-devtools/python/python-native_2.7.3.bb
> index 50bf894..a4cbdcd 100644
> --- a/meta/recipes-devtools/python/python-native_2.7.3.bb
> +++ b/meta/recipes-devtools/python/python-native_2.7.3.bb
> @@ -1,6 +1,6 @@
>   require python.inc
>   DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native"
> -PR = "${INC_PR}.0"
> +PR = "${INC_PR}.1"
>
>   SRC_URI += "file://04-default-is-optimized.patch \
>              file://05-enable-ctypes-cross-build.patch \
> @@ -20,6 +20,8 @@ inherit native
>
>   RPROVIDES += "python-distutils-native python-compression-native python-textutils-native python-core-native"
>
> +EXTRA_OECONF += " --bindir=${bindir}/${PN}"
> +
>   EXTRA_OEMAKE = '\
>     BUILD_SYS="" \
>     HOST_SYS="" \
> @@ -35,10 +37,11 @@ do_configure_prepend() {
>   do_install() {
>   	oe_runmake 'DESTDIR=${D}' install
>   	install -d ${D}${bindir}/
> -	install -m 0755 Parser/pgen ${D}${bindir}/
> +	install -d ${D}${bindir}/${PN}
> +	install -m 0755 Parser/pgen ${D}${bindir}/${PN}
>
>   	# Make sure we use /usr/bin/env python
> -	for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do
> +	for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do
>   		sed -i -e '1s|^#!.*|#!/usr/bin/env python|' $PYTHSCRIPT
>   	done
>   }
>


-- 
# Randy MacLeod. MTS, Linux, Wind River
Direct: 613.963.1350





^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 09/20] python-setuptools: Update for python-native changes
  2012-07-13 13:54 ` [PATCH 09/20] python-setuptools: " Morgan Little
@ 2012-07-16  8:50   ` Richard Purdie
  2012-07-18 20:07     ` Little, Morgan
  0 siblings, 1 reply; 24+ messages in thread
From: Richard Purdie @ 2012-07-16  8:50 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2012-07-13 at 09:54 -0400, Morgan Little wrote:
> Add pythonnative to the inherits list
> 
> Signed-off-by: Morgan Little <morgan.little@windriver.com>
> ---
>  .../python/python-setuptools_0.6c11.bb             |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
> index a769714..dbbc4dc 100644
> --- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
> +++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
> @@ -5,7 +5,7 @@ LICENSE = "PSF"
>  LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e"
>  
>  SRCNAME = "setuptools"
> -PR = "ml4"
> +PR = "ml3"
>  DEPENDS += "python"
>  DEPENDS_virtclass-native += "python-native"
>  
> @@ -14,7 +14,7 @@ SRC_URI = "\
>  "
>  S = "${WORKDIR}/${SRCNAME}-${PV}"
>  
> -inherit distutils
> +inherit distutils pythonnative

Rather than do this with every user of distutils, would it make sense to
inherit pythonnative in the distutils class? Is there a case we wouldn't
want that inherit?

Cheers,

Richard





^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 09/20] python-setuptools: Update for python-native changes
  2012-07-16  8:50   ` Richard Purdie
@ 2012-07-18 20:07     ` Little, Morgan
  0 siblings, 0 replies; 24+ messages in thread
From: Little, Morgan @ 2012-07-18 20:07 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 12-07-16 04:50 AM, Richard Purdie wrote:
> On Fri, 2012-07-13 at 09:54 -0400, Morgan Little wrote:
>> Add pythonnative to the inherits list
>>
>> Signed-off-by: Morgan Little <morgan.little@windriver.com>
>> ---
>>  .../python/python-setuptools_0.6c11.bb             |    4 ++--
>>  1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
>> index a769714..dbbc4dc 100644
>> --- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
>> +++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
>> @@ -5,7 +5,7 @@ LICENSE = "PSF"
>>  LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e"
>>  
>>  SRCNAME = "setuptools"
>> -PR = "ml4"
>> +PR = "ml3"
>>  DEPENDS += "python"
>>  DEPENDS_virtclass-native += "python-native"
>>  
>> @@ -14,7 +14,7 @@ SRC_URI = "\
>>  "
>>  S = "${WORKDIR}/${SRCNAME}-${PV}"
>>  
>> -inherit distutils
>> +inherit distutils pythonnative
>
> Rather than do this with every user of distutils, would it make sense to
> inherit pythonnative in the distutils class? Is there a case we wouldn't
> want that inherit?
>
> Cheers,
>
> Richard
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

It does make sense. That was a small carry over from when I was going through and fixing issues as they came up.

I've made some changes to distutils and distutils-base and found another recipe that needed to be changed so I'll send a V2 today as long as everything builds without errors.

//Morgan




^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2012-07-18 20:18 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-13 13:54 [PATCH 00/20] Change python-native path Morgan Little
2012-07-13 13:54 ` [PATCH 01/20] python-native: Put binaries in seperate directory Morgan Little
2012-07-15  3:06   ` Randy MacLeod
2012-07-13 13:54 ` [PATCH 02/20] python: Update for python-native changes Morgan Little
2012-07-13 13:54 ` [PATCH 03/20] python-dbus: " Morgan Little
2012-07-13 13:54 ` [PATCH 04/20] python-gst: " Morgan Little
2012-07-13 13:54 ` [PATCH 05/20] python-pygobject: " Morgan Little
2012-07-13 13:54 ` [PATCH 06/20] python-pygtk: " Morgan Little
2012-07-13 13:54 ` [PATCH 07/20] python-pyrex-native:Update " Morgan Little
2012-07-13 13:54 ` [PATCH 08/20] python-scons-native: Update " Morgan Little
2012-07-13 13:54 ` [PATCH 09/20] python-setuptools: " Morgan Little
2012-07-16  8:50   ` Richard Purdie
2012-07-18 20:07     ` Little, Morgan
2012-07-13 13:54 ` [PATCH 10/20] telepathy-glib: " Morgan Little
2012-07-13 13:55 ` [PATCH 11/20] telepathy-python: " Morgan Little
2012-07-13 13:55 ` [PATCH 12/20] libxml2: " Morgan Little
2012-07-13 13:55 ` [PATCH 13/20] mklibs-native: " Morgan Little
2012-07-13 13:55 ` [PATCH 14/20] gnome-doc-utils: " Morgan Little
2012-07-13 13:55 ` [PATCH 15/20] mesa-common: " Morgan Little
2012-07-13 13:55 ` [PATCH 16/20] libxcb: " Morgan Little
2012-07-13 13:55 ` [PATCH 17/20] xcb-proto: " Morgan Little
2012-07-13 13:55 ` [PATCH 18/20] kernelshark: " Morgan Little
2012-07-13 13:55 ` [PATCH 19/20] trace-cmd: " Morgan Little
2012-07-13 13:55 ` [PATCH 20/20] gobject-introspection: " Morgan Little

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.