From d8b78e009cc431de511840f66d217bdde4e0b37a Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Sat, 26 Dec 2015 07:23:01 +0000 Subject: [PATCH] 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 [1] --- math/py-pycosat/Makefile | 7 +++---- math/py-pycosat/distinfo | 4 ++-- 2 files changed, 5 insertions(+), 6 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 diff --git a/math/py-pycosat/distinfo b/math/py-pycosat/distinfo index 873e0bd37d05..16c115e23fa7 100644 --- a/math/py-pycosat/distinfo +++ b/math/py-pycosat/distinfo @@ -1,2 +1,2 @@ -SHA256 (pycosat-0.6.0.tar.gz) = 9ce71131cedb6dcb9a64896c1998e77f8e1e211825d8aacba8994a9492b04d0b -SIZE (pycosat-0.6.0.tar.gz) = 58324 +SHA256 (pycosat-0.6.1.tar.gz) = d438c488da6dd7bbb23ca8ac10531f1fbbd117bdbc2e6245382c1fe202e483ce +SIZE (pycosat-0.6.1.tar.gz) = 59270