1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Stage support

- Switch from easy_install to install
This commit is contained in:
Antoine Brodin 2014-02-17 20:32:51 +00:00
parent 857c7a9b7c
commit 79c374f2a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344819

View File

@ -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