Skip to contentSkip to conversation

python-setuptools: Version bump to 0.6c11

PATCH In review Michael Lippautz 3 participants 4 messages Feb 22, 2010 – Mar 27, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-setuptools: Version bump to 0.6c11

* Adds python module 'pkg_resources'.

---
 .../python-setuptools/fix-log-usage-0.6c11.patch   |   18 ++++++++++++++++
 recipes/python/python-setuptools_0.6c11.bb         |   22 ++++++++++++++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)
 create mode 100644 recipes/python/python-setuptools/fix-log-usage-0.6c11.patch
 create mode 100644 recipes/python/python-setuptools_0.6c11.bb
recipes/python/python-setuptools/fix-log-usage-0.6c11.patch new file +18 -0
new file mode 100644
index 0000000..b860700
@@ -0,0 +1,18 @@
+--- a/setuptools/command/sdist.py	2010-02-22 14:57:56.000000000 +0100
++++ b/setuptools/command/sdist.py	2010-02-22 14:57:31.000000000 +0100
+@@ -1,6 +1,5 @@
+ from distutils.command.sdist import sdist as _sdist
+ from distutils.util import convert_path
+-from distutils import log
+ from glob import glob
+ import os, re, sys, pkg_resources
+ 
+@@ -94,7 +93,7 @@
+         try: svnver = int(data.splitlines()[0])
+         except: pass
+         if svnver<8:
+-            log.warn("unrecognized .svn/entries format in %s", dirname)
++            print("unrecognized .svn/entries format in %s", dirname)
+             return           
+         for record in map(str.splitlines, data.split('\n\x0c\n')[1:]):
+             if not record or len(record)>=6 and record[5]=="delete":
recipes/python/python-setuptools_0.6c11.bb new file +22 -0
new file mode 100644
index 0000000..bccafa4
@@ -0,0 +1,22 @@
+DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages"
+HOMEPAGE = "http://cheeseshop.python.org/pypi/setuptools"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "MIT"
+DEPENDS_${PN}-native = "python-native"
+RDEPENDS_${PN} = "python-distutils python-compression"
+PR = "ml3"
+
+SRC_URI = "\
+  http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz;name=setuptools \
+  file://fix-log-usage-0.6c11.patch;patch=1 \
+"
+SRC_URI[setuptools.md5sum] = "7df2a529a074f613b509fb44feefe74e"
+SRC_URI[setuptools.sha256sum] = "630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3"
+
+SRCNAME = "setuptools"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.6.4.4
#1 lore raw

Hello.

Mickey, do you have a moment to review and comment on this python related patch?

regards
Stefan Schmidt

Quoted 70 lines · Michael Lippautz

* Adds python module 'pkg_resources'.

---
 .../python-setuptools/fix-log-usage-0.6c11.patch   |   18 ++++++++++++++++
 recipes/python/python-setuptools_0.6c11.bb         |   22 ++++++++++++++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)
 create mode 100644 recipes/python/python-setuptools/fix-log-usage-0.6c11.patch
 create mode 100644 recipes/python/python-setuptools_0.6c11.bb
recipes/python/python-setuptools/fix-log-usage-0.6c11.patch new file +18 -0
new file mode 100644
index 0000000..b860700
@@ -0,0 +1,18 @@
+--- a/setuptools/command/sdist.py	2010-02-22 14:57:56.000000000 +0100
++++ b/setuptools/command/sdist.py	2010-02-22 14:57:31.000000000 +0100
+@@ -1,6 +1,5 @@
+ from distutils.command.sdist import sdist as _sdist
+ from distutils.util import convert_path
+-from distutils import log
+ from glob import glob
+ import os, re, sys, pkg_resources
+ 
+@@ -94,7 +93,7 @@
+         try: svnver = int(data.splitlines()[0])
+         except: pass
+         if svnver<8:
+-            log.warn("unrecognized .svn/entries format in %s", dirname)
++            print("unrecognized .svn/entries format in %s", dirname)
+             return           
+         for record in map(str.splitlines, data.split('\n\x0c\n')[1:]):
+             if not record or len(record)>=6 and record[5]=="delete":
recipes/python/python-setuptools_0.6c11.bb new file +22 -0
new file mode 100644
index 0000000..bccafa4
@@ -0,0 +1,22 @@
+DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages"
+HOMEPAGE = "http://cheeseshop.python.org/pypi/setuptools"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "MIT"
+DEPENDS_${PN}-native = "python-native"
+RDEPENDS_${PN} = "python-distutils python-compression"
+PR = "ml3"
+
+SRC_URI = "\
+  http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz;name=setuptools \
+  file://fix-log-usage-0.6c11.patch;patch=1 \
+"
+SRC_URI[setuptools.md5sum] = "7df2a529a074f613b509fb44feefe74e"
+SRC_URI[setuptools.sha256sum] = "630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3"
+
+SRCNAME = "setuptools"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+BBCLASSEXTEND = "native"
Signature · 7 lines
1.6.4.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Acked-by Michael 'Mickey' Lauer
#2 lore raw

Cheers,

:M:

Am 26.03.2010 um 22:57 schrieb Stefan Schmidt <[email protected]>:

Quoted 94 lines

Hello.

Mickey, do you have a moment to review and comment on this python related patch?

regards
Stefan Schmidt

Quoted 81 lines · Michael Lippautz

* Adds python module 'pkg_resources'.

---
.../python-setuptools/fix-log-usage-0.6c11.patch | 18 ++++++++++
++++++
recipes/python/python-setuptools_0.6c11.bb | 22 ++++++++++
++++++++++

2 files changed, 40 insertions(+), 0 deletions(-)

create mode 100644 recipes/python/python-setuptools/fix-log-usage-0.6c11.patch create mode 100644 recipes/python/python-setuptools_0.6c11.bb

recipes/python/python-setuptools/fix-log-usage-0.6c11.patch new file +16 -0
new file mode 100644
index 0000000..b860700
@@ -0,0 +1,18 @@
+--- a/setuptools/command/sdist.py    2010-02-22 14:57:56.000000000  
+0100
++++ b/setuptools/command/sdist.py    2010-02-22 14:57:31.000000000  
+0100
+@@ -1,6 +1,5 @@
+ from distutils.command.sdist import sdist as _sdist
+ from distutils.util import convert_path
+-from distutils import log
+ from glob import glob
+ import os, re, sys, pkg_resources
+
+@@ -94,7 +93,7 @@
+         try: svnver = int(data.splitlines()[0])
+         except: pass
+         if svnver<8:
+-            log.warn("unrecognized .svn/entries format in %s",  

dirname)
++ print("unrecognized .svn/entries format in %s",
dirname)

recipes/python/python-setuptools/fix-log-usage-0.6c11.patch new file +2 -0
+             return
+         for record in map(str.splitlines, data.split('\n\x0c\n') 

[1:]):
+ if not record or len(record)>=6 and record[5]
=="delete":

recipes/python/python-setuptools_0.6c11.bb new file +1 -0
new file mode 100644
index 0000000..bccafa4
@@ -0,0 +1,22 @@
+DESCRIPTION = "Download, build, install, upgrade, and uninstall  

Python packages"

recipes/python/python-setuptools_0.6c11.bb new file +14 -0
+HOMEPAGE = "http://cheeseshop.python.org/pypi/setuptools"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "MIT"
+DEPENDS_${PN}-native = "python-native"
+RDEPENDS_${PN} = "python-distutils python-compression"
+PR = "ml3"
+
+SRC_URI = "\
+  http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz;name=setuptools 
 \
+  file://fix-log-usage-0.6c11.patch;patch=1 \
+"
+SRC_URI[setuptools.md5sum] = "7df2a529a074f613b509fb44feefe74e"
+SRC_URI[setuptools.sha256sum] =  

"630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3"

recipes/python/python-setuptools_0.6c11.bb new file +7 -0
+
+SRCNAME = "setuptools"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+BBCLASSEXTEND = "native"
Signature · 7 lines
1.6.4.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
In reply to Michael Lippautz

Hello.

Quoted 1 line · Michael Lippautz

* Adds python module 'pkg_resources'.

I was going to apply this, but it fails during patching:

NOTE: Running task 725 of 737 (ID: 1, /home/stefan/Projekte/OpenEmbedded/build/openmoko/openembedded/recipes/python/python-setuptools_0.6c11.bb, do_patch)
NOTE: Applying patch 'fix-log-usage-0.6c11.patch' (openembedded/recipes/python/python-setuptools/fix-log-usage-0.6c11.patch)
ERROR: Error in executing:
/home/stefan/Projekte/OpenEmbedded/build/openmoko/openembedded/recipes/python/python-setuptools_0.6c11.bb
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
Output:
Applying patch fix-log-usage-0.6c11.patch
patching file setuptools/command/sdist.py
Hunk #2 FAILED at 93.
1 out of 2 hunks FAILED -- rejects in file setuptools/command/sdist.py
Patch fix-log-usage-0.6c11.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Error in executing:
/home/stefan/Projekte/OpenEmbedded/build/openmoko/openembedded/recipes/python/python-setuptools_0.6c11.bb
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
Output:
Applying patch fix-log-usage-0.6c11.patch
patching file setuptools/command/sdist.py
Hunk #2 FAILED at 93.
1 out of 2 hunks FAILED -- rejects in file setuptools/command/sdist.py
Patch fix-log-usage-0.6c11.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Error in executing:
/home/stefan/Projekte/OpenEmbedded/build/openmoko/openembedded/recipes/python/python-setuptools_0.6c11.bb
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
Output:
Applying patch fix-log-usage-0.6c11.patch
patching file setuptools/command/sdist.py
Hunk #2 FAILED at 93.
1 out of 2 hunks FAILED -- rejects in file setuptools/command/sdist.py
Patch fix-log-usage-0.6c11.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Build of /home/stefan/Projekte/OpenEmbedded/build/openmoko/openembedded/recipes/python/python-setuptools_0.6c11.bb do_patch failed

Would be great if you could fix this and resend. Thanks.

regards
Stefan Schmidt