svn commit: r344819 - head/finance/py-stripe

Antoine Brodin antoine at FreeBSD.org
Mon Feb 17 20:32:52 UTC 2014


Author: antoine
Date: Mon Feb 17 20:32:51 2014
New Revision: 344819
URL: http://svnweb.freebsd.org/changeset/ports/344819
QAT: https://qat.redports.org/buildarchive/r344819/

Log:
  - Stage support
  - Switch from easy_install to install

Modified:
  head/finance/py-stripe/Makefile

Modified: head/finance/py-stripe/Makefile
==============================================================================
--- head/finance/py-stripe/Makefile	Mon Feb 17 19:53:58 2014	(r344818)
+++ head/finance/py-stripe/Makefile	Mon Feb 17 20:32:51 2014	(r344819)
@@ -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}requ
 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


More information about the svn-ports-all mailing list