diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2001-08-17 15:18:14 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2001-08-17 15:18:14 +0000 |
commit | 9bd9d66a127661d968b88795cfde677a39229f5b (patch) | |
tree | eee112f71d5e4c767336b688316448891bb8bcc3 /devel | |
parent | Update to version 0.12 (diff) |
- 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).
Notes
Notes:
svn path=/head/; revision=46377
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-twisted/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile index d2d7fe84c6ff..ae63ac25cffa 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 |