summaryrefslogtreecommitdiff
path: root/dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-04-24 18:05:20 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-04-24 18:05:20 +0200
commit6c3d020ef58848c5cd4e1892a0cef85070d8c961 (patch)
tree8502c8743651ae512bb7a2005678e0875539e042 /dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch
parentaa389a9c1e7662cc7b123aa65a03889120612f16 (diff)
downloadoverlay-6c3d020ef58848c5cd4e1892a0cef85070d8c961.tar.gz
overlay-6c3d020ef58848c5cd4e1892a0cef85070d8c961.tar.bz2
overlay-6c3d020ef58848c5cd4e1892a0cef85070d8c961.zip
Some lxml stuff
Diffstat (limited to '')
-rw-r--r--dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch15
1 files changed, 15 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 0000000..9042ae6
--- /dev/null
+++ b/dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch
@@ -0,0 +1,15 @@
+--- setup.py 2008-04-07 15:10:32.989740409 +0300
++++ setup.py 2008-04-07 15:11:13.897709903 +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