svn commit: r441947 - head/devel/py-urwid

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun May 28 23:16:37 UTC 2017


Author: sunpoet
Date: Sun May 28 23:16:35 2017
New Revision: 441947
URL: https://svnweb.freebsd.org/changeset/ports/441947

Log:
  Allow concurrent installation (USE_PYTHON=concurrent)
  
  - Remove EXAMPLESDIR
  - Use do-test:
  - Bump PORTREVISION for package change

Modified:
  head/devel/py-urwid/Makefile

Modified: head/devel/py-urwid/Makefile
==============================================================================
--- head/devel/py-urwid/Makefile	Sun May 28 23:16:31 2017	(r441946)
+++ head/devel/py-urwid/Makefile	Sun May 28 23:16:35 2017	(r441947)
@@ -3,6 +3,7 @@
 
 PORTNAME=	urwid
 PORTVERSION=	1.3.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,19 +17,18 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 OPTIONS_DEFINE=	EXAMPLES
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent distutils
 
 PORTEXAMPLES=	*
-EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/urwid/str_util.so
 
 post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
-	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR}/)
+	cd ${WRKSRC}/examples/ && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR}/
 
-regression-test: build
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m urwid.tests
+do-test:
+	cd ${WRKSRC}/ && ${PYTHON_CMD} -m urwid.tests
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list