diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-17 20:32:51 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-17 20:32:51 +0000 |
commit | 79c374f2a85af9c4322dfb90fe4adcd019b03f42 (patch) | |
tree | 9033104e453a4b77e7b21a7a37e36139219caaf5 /finance/py-stripe | |
parent | Update to 1.12.0. (diff) |
- Stage support
- Switch from easy_install to install
Notes
Notes:
svn path=/head/; revision=344819
Diffstat (limited to 'finance/py-stripe')
-rw-r--r-- | finance/py-stripe/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/finance/py-stripe/Makefile b/finance/py-stripe/Makefile index b8d1297abc66..66d70cad8a4b 100644 --- a/finance/py-stripe/Makefile +++ b/finance/py-stripe/Makefile @@ -4,7 +4,7 @@ PORTNAME= stripe PORTVERSION= 1.9.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= finance python MASTER_SITES= https://code.stripe.com/stripe/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,14 +18,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests1>=0.8.8:${PORTSDIR}/www/py-requests TEST_DEPENDS:= ${RUN_DEPENDS} USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes post-patch: - @${REINPLACE_CMD} 's/version=version\.VERSION,/version=version.VERSION, zip_safe=False,/' \ - ${WRKSRC}/setup.py - -NO_STAGE= yes + @${REINPLACE_CMD} "s|, '../VERSION'||" ${WRKSRC}/setup.py regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test |