git: ddf83690e417 - main - cad/py-gdstk: update 0.9.50 → 0.9.51

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 18 Apr 2024 06:02:55 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ddf83690e4171846f72b6872deaf487199ee9504

commit ddf83690e4171846f72b6872deaf487199ee9504
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-18 06:01:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-18 06:02:44 +0000

    cad/py-gdstk: update 0.9.50 → 0.9.51
    
    Reported by:    portscout
---
 cad/py-gdstk/Makefile | 9 ++++-----
 cad/py-gdstk/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/cad/py-gdstk/Makefile b/cad/py-gdstk/Makefile
index 8ba863dbdf75..9e5e1045a007 100644
--- a/cad/py-gdstk/Makefile
+++ b/cad/py-gdstk/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gdstk
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.9.50
+DISTVERSION=	0.9.51
 CATEGORIES=	cad
 #MASTER_SITES=	PYPI # build fails from PYPI: https://github.com/heitzmann/gdspy/issues/236
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,6 +13,8 @@ LICENSE=	BSL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	cmake:devel/cmake-core \
+		${PYTHON_PKGNAMEPREFIX}pyproject-metadata>0:devel/py-pyproject-metadata@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} \
 		${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
 		${PYNUMPY}
@@ -20,14 +22,11 @@ LIB_DEPENDS=	libqhull_r.so:math/qhull
 RUN_DEPENDS=	${PYNUMPY}
 
 USES=		compiler:c++11-lang python
-USE_PYTHON=	pep517 autoplist pytest # tests fail to run, see https://github.com/heitzmann/gdspy/issues/237
+USE_PYTHON=	pep517 autoplist pytest # tests fail to run, see https://github.com/heitzmann/gdstk/issues/244
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	heitzmann
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gdstk/gdstk${PYTHON_EXT_SUFFIX}.so
-
 .include <bsd.port.mk>
diff --git a/cad/py-gdstk/distinfo b/cad/py-gdstk/distinfo
index 53f7df3bfc7a..7e18d2b86ff7 100644
--- a/cad/py-gdstk/distinfo
+++ b/cad/py-gdstk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712246518
-SHA256 (heitzmann-gdstk-v0.9.50_GH0.tar.gz) = 9137935a658e726d93d448624401b1ff8ee4ff6c1a3fa9fd397fc0825dfbfb0a
-SIZE (heitzmann-gdstk-v0.9.50_GH0.tar.gz) = 363258
+TIMESTAMP = 1713415099
+SHA256 (heitzmann-gdstk-v0.9.51_GH0.tar.gz) = 158137feb21205510d0eaaa1ba38505d47e2a5e67a81fff122291c6f062b91b4
+SIZE (heitzmann-gdstk-v0.9.51_GH0.tar.gz) = 361392