aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-pycosat/Makefile
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2015-12-26 15:23:01 +0800
committerkoobs <koobs@FreeBSD.org>2015-12-26 15:23:01 +0800
commit48a1a72fb0fe6c6053b2327a50da203b43e1b54d (patch)
tree71698dd8c7107896921f36e9ca8c4fa2162474d3 /math/py-pycosat/Makefile
parent1bcb0a708fb4f4c951e7fcd63c6c78eccf0fc554 (diff)
downloadfreebsd-ports-gnome-48a1a72fb0fe6c6053b2327a50da203b43e1b54d.tar.gz
freebsd-ports-gnome-48a1a72fb0fe6c6053b2327a50da203b43e1b54d.tar.zst
freebsd-ports-gnome-48a1a72fb0fe6c6053b2327a50da203b43e1b54d.zip
math/py-pycosat: Update to 0.6.1
- Update PORTVERSION and distinfo checksum (0.6.1) [1] - Use PYTHON_SITELIBDIR in post-install STRIP_CMD - Update test target to new convention Changes: https://github.com/ContinuumIO/pycosat/blob/0.6.1/CHANGELOG PR: 205564 [1] Submitted by: Yuri <yuri rawbw com> [1]
Diffstat (limited to 'math/py-pycosat/Makefile')
-rw-r--r--math/py-pycosat/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/math/py-pycosat/Makefile b/math/py-pycosat/Makefile
index 6427af5be8c4..2ff48342ed43 100644
--- a/math/py-pycosat/Makefile
+++ b/math/py-pycosat/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= pycosat
-PORTVERSION= 0.6.0
-PORTREVISION= 1
+PORTVERSION= 0.6.1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -25,9 +24,9 @@ PYDISTUTILS_BUILDARGS= build_ext \
-lpicosat
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/pycosat.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pycosat.so
-regression-test: build
+do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>