diff options
author | perky <perky@FreeBSD.org> | 2006-07-15 16:37:00 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2006-07-15 16:37:00 +0800 |
commit | 77b2e8299ce71d716886dc8f2b0981cc83692de6 (patch) | |
tree | 513c5099073ed6e3e1e90cd205dedbe1366afd21 /net | |
parent | f7cccc79b6680b05ba3fc62bd139cc1266e9cfc6 (diff) | |
download | freebsd-ports-graphics-77b2e8299ce71d716886dc8f2b0981cc83692de6.tar.gz freebsd-ports-graphics-77b2e8299ce71d716886dc8f2b0981cc83692de6.tar.zst freebsd-ports-graphics-77b2e8299ce71d716886dc8f2b0981cc83692de6.zip |
Fix build with Twisted 2.4.
Spotted by: linimon
Diffstat (limited to 'net')
-rw-r--r-- | net/py-twistedPair/Makefile | 7 | ||||
-rw-r--r-- | net/py-twistedPair/pkg-plist | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/net/py-twistedPair/Makefile b/net/py-twistedPair/Makefile index 5e8de0618be..39aa58dc9ac 100644 --- a/net/py-twistedPair/Makefile +++ b/net/py-twistedPair/Makefile @@ -7,7 +7,7 @@ PORTNAME= twistedPair PORTVERSION= 0.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net devel python MASTER_SITES= http://twistedmatrix.com/downloads/Pair/0.1/ \ http://tmrc.mit.edu/mirror/twisted/Pair/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/pair/_version.py + ${ECHO_CMD} "version = versions.Version(__name__[:__name__.rfind('.')], 0, 1, 0)" >> ${WRKSRC}/twisted/pair/_version.py + .include <bsd.port.mk> diff --git a/net/py-twistedPair/pkg-plist b/net/py-twistedPair/pkg-plist index cfe554dd6c6..112a5730b52 100644 --- a/net/py-twistedPair/pkg-plist +++ b/net/py-twistedPair/pkg-plist @@ -1,6 +1,9 @@ %%S%%/twisted/pair/__init__.py %%S%%/twisted/pair/__init__.pyc %%S%%/twisted/pair/__init__.pyo +%%S%%/twisted/pair/_version.py +%%S%%/twisted/pair/_version.pyc +%%S%%/twisted/pair/_version.pyo %%S%%/twisted/pair/ethernet.py %%S%%/twisted/pair/ethernet.pyc %%S%%/twisted/pair/ethernet.pyo |