From owner-svn-ports-all@freebsd.org Fri Feb 26 10:44:34 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5108AB56DB; Fri, 26 Feb 2016 10:44:34 +0000 (UTC) (envelope-from koobs@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 mx1.freebsd.org (Postfix) with ESMTPS id 800A6C6D; Fri, 26 Feb 2016 10:44:34 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1QAiXYq027046; Fri, 26 Feb 2016 10:44:33 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1QAiXJS027043; Fri, 26 Feb 2016 10:44:33 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201602261044.u1QAiXJS027043@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Fri, 26 Feb 2016 10:44:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409595 - in head/www/py-pyjwt: . files X-SVN-Group: ports-head 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.20 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, 26 Feb 2016 10:44:34 -0000 Author: koobs Date: Fri Feb 26 10:44:33 2016 New Revision: 409595 URL: https://svnweb.freebsd.org/changeset/ports/409595 Log: www/py-pyjwt: Update to 1.4.0, Modernize - Update PORTVERSION and distinfo checksum (1.4.0) - Update run and test dependencies (pycrypto -> cryptography) - Enable "concurrent" Python installation - Enable NO_ARCH (architecture independent) - Update test target - Patch setup.py not to install non-compulsory tests_requires - Group OPTIONS_* entries - Pet portling (DISTNAME order) - Uncomment LICENSE_FILE PR: 205443 Reviewed by: maintainer Approved by: maintainer Added: head/www/py-pyjwt/files/ head/www/py-pyjwt/files/patch-setup.py (contents, props changed) Modified: head/www/py-pyjwt/Makefile head/www/py-pyjwt/distinfo Modified: head/www/py-pyjwt/Makefile ============================================================================== --- head/www/py-pyjwt/Makefile Fri Feb 26 09:17:52 2016 (r409594) +++ head/www/py-pyjwt/Makefile Fri Feb 26 10:44:33 2016 (r409595) @@ -1,27 +1,35 @@ # $FreeBSD$ PORTNAME= pyjwt -PORTVERSION= 0.2.1 +PORTVERSION= 1.4.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP -DISTNAME= PyJWT-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= PyJWT-${PORTVERSION} MAINTAINER= terje@elde.net COMMENT= JSON Web Token implementation in Python LICENSE= MIT -# LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +# Some tests are skipped without pycrypto, but its not +# referenced as a requirement anymore. +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \ + ${PYTHON_PKGNAMEPREFIX}cryptography>0:${PORTSDIR}/security/py-cryptography \ + ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto -RSASSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto +USES= python +USE_PYTHON= distutils concurrent autoplist OPTIONS_DEFINE= RSASSA -RSASSA_DESC= RSASSA-PKCS1 v1.5 signature support -USES= python -USE_PYTHON= distutils autoplist +RSASSA_DESC= RSASSA-PKCS1 v1.5 signature support +RSASSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:${PORTSDIR}/security/py-cryptography + +NO_ARCH= yes -regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -c /dev/null -v -rs .include Modified: head/www/py-pyjwt/distinfo ============================================================================== --- head/www/py-pyjwt/distinfo Fri Feb 26 09:17:52 2016 (r409594) +++ head/www/py-pyjwt/distinfo Fri Feb 26 10:44:33 2016 (r409595) @@ -1,2 +1,2 @@ -SHA256 (PyJWT-0.2.1.tar.gz) = cfd0fad01a9a57fb4b24e59a82ffd50ddc9c2c4344694ec6ef436ae11d5d18aa -SIZE (PyJWT-0.2.1.tar.gz) = 6320 +SHA256 (PyJWT-1.4.0.tar.gz) = e1b2386cfad541445b1d43e480b02ca37ec57259fd1a23e79415b57ba5d8a694 +SIZE (PyJWT-1.4.0.tar.gz) = 34613 Added: head/www/py-pyjwt/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-pyjwt/files/patch-setup.py Fri Feb 26 10:44:33 2016 (r409595) @@ -0,0 +1,19 @@ +--- setup.py.orig 2016-02-26 09:43:54 UTC ++++ setup.py +@@ -31,8 +31,6 @@ if sys.argv[-1] == 'publish': + + tests_require = [ + 'pytest', +- 'pytest-cov', +- 'pytest-runner', + ] + + setup( +@@ -61,7 +59,6 @@ setup( + 'Topic :: Utilities', + ], + test_suite='tests', +- setup_requires=['pytest-runner'], + tests_require=tests_require, + extras_require=dict( + test=tests_require,