git: 0afb957dcd29 - main - math/py-pyclipper: update 1.2.1 → 1.3.0p5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Dec 2023 17:55:00 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0afb957dcd29b11c77f7d53ebc0da67a9f180589
commit 0afb957dcd29b11c77f7d53ebc0da67a9f180589
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-11 17:52:29 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-11 17:54:58 +0000
math/py-pyclipper: update 1.2.1 → 1.3.0p5
PR: 269501
Submitted by: lantw44@gmail.com (maintainer), with minor alteration and addition
---
math/py-pyclipper/Makefile | 14 ++++++++++----
math/py-pyclipper/distinfo | 6 +++---
2 files changed, 13 insertions(+), 7 deletions(-)
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,8 +1,9 @@
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
@@ -13,7 +14,12 @@ 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 <bsd.port.mk>
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