diff options
Diffstat (limited to 'devel/py-twisted')
-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 |