[oe-commits] org.oe.dev python-setuptools[-native] 0.6c8 fix log usage bug

mickeyl commit oe at amethyst.openembedded.net
Thu Jul 24 09:01:16 UTC 2008


python-setuptools[-native] 0.6c8 fix log usage bug

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 16286a015e02dffbcbc2f42586e7402f16dba818
ViewMTN: http://monotone.openembedded.org/revision/info/16286a015e02dffbcbc2f42586e7402f16dba818
Files:
1
packages/python/python-setuptools
packages/python/python-setuptools/fix-log-usage.patch
packages/python/python-setuptools-native_0.6c8.bb
packages/python/python-setuptools_0.6c8.bb
Diffs:

#
# mt diff -r87bf384fc6b31f73e5ad8bbd29b113adcc5cd9e0 -r16286a015e02dffbcbc2f42586e7402f16dba818
#
#
#
# add_dir "packages/python/python-setuptools"
# 
# add_file "packages/python/python-setuptools/fix-log-usage.patch"
#  content [1ee527f30af93cafced84bcc0d71b52bf1c1f1fd]
# 
# patch "packages/python/python-setuptools-native_0.6c8.bb"
#  from [98f58e21bf03997cb61c8459da61b888c73364f9]
#    to [f5d6011427a630faa2fa13103a2503e98045d9ea]
# 
# patch "packages/python/python-setuptools_0.6c8.bb"
#  from [122ed3dd626cef08ab8b57defb23846772fdaa38]
#    to [ed9de0fbcfd567e9243041f0ccaa8e7893a9c7f7]
#
============================================================
--- packages/python/python-setuptools/fix-log-usage.patch	1ee527f30af93cafced84bcc0d71b52bf1c1f1fd
+++ packages/python/python-setuptools/fix-log-usage.patch	1ee527f30af93cafced84bcc0d71b52bf1c1f1fd
@@ -0,0 +1,13 @@
+Index: setuptools-0.6c8/setuptools/command/sdist.py
+===================================================================
+--- setuptools-0.6c8.orig/setuptools/command/sdist.py
++++ setuptools-0.6c8/setuptools/command/sdist.py
+@@ -95,7 +95,7 @@ def entries_finder(dirname, filename):
+         for match in entries_pattern.finditer(data):
+             yield joinpath(dirname,unescape(match.group(1)))
+     else:
+-        log.warn("unrecognized .svn/entries format in %s", dirname)
++        print ("unrecognized .svn/entries format in %s", dirname)
+ 
+ 
+ finders = [
============================================================
--- packages/python/python-setuptools-native_0.6c8.bb	98f58e21bf03997cb61c8459da61b888c73364f9
+++ packages/python/python-setuptools-native_0.6c8.bb	f5d6011427a630faa2fa13103a2503e98045d9ea
@@ -1,9 +1,9 @@ inherit native
 require python-setuptools_${PV}.bb
 inherit native
 
+FILESPATH = "${FILE_DIRNAME}/python-setuptools"
 DEPENDS = "python-native"
 
 do_stage() {
-    BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-      ${STAGING_BINDIR_NATIVE}/python setup.py install
+	distutils_stage_all
 }
============================================================
--- packages/python/python-setuptools_0.6c8.bb	122ed3dd626cef08ab8b57defb23846772fdaa38
+++ packages/python/python-setuptools_0.6c8.bb	ed9de0fbcfd567e9243041f0ccaa8e7893a9c7f7
@@ -5,9 +5,12 @@ SRCNAME = "setuptools"
 LICENSE = "MIT-like"
 RDEPENDS = "python-distutils python-compression"
 SRCNAME = "setuptools"
-PR = "ml0"
+PR = "ml1"
 
-SRC_URI = "http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "\
+  http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz\
+  file://fix-log-usage.patch;patch=1 \
+"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils






More information about the Openembedded-commits mailing list