From owner-svn-ports-head@freebsd.org Sat May 18 07:48:05 2019 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 467A015AB408; Sat, 18 May 2019 07:48:05 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDA896DF0E; Sat, 18 May 2019 07:48:04 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B2AC71CA28; Sat, 18 May 2019 07:48:04 +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 x4I7m4HU023985; Sat, 18 May 2019 07:48:04 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4I7m463023983; Sat, 18 May 2019 07:48:04 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201905180748.x4I7m463023983@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sat, 18 May 2019 07:48:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501919 - in head/finance/py-stripe: . files X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: in head/finance/py-stripe: . files X-SVN-Commit-Revision: 501919 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DDA896DF0E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 18 May 2019 07:48:05 -0000 Author: koobs Date: Sat May 18 07:48:03 2019 New Revision: 501919 URL: https://svnweb.freebsd.org/changeset/ports/501919 Log: finance/py-stripe: Update to 2.28.0 Changelog: https://github.com/stripe/stripe-python/blob/v2.28.0/CHANGELOG.md Modified: head/finance/py-stripe/Makefile head/finance/py-stripe/distinfo head/finance/py-stripe/files/patch-setup.py Modified: head/finance/py-stripe/Makefile ============================================================================== --- head/finance/py-stripe/Makefile Sat May 18 07:38:37 2019 (r501918) +++ head/finance/py-stripe/Makefile Sat May 18 07:48:03 2019 (r501919) @@ -3,7 +3,7 @@ # PORTNAME= stripe -DISTVERSION= 1.30.0 +PORTVERSION= 2.28.0 CATEGORIES= finance python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,10 +14,10 @@ COMMENT= Stripe Python bindings LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0.8.8:www/py-requests@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycurl>=7.19:ftp/py-pycurl@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.20:www/py-requests@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.4:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=1.7:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.22:devel/py-pytest-xdist@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils @@ -25,6 +25,14 @@ USE_PYTHON= autoplist distutils NO_ARCH= yes do-test: - @cd ${WRKSRC} && ${SETENV} STRIPE_TEST_PYCURL=yes ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -.include +.include + +# requests[security] +.if ${PYTHON_VER} < 3.0 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} +.endif + +.include Modified: head/finance/py-stripe/distinfo ============================================================================== --- head/finance/py-stripe/distinfo Sat May 18 07:38:37 2019 (r501918) +++ head/finance/py-stripe/distinfo Sat May 18 07:48:03 2019 (r501919) @@ -1,2 +1,3 @@ -SHA256 (stripe-1.30.0.tar.gz) = 90d8c6f6acc9485bae5d106b62c6b09b62eea9d7fb1c8476fb4c85b04777fa3a -SIZE (stripe-1.30.0.tar.gz) = 176841 +TIMESTAMP = 1558157705 +SHA256 (stripe-2.28.0.tar.gz) = 1036267bbc4c394376bd3f4fc5a7867b7fe3cc1f0c4444b49cdd6929cee36daf +SIZE (stripe-2.28.0.tar.gz) = 204467 Modified: head/finance/py-stripe/files/patch-setup.py ============================================================================== --- head/finance/py-stripe/files/patch-setup.py Sat May 18 07:38:37 2019 (r501918) +++ head/finance/py-stripe/files/patch-setup.py Sat May 18 07:48:03 2019 (r501919) @@ -1,24 +1,17 @@ ---- setup.py.orig 2016-03-03 09:42:16 UTC +# pytest-cov is not a compulsory test dependency +# TODO: Upstream + +--- setup.py.orig 2019-04-08 18:44:53 UTC +++ setup.py -@@ -28,6 +28,11 @@ if sys.version_info < (2, 6): - else: - install_requires.append('requests >= 0.8.8') - -+tests_require = [ -+ 'unittest2', -+ 'pycurl>=7.19', -+ 'mock', -+] - - with open('LONG_DESCRIPTION.rst') as f: - long_description = f.read() -@@ -56,8 +61,8 @@ setup( - packages=['stripe', 'stripe.test', 'stripe.test.resources'], - package_data={'stripe': ['data/ca-certificates.crt']}, - install_requires=install_requires, -+ tests_require=tests_require, - test_suite='stripe.test.all', -- tests_require=['unittest2', 'mock'], - use_2to3=True, - classifiers=[ - "Development Status :: 5 - Production/Stable", +@@ -54,8 +54,10 @@ setup( + "pytest >= 3.4", + "pytest-mock >= 1.7", + "pytest-xdist >= 1.22", +- "pytest-cov >= 2.5", + ], ++ extras_require={ ++ 'dev': ['pytest-cov >= 2.5'], ++ }, + cmdclass={"test": PyTest}, + project_urls={ + "Bug Tracker": "https://github.com/stripe/stripe-python/issues",