diff options
author | perky <perky@FreeBSD.org> | 2007-10-29 09:07:07 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2007-10-29 09:07:07 +0800 |
commit | 8b0d8c73503ca36bd03a34c1a06d175c15a568cc (patch) | |
tree | 717b42f702f79c5bfc1f40e2474df935c27b8c2c | |
parent | 96bed0a1874c960aab10969ab1c32e4f7cd5f660 (diff) | |
download | freebsd-ports-gnome-8b0d8c73503ca36bd03a34c1a06d175c15a568cc.tar.gz freebsd-ports-gnome-8b0d8c73503ca36bd03a34c1a06d175c15a568cc.tar.zst freebsd-ports-gnome-8b0d8c73503ca36bd03a34c1a06d175c15a568cc.zip |
Add a workaround to remove setuptool's erroneous workaround for
pyrex support.
-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", |