Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 06:16:19 +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: r331653 - in head/finance: . py-stripe
Message-ID:  <201310260616.r9Q6GJj5032010@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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