From owner-svn-ports-all@freebsd.org Fri Apr 27 08:33:44 2018 Return-Path: Delivered-To: svn-ports-all@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 90A4BFC4A19; Fri, 27 Apr 2018 08:33:44 +0000 (UTC) (envelope-from loader@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 3AEC779B66; Fri, 27 Apr 2018 08:33:44 +0000 (UTC) (envelope-from loader@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 3461C24220; Fri, 27 Apr 2018 08:33:44 +0000 (UTC) (envelope-from loader@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3R8XiV7054469; Fri, 27 Apr 2018 08:33:44 GMT (envelope-from loader@FreeBSD.org) Received: (from loader@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3R8Xhi3054466; Fri, 27 Apr 2018 08:33:43 GMT (envelope-from loader@FreeBSD.org) Message-Id: <201804270833.w3R8Xhi3054466@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: loader set sender to loader@FreeBSD.org using -f From: Fukang Chen Date: Fri, 27 Apr 2018 08:33:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r468406 - in branches/2018Q2/security/py-obfsproxy-tor: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: loader X-SVN-Commit-Paths: in branches/2018Q2/security/py-obfsproxy-tor: . files X-SVN-Commit-Revision: 468406 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2018 08:33:44 -0000 Author: loader (doc committer) Date: Fri Apr 27 08:33:43 2018 New Revision: 468406 URL: https://svnweb.freebsd.org/changeset/ports/468406 Log: MFH: r468181 security/py-obfsproxy-tor: Fix runtime dependency error - Change runtime dependency entry point Twisted_Core back to Twisted - Update checksum for CHEESESHOP - Add test target Reviewed by: cs, koobs Approved by: cs (maintainer), koobs (ports) Differential Revision: https://reviews.freebsd.org/D13452 Approved by: ports-secteam (riggs) Modified: branches/2018Q2/security/py-obfsproxy-tor/Makefile branches/2018Q2/security/py-obfsproxy-tor/distinfo branches/2018Q2/security/py-obfsproxy-tor/files/patch-setup.py Directory Properties: branches/2018Q2/ (props changed) Modified: branches/2018Q2/security/py-obfsproxy-tor/Makefile ============================================================================== --- branches/2018Q2/security/py-obfsproxy-tor/Makefile Fri Apr 27 08:17:29 2018 (r468405) +++ branches/2018Q2/security/py-obfsproxy-tor/Makefile Fri Apr 27 08:33:43 2018 (r468406) @@ -20,6 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyptlib>=0.0.5:sec ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.1:security/py-pycrypto@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${FLAVOR} USES= python:2.7 USE_PYTHON= distutils autoplist @@ -27,5 +28,8 @@ SUB_FILES= pkg-message NO_ARCH= yes PYDISTUTILS_PKGNAME= obfsproxy + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) .include Modified: branches/2018Q2/security/py-obfsproxy-tor/distinfo ============================================================================== --- branches/2018Q2/security/py-obfsproxy-tor/distinfo Fri Apr 27 08:17:29 2018 (r468405) +++ branches/2018Q2/security/py-obfsproxy-tor/distinfo Fri Apr 27 08:33:43 2018 (r468406) @@ -1,3 +1,3 @@ -TIMESTAMP = 1519975368 -SHA256 (obfsproxy-0.2.13.tar.gz) = c29582f2f5b0316cbc7184e0529a5b246dfeeabd4e6c4dcb05b800256d6c9dd6 -SIZE (obfsproxy-0.2.13.tar.gz) = 95813 +TIMESTAMP = 1512989600 +SHA256 (obfsproxy-0.2.13.tar.gz) = 1e26c2faef1cfcf856ddf60e9647058a7c78fb0d47f05b58a0f847ed7cc41a66 +SIZE (obfsproxy-0.2.13.tar.gz) = 93435 Modified: branches/2018Q2/security/py-obfsproxy-tor/files/patch-setup.py ============================================================================== --- branches/2018Q2/security/py-obfsproxy-tor/files/patch-setup.py Fri Apr 27 08:17:29 2018 (r468405) +++ branches/2018Q2/security/py-obfsproxy-tor/files/patch-setup.py Fri Apr 27 08:33:43 2018 (r468406) @@ -1,19 +1,10 @@ ---- setup.py.orig 2014-12-31 15:34:31 UTC +--- setup.py.orig 2014-08-21 09:28:57 UTC +++ setup.py -@@ -31,12 +31,14 @@ setup( - install_requires = [ +@@ -32,7 +32,6 @@ setup( 'setuptools', 'PyCrypto', -- 'Twisted', + 'Twisted', - 'argparse', -+ 'Twisted_Core', 'pyptlib >= 0.0.6', 'pyyaml' ], - -+ #if sys.version_info < (2, 7): -+ # install_requires.append('argparse') -+ - extras_require = { - 'SOCKS': ["txsocksx"] - }