mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add a workaround to remove setuptool's erroneous workaround for
pyrex support.
This commit is contained in:
parent
7858d9fbc7
commit
a8ef62c107
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202253
15
devel/py-rbtree/files/patch-setup.py
Normal file
15
devel/py-rbtree/files/patch-setup.py
Normal file
@ -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",
|
Loading…
Reference in New Issue
Block a user