diff --git a/math/py-pyclipper/Makefile b/math/py-pyclipper/Makefile index 7e84bd38aa3d..fff7f042eaa2 100644 --- a/math/py-pyclipper/Makefile +++ b/math/py-pyclipper/Makefile @@ -1,19 +1,25 @@ PORTNAME= pyclipper -PORTVERSION= 1.2.1 +PORTVERSION= 1.3.0p5 CATEGORIES= math python -MASTER_SITES= PYPI +MASTER_SITES= PYPI/source/p/pyclipper PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/.post/} MAINTAINER= lantw44@gmail.com COMMENT= Cython wrapper for the C++ translation of Clipper library WWW= https://github.com/greginvm/pyclipper LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.11.1:devel/py-setuptools_scm@${PY_FLAVOR} -USES= python zip -USE_PYTHON= distutils cython autoplist +USES= python +USE_PYTHON= distutils cython autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyclipper/_pyclipper${PYTHON_EXT_SUFFIX}.so .include diff --git a/math/py-pyclipper/distinfo b/math/py-pyclipper/distinfo index 107801d61cbc..91fc9d143862 100644 --- a/math/py-pyclipper/distinfo +++ b/math/py-pyclipper/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1615684973 -SHA256 (pyclipper-1.2.1.zip) = ca3751e93559f0438969c46f17459d07f983281dac170c3479de56492e152855 -SIZE (pyclipper-1.2.1.zip) = 143326 +TIMESTAMP = 1702316461 +SHA256 (pyclipper-1.3.0.post5.tar.gz) = c0239f928e0bf78a3efc2f2f615a10bfcdb9f33012d46d64c8d1225b4bde7096 +SIZE (pyclipper-1.3.0.post5.tar.gz) = 164719