From nobody@FreeBSD.org  Mon Sep 23 08:16:57 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 2C2C09C5
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Sep 2013 08:16:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 1811C2731
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Sep 2013 08:16:57 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8N8Guov011823
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Sep 2013 08:16:56 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8N8Gusf011822;
	Mon, 23 Sep 2013 08:16:56 GMT
	(envelope-from nobody)
Message-Id: <201309230816.r8N8Gusf011822@oldred.freebsd.org>
Date: Mon, 23 Sep 2013 08:16:56 GMT
From: Trevor Caira <trevor@bitba.se>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [new port] finance/py-stripe: Python bindings for the Stripe.com payment service
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182313
>Category:       ports
>Synopsis:       [new port] finance/py-stripe: Python bindings for the Stripe.com payment service
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    koobs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 23 08:20:00 UTC 2013
>Closed-Date:    Sat Oct 26 07:01:34 UTC 2013
>Last-Modified:  Sat Oct 26 07:01:34 UTC 2013
>Originator:     Trevor Caira
>Release:        FreeBSD 9.2-RC4 amd64
>Organization:
Bitbase LLC
>Environment:
FreeBSD tour 9.2-RC4 FreeBSD 9.2-RC4 #0 r255465: Wed Sep 11 05:11:03 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
New port: finance/py-stripe

Python bindings for the Stripe.com payment service REST API.
>How-To-Repeat:

>Fix:
Shell archive attached.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-stripe
#	py-stripe/pkg-descr
#	py-stripe/Makefile
#	py-stripe/distinfo
#	py-stripe/pkg-plist
#
echo c - py-stripe
mkdir -p py-stripe > /dev/null 2>&1
echo x - py-stripe/pkg-descr
sed 's/^X//' >py-stripe/pkg-descr << 'd5600ab757ce40f03ae10b2e21f98419'
XPython bindings for the Stripe.com payment service REST API.
X
XWWW: https://github.com/stripe/stripe-python
d5600ab757ce40f03ae10b2e21f98419
echo x - py-stripe/Makefile
sed 's/^X//' >py-stripe/Makefile << '465811de50c92fdd4354c2cc7a16c08f'
X# Created by: Trevor Caira <trevor@bitba.se>
X# $FreeBSD$
X#
X
XPORTNAME=	stripe
XPORTVERSION=	1.9.5
XCATEGORIES=	finance python
XMASTER_SITES=	https://code.stripe.com/stripe/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	trevor@bitba.se
XCOMMENT=	Python bindings for the Stripe.com payment system
X
XLICENSE=	MIT
X
XRUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0.8.8:${PORTSDIR}/www/py-requests
X
XUSE_PYTHON=	2.6+
XUSE_PYDISTUTILS=	easy_install
X
Xpost-patch:
X	@${REINPLACE_CMD} 's/version=version\.VERSION,/version=version.VERSION, zip_safe=False,/' \
X		${WRKSRC}/setup.py
X
X.include <bsd.port.mk>
465811de50c92fdd4354c2cc7a16c08f
echo x - py-stripe/distinfo
sed 's/^X//' >py-stripe/distinfo << 'bfe9c3b572fb96cc804122ec6929c5bf'
XSHA256 (stripe-1.9.5.tar.gz) = 5c01bab3ae831f8eb2ad72f9337777f66abb2f952cddc417bfb31038335d746c
XSIZE (stripe-1.9.5.tar.gz) = 142358
bfe9c3b572fb96cc804122ec6929c5bf
echo x - py-stripe/pkg-plist
sed 's/^X//' >py-stripe/pkg-plist << '7239ff836d214db9bd07aba3bfd6b4da'
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/VERSION
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/__init__.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/__init__.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/__init__.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/data/ca-certificates.crt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/importer.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/importer.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/importer.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/test/__init__.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/test/__init__.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/test/__init__.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/test/test_stripe.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/test/test_stripe.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/test/test_stripe.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/version.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/version.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/version.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
7239ff836d214db9bd07aba3bfd6b4da
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 23 08:20:08 UTC 2013 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182313 

From: Trevor Caira <trevor@bitba.se>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/182313: [new port] finance/py-stripe: Python bindings for
 the Stripe.com payment service
Date: Thu, 24 Oct 2013 21:44:37 -0400

 --089e0102fb5ccdd4d004e986e5d8
 Content-Type: text/plain; charset=ISO-8859-1
 
 Following up to check the review status for this new port.
 
 Trevor
 
 --089e0102fb5ccdd4d004e986e5d8
 Content-Type: text/html; charset=ISO-8859-1
 
 <div dir="ltr">Following up to check the review status for this new port.<div><br></div><div>Trevor</div></div>
 
 --089e0102fb5ccdd4d004e986e5d8--
Responsible-Changed-From-To: freebsd-python->koobs 
Responsible-Changed-By: koobs 
Responsible-Changed-When: Sat Oct 26 03:20:52 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182313 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182313: commit references a PR
Date: Sat, 26 Oct 2013 06:16:27 +0000 (UTC)

 Author: koobs
 Date: Sat Oct 26 06:16:19 2013
 New Revision: 331653
 URL: http://svnweb.freebsd.org/changeset/ports/331653
 
 Log:
   finance/py-stripe: Python bindings for Stripe.com [NEW PORT]
   
   Python bindings for the Stripe.com payment service REST API.
   
   WWW: https://github.com/stripe/stripe-python
   
   PR:		ports/182313
   Submitted by:	Trevor Caira <trevor@bitba.se>
 
 Added:
   head/finance/py-stripe/
   head/finance/py-stripe/Makefile   (contents, props changed)
   head/finance/py-stripe/distinfo   (contents, props changed)
   head/finance/py-stripe/pkg-descr   (contents, props changed)
 Modified:
   head/finance/Makefile
 
 Modified: head/finance/Makefile
 ==============================================================================
 --- head/finance/Makefile	Sat Oct 26 05:16:00 2013	(r331652)
 +++ head/finance/Makefile	Sat Oct 26 06:16:19 2013	(r331653)
 @@ -93,6 +93,7 @@
      SUBDIR += pear_Payment_DTA
      SUBDIR += php-tclink
      SUBDIR += prestashop
 +    SUBDIR += py-stripe
      SUBDIR += py-vatnumber
      SUBDIR += qhacc
      SUBDIR += quantlib
 
 Added: head/finance/py-stripe/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/finance/py-stripe/Makefile	Sat Oct 26 06:16:19 2013	(r331653)
 @@ -0,0 +1,32 @@
 +# Created by: Trevor Caira <trevor@bitba.se>
 +# $FreeBSD$
 +#
 +
 +PORTNAME=	stripe
 +PORTVERSION=	1.9.5
 +CATEGORIES=	finance python
 +MASTER_SITES=	https://code.stripe.com/stripe/
 +PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 +
 +MAINTAINER=	trevor@bitba.se
 +COMMENT=	Python bindings for the Stripe.com payment system
 +
 +LICENSE=	MIT
 +
 +RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0.8.8:${PORTSDIR}/www/py-requests
 +TEST_DEPENDS:=	${RUN_DEPENDS
 +
 +USE_PYTHON=		yes
 +USE_PYDISTUTILS=	easy_install
 +PYDISTUTILS_AUTOPLIST=	yes
 +
 +post-patch:
 +	@${REINPLACE_CMD} 's/version=version\.VERSION,/version=version.VERSION, zip_safe=False,/' \
 +		${WRKSRC}/setup.py
 +
 +NO_STAGE=	yes
 +
 +regression-test: build
 +	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
 +
 +.include <bsd.port.mk>
 
 Added: head/finance/py-stripe/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/finance/py-stripe/distinfo	Sat Oct 26 06:16:19 2013	(r331653)
 @@ -0,0 +1,2 @@
 +SHA256 (stripe-1.9.5.tar.gz) = 5c01bab3ae831f8eb2ad72f9337777f66abb2f952cddc417bfb31038335d746c
 +SIZE (stripe-1.9.5.tar.gz) = 142358
 
 Added: head/finance/py-stripe/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/finance/py-stripe/pkg-descr	Sat Oct 26 06:16:19 2013	(r331653)
 @@ -0,0 +1,3 @@
 +Python bindings for the Stripe.com payment service REST API.
 +
 +WWW: https://github.com/stripe/stripe-python
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 

From: Kubilay Kocak <koobs.freebsd@gmail.com>
To: bug-followup@FreeBSD.org, trevor@bitba.se
Cc:  
Subject: Re: ports/182313: [new port] finance/py-stripe: Python bindings for
 the Stripe.com payment service
Date: Sat, 26 Oct 2013 17:23:55 +1100

 Hi Trevor,
 
 Quick review summary:
 
 - NO_STAGE=yes is needed at the moment for Python ports that use
   setuptools, ie; when using USE_PYDISTUTILS=easy_install (via port
   test and portlint)
 
 - Multiple MASTER_SITES are preferred (via portlint)
 
   It's preferred to have multiple MASTER_SITES or one fronted by a
   CDN or other High-Availability architecture. Unfortuntely the size of
   the DISTFILE on PyPI (CHEESESHOP) and stripe.com are different so they
   can't be used together (portlint). MASTER_SITES=CHEESESHOP is backed
   by multiple mirrors, I'll leave the decision to you as maintainer.
 
 - Some directories were missing from pkg-plist (via port test)
 
    @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/test
    @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe/data
    @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/stripe
 
 - I added a regression-test target to run the test suite, and found one
   failure. This may be a requests 1.2 incompatibility, but I didn't
   investigate.
 
   ERROR: test_builds_url_correctly_with_base_url_query_params
   (stripe.test.test_stripe.StripeAPIRequestorTests)
 
 Tips:
 
 - PYDISTUTILS_AUTOPLIST=yes precludes the need to use a pkg-plist
   at all
 
 - Run your ports through ports-mgmt/portlint or `port test -l` (a part
   of ports-mgmt/porttools) to pickup warnings and other issues
 
 - Run your port through `port test` (a command of ports-mgmt/porttools)
   to pick up install, deinstall and other errors
 
 Thanks for your submission!

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182313: commit references a PR
Date: Sat, 26 Oct 2013 06:44:33 +0000 (UTC)

 Author: koobs
 Date: Sat Oct 26 06:44:26 2013
 New Revision: 331654
 URL: http://svnweb.freebsd.org/changeset/ports/331654
 
 Log:
   finance/py-stripe: Update to 1.9.8
   
   - Update to 1.9.8
   
     I missed this during the initial port commit. It fixes the failing unit
     test.
   
   Changes:
   
    1.9.8 2013-10-17: Removed incorrect test.
    1.9.7 2013-10-10: Add support for metadata.
    1.9.6 2013-10-08: Fix issue with support for closing disputes.
   
   PR:		ports/182313
 
 Modified:
   head/finance/py-stripe/Makefile
   head/finance/py-stripe/distinfo
 
 Modified: head/finance/py-stripe/Makefile
 ==============================================================================
 --- head/finance/py-stripe/Makefile	Sat Oct 26 06:16:19 2013	(r331653)
 +++ head/finance/py-stripe/Makefile	Sat Oct 26 06:44:26 2013	(r331654)
 @@ -3,7 +3,7 @@
  #
  
  PORTNAME=	stripe
 -PORTVERSION=	1.9.5
 +PORTVERSION=	1.9.8
  CATEGORIES=	finance python
  MASTER_SITES=	https://code.stripe.com/stripe/
  PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 Modified: head/finance/py-stripe/distinfo
 ==============================================================================
 --- head/finance/py-stripe/distinfo	Sat Oct 26 06:16:19 2013	(r331653)
 +++ head/finance/py-stripe/distinfo	Sat Oct 26 06:44:26 2013	(r331654)
 @@ -1,2 +1,2 @@
 -SHA256 (stripe-1.9.5.tar.gz) = 5c01bab3ae831f8eb2ad72f9337777f66abb2f952cddc417bfb31038335d746c
 -SIZE (stripe-1.9.5.tar.gz) = 142358
 +SHA256 (stripe-1.9.8.tar.gz) = 6fa50635daf56340fda495b1cb6cbaeefea0b73ef3d1ef4e69cafe9437e52479
 +SIZE (stripe-1.9.8.tar.gz) = 143137
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: koobs 
State-Changed-When: Sat Oct 26 07:01:33 UTC 2013 
State-Changed-Why:  
New port added, with changes. Thanks Trevor! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182313 
>Unformatted:
