diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2007-10-29 01:07:07 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2007-10-29 01:07:07 +0000 |
commit | a8ef62c107e892dd5320aee62cb8b21fc83b9d65 (patch) | |
tree | fa3e5b2d2d5b55a3b995432afa36419fff43695c /devel/py-rbtree | |
parent | 7858d9fbc7d17b1935f5d78380c4fb6a5b6ae045 (diff) | |
download | ports-a8ef62c107e892dd5320aee62cb8b21fc83b9d65.tar.gz ports-a8ef62c107e892dd5320aee62cb8b21fc83b9d65.zip |
Add a workaround to remove setuptool's erroneous workaround for
pyrex support.
Notes
Notes:
svn path=/head/; revision=202253
Diffstat (limited to 'devel/py-rbtree')
-rw-r--r-- | devel/py-rbtree/files/patch-setup.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/py-rbtree/files/patch-setup.py b/devel/py-rbtree/files/patch-setup.py new file mode 100644 index 000000000000..f1aeae64c5cf --- /dev/null +++ b/devel/py-rbtree/files/patch-setup.py @@ -0,0 +1,15 @@ +--- setup.py.orig 2007-10-29 09:59:28.000000000 +0900 ++++ setup.py 2007-10-29 10:01:54.000000000 +0900 +@@ -1,6 +1,12 @@ + from setuptools import setup, find_packages + from setuptools.extension import Extension + ++# workaround to avoid erroneous workaround on setuptools ++import sys ++if sys.hexversion >= 0x2050000: ++ from setuptools.command import build_ext ++ del build_ext.build_ext.swig_sources ++ + setup( + name="rbtree", + version="0.8.0", |