summaryrefslogtreecommitdiffstats
path: root/devel/py-twisted
diff options
context:
space:
mode:
authorwjv <wjv@FreeBSD.org>2001-08-17 15:18:14 +0000
committerwjv <wjv@FreeBSD.org>2001-08-17 15:18:14 +0000
commit473c50609e744ddd8d361efccdf7f8bc4f23abdf (patch)
tree23e7d846944149e19c91891b89e9a5429a421ac1 /devel/py-twisted
parenteba66a6cfa6eb0421d79432b80d0ba2bd168e783 (diff)
downloadFreeBSD-ports-473c50609e744ddd8d361efccdf7f8bc4f23abdf.zip
FreeBSD-ports-473c50609e744ddd8d361efccdf7f8bc4f23abdf.tar.gz
- Patch source files to enable the usage of py-unit (which is installed as a
run-time dependency) instead of the bundled copy of py-unit (which isn't installed at all).
Diffstat (limited to 'devel/py-twisted')
-rw-r--r--devel/py-twisted/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile
index d2d7fe8..ae63ac2 100644
--- a/devel/py-twisted/Makefile
+++ b/devel/py-twisted/Makefile
@@ -24,6 +24,10 @@ EXAMPLESDIR= ${PREFIX}/share/examples/twisted
MAN1= faucet.1 gnusto.1 im.1 mktap.1 twistd.1
+post-patch:
+ @ ${PERL} -pi.orig -e 's/from pyunit import/import/g' \
+ ${WRKSRC}/bin/runtests ${WRKSRC}/twisted/test/*.py
+
do-build:
@ cd ${WRKSRC} && ${PYTHON_CMD} setup.py build
OpenPOWER on IntegriCloud