[oe-commits] Richard Purdie : package.bbclass: Drop python depends from rpmdeps

git at git.openembedded.org git at git.openembedded.org
Sun Mar 11 18:30:46 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 5c8ad2638baac0501cecf38f8d3e8467d56afb8a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5c8ad2638baac0501cecf38f8d3e8467d56afb8a

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sun Mar 11 18:26:15 2012 +0000

package.bbclass: Drop python depends from rpmdeps

This python depends is added by rpmdeps every time it finds a python
script. This is not necessary since we handle this in otherways. It
also breaks things like nativesdk since the dependency is not renamed.
The easiest solution is just to ignore this dependency.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/package.bbclass                 |    2 ++
 meta/recipes-devtools/python/python_2.7.2.bb |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index e8c4497..9b6862d 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1185,6 +1185,8 @@ python package_do_filedeps() {
 
 			if value.startswith("rpmlib("):
 				continue
+			if value == "python":
+				continue
 			if file not in i:
 				i[file] = []
 			i[file].append(value)
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
index 2b18c53..eb3965e 100644
--- a/meta/recipes-devtools/python/python_2.7.2.bb
+++ b/meta/recipes-devtools/python/python_2.7.2.bb
@@ -1,7 +1,7 @@
 require python.inc
 DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib"
 DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
-PR = "${INC_PR}.6"
+PR = "${INC_PR}.7"
 
 DISTRO_SRC_URI ?= "file://sitecustomize.py"
 DISTRO_SRC_URI_linuxstdbase = ""





More information about the Openembedded-commits mailing list