From owner-svn-ports-head@freebsd.org Fri Feb 23 18:52:42 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D811DF120D4; Fri, 23 Feb 2018 18:52:41 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6BE3970169; Fri, 23 Feb 2018 18:52:41 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 66D871A640; Fri, 23 Feb 2018 18:52:41 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1NIqfYH099817; Fri, 23 Feb 2018 18:52:41 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1NIqfgQ099815; Fri, 23 Feb 2018 18:52:41 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201802231852.w1NIqfgQ099815@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 23 Feb 2018 18:52:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462714 - head/security/py-txtorcon X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/security/py-txtorcon X-SVN-Commit-Revision: 462714 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 18:52:42 -0000 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 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