Index: head/finance/py-stripe/Makefile =================================================================== --- head/finance/py-stripe/Makefile (revision 410021) +++ head/finance/py-stripe/Makefile (revision 410022) @@ -1,30 +1,30 @@ # Created by: Trevor Caira # $FreeBSD$ # PORTNAME= stripe -PORTVERSION= 1.29.1 +DISTVERSION= 1.30.0 CATEGORIES= finance python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Stripe Python bindings LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0.8.8:${PORTSDIR}/www/py-requests TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycurl>=7.19:${PORTSDIR}/ftp/py-pycurl \ - ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:${PORTSDIR}/devel/py-mock \ + ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes do-test: @cd ${WRKSRC} && ${SETENV} STRIPE_TEST_PYCURL=yes ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: head/finance/py-stripe/distinfo =================================================================== --- head/finance/py-stripe/distinfo (revision 410021) +++ head/finance/py-stripe/distinfo (revision 410022) @@ -1,2 +1,2 @@ -SHA256 (stripe-1.29.1.tar.gz) = 61b98cec0f10888a3a5ea1096cb0fcc040541d627df0089fc0400ec2c81d7471 -SIZE (stripe-1.29.1.tar.gz) = 176656 +SHA256 (stripe-1.30.0.tar.gz) = 90d8c6f6acc9485bae5d106b62c6b09b62eea9d7fb1c8476fb4c85b04777fa3a +SIZE (stripe-1.30.0.tar.gz) = 176841 Index: head/finance/py-stripe/files/patch-setup.py =================================================================== --- head/finance/py-stripe/files/patch-setup.py (revision 410021) +++ head/finance/py-stripe/files/patch-setup.py (revision 410022) @@ -1,15 +1,24 @@ -# Use latest mock for tests -# Fix two test failures with latest mock #205 -# https://github.com/stripe/stripe-python/issues/205 - ---- setup.py.orig 2016-02-22 10:32:35 UTC +--- setup.py.orig 2016-03-03 09:42:16 UTC +++ setup.py -@@ -57,7 +57,7 @@ setup( +@@ -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 == 1.0.1'], -+ tests_require=['unittest2', 'mock>=1.0.1'], +- tests_require=['unittest2', 'mock'], use_2to3=True, classifiers=[ "Development Status :: 5 - Production/Stable",