mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
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)
This commit is contained in:
parent
04d2fc971c
commit
800a1c4915
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462714
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user