Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2016 10:11:31 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r410022 - in head/finance/py-stripe: . files
Message-ID:  <201603031011.u23ABVX2088853@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Thu Mar  3 10:11:31 2016
New Revision: 410022
URL: https://svnweb.freebsd.org/changeset/ports/410022

Log:
  finance/py-stripe: Update to 1.30.0
  
  - Update PORTVERSION and distinfo checksum (1.30.0)
  - Update mock in TEST_DEPENDS (now any version)
  - Update setup.py patch to add tests_require for future upstreaming
  
  Changes:
  
    https://github.com/stripe/stripe-python/blob/v1.30.0/CHANGELOG

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	Thu Mar  3 10:11:10 2016	(r410021)
+++ head/finance/py-stripe/Makefile	Thu Mar  3 10:11:31 2016	(r410022)
@@ -3,7 +3,7 @@
 #
 
 PORTNAME=	stripe
-PORTVERSION=	1.29.1
+DISTVERSION=	1.30.0
 CATEGORIES=	finance python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +16,7 @@ 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

Modified: head/finance/py-stripe/distinfo
==============================================================================
--- head/finance/py-stripe/distinfo	Thu Mar  3 10:11:10 2016	(r410021)
+++ head/finance/py-stripe/distinfo	Thu Mar  3 10:11:31 2016	(r410022)
@@ -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

Modified: head/finance/py-stripe/files/patch-setup.py
==============================================================================
--- head/finance/py-stripe/files/patch-setup.py	Thu Mar  3 10:11:10 2016	(r410021)
+++ head/finance/py-stripe/files/patch-setup.py	Thu Mar  3 10:11:31 2016	(r410022)
@@ -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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603031011.u23ABVX2088853>