diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2013-10-26 14:16:19 +0800 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2013-10-26 14:16:19 +0800 |
commit | 1bf1251a5a891afd3c12ce0850e7e7315c09ede7 (patch) | |
tree | 86db55a046ae25d76970bd507e74bcfa4185edb7 /finance | |
parent | 190c89211ebf8a17e490bc00ddd18e1c9bca9190 (diff) | |
download | freebsd-ports-gnome-1bf1251a5a891afd3c12ce0850e7e7315c09ede7.tar.gz freebsd-ports-gnome-1bf1251a5a891afd3c12ce0850e7e7315c09ede7.tar.zst freebsd-ports-gnome-1bf1251a5a891afd3c12ce0850e7e7315c09ede7.zip |
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>
Diffstat (limited to 'finance')
-rw-r--r-- | finance/Makefile | 1 | ||||
-rw-r--r-- | finance/py-stripe/Makefile | 32 | ||||
-rw-r--r-- | finance/py-stripe/distinfo | 2 | ||||
-rw-r--r-- | finance/py-stripe/pkg-descr | 3 |
4 files changed, 38 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile index 119e0d7c3269..e408bb2c0eb4 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -93,6 +93,7 @@ SUBDIR += pear_Payment_DTA SUBDIR += php-tclink SUBDIR += prestashop + SUBDIR += py-stripe SUBDIR += py-vatnumber SUBDIR += qhacc SUBDIR += quantlib diff --git a/finance/py-stripe/Makefile b/finance/py-stripe/Makefile new file mode 100644 index 000000000000..10d003250b1e --- /dev/null +++ b/finance/py-stripe/Makefile @@ -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> diff --git a/finance/py-stripe/distinfo b/finance/py-stripe/distinfo new file mode 100644 index 000000000000..1537c160a33e --- /dev/null +++ b/finance/py-stripe/distinfo @@ -0,0 +1,2 @@ +SHA256 (stripe-1.9.5.tar.gz) = 5c01bab3ae831f8eb2ad72f9337777f66abb2f952cddc417bfb31038335d746c +SIZE (stripe-1.9.5.tar.gz) = 142358 diff --git a/finance/py-stripe/pkg-descr b/finance/py-stripe/pkg-descr new file mode 100644 index 000000000000..60562ed5d21d --- /dev/null +++ b/finance/py-stripe/pkg-descr @@ -0,0 +1,3 @@ +Python bindings for the Stripe.com payment service REST API. + +WWW: https://github.com/stripe/stripe-python |