diff options
-rw-r--r-- | devel/py-twistedFlow/Makefile | 7 | ||||
-rw-r--r-- | devel/py-twistedFlow/pkg-plist | 3 | ||||
-rw-r--r-- | net/py-twistedPair/Makefile | 7 | ||||
-rw-r--r-- | net/py-twistedPair/pkg-plist | 3 | ||||
-rw-r--r-- | www/py-twistedWeb2/Makefile | 6 | ||||
-rw-r--r-- | www/py-twistedWeb2/pkg-plist | 3 |
6 files changed, 27 insertions, 2 deletions
diff --git a/devel/py-twistedFlow/Makefile b/devel/py-twistedFlow/Makefile index 649cb60d50b..406d696104f 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 4bdc393a7dc..5a28af5c3ad 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 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 diff --git a/www/py-twistedWeb2/Makefile b/www/py-twistedWeb2/Makefile index 085fb764ce1..d30420cd43e 100644 --- a/www/py-twistedWeb2/Makefile +++ b/www/py-twistedWeb2/Makefile @@ -6,6 +6,7 @@ PORTNAME= twistedWeb2 PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= http://twistedmatrix.com/downloads/Web2/ \ http://tmrc.mit.edu/mirror/twisted/Web2/ @@ -24,4 +25,9 @@ USE_BZIP2= yes USE_PYTHON= 2.2+ USE_PYDISTUTILS= yes +post-extract: + # temporal hack to work with Twisted 2.4 + ${ECHO_CMD} "from twisted.python import versions" > ${WRKSRC}/twisted/web2/_version.py + ${ECHO_CMD} "version = versions.Version(__name__[:__name__.rfind('.')], 0, 1, 0)" >> ${WRKSRC}/twisted/web2/_version.py + .include <bsd.port.mk> diff --git a/www/py-twistedWeb2/pkg-plist b/www/py-twistedWeb2/pkg-plist index e3a3701756d..bdec242b7c2 100644 --- a/www/py-twistedWeb2/pkg-plist +++ b/www/py-twistedWeb2/pkg-plist @@ -2,6 +2,9 @@ %%PYTHON_SITELIBDIR%%/twisted/web2/__init__.py %%PYTHON_SITELIBDIR%%/twisted/web2/__init__.pyc %%PYTHON_SITELIBDIR%%/twisted/web2/__init__.pyo +%%PYTHON_SITELIBDIR%%/twisted/web2/_version.py +%%PYTHON_SITELIBDIR%%/twisted/web2/_version.pyc +%%PYTHON_SITELIBDIR%%/twisted/web2/_version.pyo %%PYTHON_SITELIBDIR%%/twisted/web2/cgichannel.py %%PYTHON_SITELIBDIR%%/twisted/web2/cgichannel.pyc %%PYTHON_SITELIBDIR%%/twisted/web2/cgichannel.pyo |