diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-05-29 07:16:35 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-05-29 07:16:35 +0800 |
commit | 2c95bae597960a2d2f74903f6987dab5848ff41e (patch) | |
tree | 39f74b78ffe96eed9dc4f42ef838e73de59423f1 /devel/py-urwid | |
parent | 252de299eaf2df9972166f41632acaa98d4debc2 (diff) | |
download | freebsd-ports-gnome-2c95bae597960a2d2f74903f6987dab5848ff41e.tar.gz freebsd-ports-gnome-2c95bae597960a2d2f74903f6987dab5848ff41e.tar.zst freebsd-ports-gnome-2c95bae597960a2d2f74903f6987dab5848ff41e.zip |
Allow concurrent installation (USE_PYTHON=concurrent)
- Remove EXAMPLESDIR
- Use do-test:
- Bump PORTREVISION for package change
Diffstat (limited to 'devel/py-urwid')
-rw-r--r-- | devel/py-urwid/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/py-urwid/Makefile b/devel/py-urwid/Makefile index d23dd452b394..066c7bc7d0b5 100644 --- a/devel/py-urwid/Makefile +++ b/devel/py-urwid/Makefile @@ -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> |