summaryrefslogtreecommitdiff
path: root/recipes/python/python-logilab-common/fix-future-in-setup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/python/python-logilab-common/fix-future-in-setup.patch')
-rw-r--r--recipes/python/python-logilab-common/fix-future-in-setup.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/python/python-logilab-common/fix-future-in-setup.patch b/recipes/python/python-logilab-common/fix-future-in-setup.patch
new file mode 100644
index 0000000000..1abde49bef
--- /dev/null
+++ b/recipes/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