diff --git a/math/py-pycosat/Makefile b/math/py-pycosat/Makefile index 453b022c095e..97da817b1f10 100644 --- a/math/py-pycosat/Makefile +++ b/math/py-pycosat/Makefile @@ -1,31 +1,30 @@ PORTNAME= pycosat -PORTVERSION= 0.6.3 -PORTREVISION= 1 +DISTVERSION= 0.6.6 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Bindings to PicoSAT (a SAT solver) WWW= https://github.com/ContinuumIO/pycosat LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpicosat.so:math/picosat -USES= python zip +USES= python USE_PYTHON= autoplist distutils PYDISTUTILS_BUILDARGS= build_ext \ -I${LOCALBASE}/include -L${LOCALBASE}/lib \ -DDONT_INCLUDE_PICOSAT \ -lpicosat post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pycosat*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/math/py-pycosat/distinfo b/math/py-pycosat/distinfo index 6c2d47a28b3d..6f1c7ca6a9f9 100644 --- a/math/py-pycosat/distinfo +++ b/math/py-pycosat/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1533608453 -SHA256 (pycosat-0.6.3.zip) = 4c99874946a7e939bb941bbb019dd2c20e6068e3107c91366e7779c69d70e0ed -SIZE (pycosat-0.6.3.zip) = 66825 +TIMESTAMP = 1779053884 +SHA256 (pycosat-0.6.6.tar.gz) = a376cfae20b16fcfbef24bf3c047a8a294c35032bb051fa98842c12bbab6f0ff +SIZE (pycosat-0.6.6.tar.gz) = 71623 diff --git a/math/py-pycosat/files/patch-setup.py b/math/py-pycosat/files/patch-setup.py index 651ed354c6d8..ed43cce6518e 100644 --- a/math/py-pycosat/files/patch-setup.py +++ b/math/py-pycosat/files/patch-setup.py @@ -1,8 +1,8 @@ ---- ./setup.py.orig 2014-08-08 18:54:35.336077625 +1000 -+++ ./setup.py 2014-08-08 18:54:46.442391757 +1000 -@@ -43,4 +43,5 @@ - py_modules = ['test_pycosat'], - description = "bindings to picosat (a SAT solver)", - long_description = open('README.rst').read(), +--- setup.py.orig 2023-10-03 15:00:08 UTC ++++ setup.py +@@ -43,4 +43,5 @@ setup( + py_modules=["test_pycosat"], + description="bindings to picosat (a SAT solver)", + long_description=open("README.rst").read(), + test_suite="test_pycosat", )