Date: Fri, 23 Feb 2018 18:52:41 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462714 - head/security/py-txtorcon Message-ID: <201802231852.w1NIqfgQ099815@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Fri Feb 23 18:52:41 2018 New Revision: 462714 URL: https://svnweb.freebsd.org/changeset/ports/462714 Log: security/py-txtorcon: Update to 0.20.0 Changelog: https://github.com/meejah/txtorcon/releases/tag/v0.20.0 Additional port changes: * Changed to DISTVERSION * Updated MAINTAINER * Added USE_PYTHON=concurrent (for docs and examples) * Added DOCS and EXAMPLES options * Added post-patch correcting docs/examples dirs * Added post-patch-xx-off targets that patch docs/examples away Requested upstream to have variables that control docs/examples. Reported by: portscout Approved by: tcberner (mentor, implicit) Modified: head/security/py-txtorcon/Makefile head/security/py-txtorcon/distinfo Modified: head/security/py-txtorcon/Makefile ============================================================================== --- head/security/py-txtorcon/Makefile Fri Feb 23 18:15:53 2018 (r462713) +++ head/security/py-txtorcon/Makefile Fri Feb 23 18:52:41 2018 (r462714) @@ -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:de ${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> Modified: head/security/py-txtorcon/distinfo ============================================================================== --- head/security/py-txtorcon/distinfo Fri Feb 23 18:15:53 2018 (r462713) +++ head/security/py-txtorcon/distinfo Fri Feb 23 18:52:41 2018 (r462714) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802231852.w1NIqfgQ099815>