summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-03-31 11:16:03 +0000
committerAli Polatel <hawking@gentoo.org>2008-03-31 11:16:03 +0000
commite2a6f1f3ac7b7cad3d6fb9cda0267686feb5b7b5 (patch)
tree21bd83573e036d9b7052cf9bdf29a35a30c59085 /dev-python/lxml/files
parentAdd 171.05. (diff)
downloadgentoo-2-e2a6f1f3ac7b7cad3d6fb9cda0267686feb5b7b5.tar.gz
gentoo-2-e2a6f1f3ac7b7cad3d6fb9cda0267686feb5b7b5.tar.bz2
gentoo-2-e2a6f1f3ac7b7cad3d6fb9cda0267686feb5b7b5.zip
Version bump, use cython instead of bundled pyrex.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python/lxml/files')
-rw-r--r--dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch b/dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch
new file mode 100644
index 000000000000..5e11a05003f5
--- /dev/null
+++ b/dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch
@@ -0,0 +1,24 @@
+--- setup.py.orig 2008-03-31 13:54:39.865024409 +0300
++++ setup.py 2008-03-31 14:02:10.318035107 +0300
+@@ -4,10 +4,9 @@
+
+ try:
+ import Cython
+- # may need to work around setuptools bug by providing a fake Pyrex
+- sys.path.insert(0, os.path.join(os.path.dirname(__file__), "fake_pyrex"))
+ except ImportError:
+- pass
++ print >>sys.stderr, "lxml requires cython-0.9.6.10 or later."
++ sys.exit(1)
+
+ try:
+ import pkg_resources
+@@ -16,7 +15,7 @@
+ except pkg_resources.VersionConflict:
+ from ez_setup import use_setuptools
+ use_setuptools(version="0.6c5")
+- #pkg_resources.require("Cython==0.9.6.10")
++ pkg_resources.require("Cython>=0.9.6.10")
+ from setuptools import setup
+ extra_options["zip_safe"] = False
+ except ImportError: