Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2017 23:16:36 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441947 - head/devel/py-urwid
Message-ID:  <201705282316.v4SNGaCK053163@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705282316.v4SNGaCK053163>