diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-02-23 18:52:41 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-02-23 18:52:41 +0000 |
commit | 800a1c49156f94d90da11d3de5f0f67ae91861e2 (patch) | |
tree | b9b35fa63bbd07ccf19a983408ff129744201f31 | |
parent | 04d2fc971ce854abfcbdd5b8e23570d9dab6aed1 (diff) | |
download | ports-800a1c49156f94d90da11d3de5f0f67ae91861e2.tar.gz ports-800a1c49156f94d90da11d3de5f0f67ae91861e2.zip |
Notes
-rw-r--r-- | security/py-txtorcon/Makefile | 24 | ||||
-rw-r--r-- | security/py-txtorcon/distinfo | 6 |
2 files changed, 24 insertions, 6 deletions
diff --git a/security/py-txtorcon/Makefile b/security/py-txtorcon/Makefile index 02873a49d5fd..c6f08ad91fca 100644 --- a/security/py-txtorcon/Makefile +++ b/security/py-txtorcon/Makefile @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= txtorcon -PORTVERSION= 0.19.3 +DISTVERSION= 0.20.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= yuri@rawbw.com +MAINTAINER= yuri@FreeBSD.org COMMENT= Twisted-based Tor controller client LICENSE= MIT @@ -20,8 +20,26 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=15.5.0:devel/py-twisted@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Automat>0:devel/py-Automat@${FLAVOR} USES= python shebangfix -USE_PYTHON= distutils autoplist +USE_PYTHON= distutils autoplist concurrent NO_ARCH= yes SHEBANG_FILES= examples/*.py +OPTIONS_DEFINE= DOCS EXAMPLES + +post-patch: + @${REINPLACE_CMD} -e " \ + s|'share/txtorcon'|'${DOCSDIR}'| ; \ + s|'share/txtorcon/examples'|'${EXAMPLESDIR}'|" \ + ${WRKSRC}/setup.py + +post-patch-DOCS-off: + @${REINPLACE_CMD} -E " \ + s|(.*'${DOCSDIR}'.*)|#\1| ; \ + s|(.*'docs/.*',$$)|#\1| ; \ + s|(.*\+ sphinx_docs.*)|#\1|" \ + ${WRKSRC}/setup.py + +post-patch-EXAMPLES-off: + @${REINPLACE_CMD} -E "s|(.*'${EXAMPLESDIR}'.*)|#\1|" ${WRKSRC}/setup.py + .include <bsd.port.mk> diff --git a/security/py-txtorcon/distinfo b/security/py-txtorcon/distinfo index a34ce2cda014..e2fd341af7dd 100644 --- a/security/py-txtorcon/distinfo +++ b/security/py-txtorcon/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1504485237 -SHA256 (txtorcon-0.19.3.tar.gz) = f73396667909a3c7a98f4dd865edf4ed6a2518ee5a935d92e18b8a479ec244fd -SIZE (txtorcon-0.19.3.tar.gz) = 265716 +TIMESTAMP = 1519406854 +SHA256 (txtorcon-0.20.0.tar.gz) = dc80cb76b3ddacef6d671c0a088cb1a45274c0858554c32ce55d0f41421c740e +SIZE (txtorcon-0.20.0.tar.gz) = 268909 |