diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2006-07-15 08:37:00 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2006-07-15 08:37:00 +0000 |
commit | a7f0998653030b0238740e9afdc6b169b13ddbcb (patch) | |
tree | f9d24dc152498c7d8997e9587917457446f714c7 /devel/py-twistedFlow | |
parent | e0d879d0fe47bcd20c1c1daea52d1c9941559c5e (diff) | |
download | ports-a7f0998653030b0238740e9afdc6b169b13ddbcb.tar.gz ports-a7f0998653030b0238740e9afdc6b169b13ddbcb.zip |
Notes
Diffstat (limited to 'devel/py-twistedFlow')
-rw-r--r-- | devel/py-twistedFlow/Makefile | 7 | ||||
-rw-r--r-- | devel/py-twistedFlow/pkg-plist | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/devel/py-twistedFlow/Makefile b/devel/py-twistedFlow/Makefile index 649cb60d50b8..406d696104fb 100644 --- a/devel/py-twistedFlow/Makefile +++ b/devel/py-twistedFlow/Makefile @@ -7,7 +7,7 @@ PORTNAME= twistedFlow PORTVERSION= 0.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= http://twistedmatrix.com/downloads/Flow/0.1/ \ http://tmrc.mit.edu/mirror/twisted/Flow/0.1/ @@ -28,4 +28,9 @@ USE_PYDISTUTILS= yes PLIST_SUB+= S=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} +post-extract: + # temporal hack to work with Twisted 2.4 + ${ECHO_CMD} "from twisted.python import versions" > ${WRKSRC}/twisted/flow/_version.py + ${ECHO_CMD} "version = versions.Version(__name__[:__name__.rfind('.')], 0, 1, 0)" >> ${WRKSRC}/twisted/flow/_version.py + .include <bsd.port.mk> diff --git a/devel/py-twistedFlow/pkg-plist b/devel/py-twistedFlow/pkg-plist index 4bdc393a7dcd..5a28af5c3ad2 100644 --- a/devel/py-twistedFlow/pkg-plist +++ b/devel/py-twistedFlow/pkg-plist @@ -1,6 +1,9 @@ %%S%%/twisted/flow/__init__.py %%S%%/twisted/flow/__init__.pyc %%S%%/twisted/flow/__init__.pyo +%%S%%/twisted/flow/_version.py +%%S%%/twisted/flow/_version.pyc +%%S%%/twisted/flow/_version.pyo %%S%%/twisted/flow/base.py %%S%%/twisted/flow/base.pyc %%S%%/twisted/flow/base.pyo |