summaryrefslogtreecommitdiff
path: root/packages/python
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python')
-rw-r--r--packages/python/python-logilab-common/.mtn2git_empty0
-rw-r--r--packages/python/python-logilab-common/fix-future-in-setup.patch16
-rw-r--r--packages/python/python-logilab-common_0.9.3.bb (renamed from packages/python/python-logilab_0.4.4.bb)4
3 files changed, 19 insertions, 1 deletions
diff --git a/packages/python/python-logilab-common/.mtn2git_empty b/packages/python/python-logilab-common/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/python/python-logilab-common/.mtn2git_empty
diff --git a/packages/python/python-logilab-common/fix-future-in-setup.patch b/packages/python/python-logilab-common/fix-future-in-setup.patch
new file mode 100644
index 0000000000..1abde49bef
--- /dev/null
+++ b/packages/python/python-logilab-common/fix-future-in-setup.patch
@@ -0,0 +1,16 @@
+Index: common-0.9.3/setup.py
+===================================================================
+--- common-0.9.3.orig/setup.py
++++ common-0.9.3/setup.py
+@@ -17,9 +17,10 @@
+ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ """ Generic Setup script, takes package info from __pkginfo__.py file """
+
++from __future__ import nested_scopes
++
+ __revision__ = '$Id: setup.py,v 1.23 2004/05/27 12:07:23 syt Exp $'
+
+-from __future__ import nested_scopes
+ import os
+ import sys
+ import shutil
diff --git a/packages/python/python-logilab_0.4.4.bb b/packages/python/python-logilab-common_0.9.3.bb
index dd2599c720..87c9a25f53 100644
--- a/packages/python/python-logilab_0.4.4.bb
+++ b/packages/python/python-logilab-common_0.9.3.bb
@@ -7,8 +7,10 @@ SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "GPL"
SRCNAME = "common"
+PR = "ml0"
-SRC_URI = "ftp://ftp.logilab.fr/pub/common/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "ftp://ftp.logilab.fr/pub/common/${SRCNAME}-${PV}.tar.gz \
+ file://fix-future-in-setup.patch;patch=1"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils