git: 6be60f6fb842 - main - cad/{,py-}gdstk: update 0.9.52 → 0.9.53

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 14 Jul 2024 22:29:43 UTC
The branch main has been updated by yuri:

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

commit 6be60f6fb842bbd212bb0d25c0c9d5b0e7cb2170
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-14 19:32:36 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-14 22:29:33 +0000

    cad/{,py-}gdstk: update 0.9.52 → 0.9.53
    
    Reported by:    portscout
---
 cad/gdstk/Makefile                      |  2 +-
 cad/gdstk/distinfo                      |  6 +++---
 cad/gdstk/pkg-plist                     |  1 +
 cad/py-gdstk/Makefile                   |  5 +++--
 cad/py-gdstk/distinfo                   |  6 +++---
 cad/py-gdstk/files/patch-pyproject.toml | 19 +++++++++++++++----
 6 files changed, 26 insertions(+), 13 deletions(-)

diff --git a/cad/gdstk/Makefile b/cad/gdstk/Makefile
index ce5d56467f72..12f83e6efe47 100644
--- a/cad/gdstk/Makefile
+++ b/cad/gdstk/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gdstk
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.9.52
+DISTVERSION=	0.9.53
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/cad/gdstk/distinfo b/cad/gdstk/distinfo
index 8f8b8a64624e..40306c73a88f 100644
--- a/cad/gdstk/distinfo
+++ b/cad/gdstk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1716736841
-SHA256 (heitzmann-gdstk-v0.9.52_GH0.tar.gz) = 1369ab198b946018e3fdae1267296fc47c047b4fc9ffd059a59955406c1b1394
-SIZE (heitzmann-gdstk-v0.9.52_GH0.tar.gz) = 361499
+TIMESTAMP = 1720985146
+SHA256 (heitzmann-gdstk-v0.9.53_GH0.tar.gz) = 8fdf85e9e90838720ff1d3555e5b880868cbc18a919261f317772b0327457be0
+SIZE (heitzmann-gdstk-v0.9.53_GH0.tar.gz) = 365722
diff --git a/cad/gdstk/pkg-plist b/cad/gdstk/pkg-plist
index ac959a099016..a99dcceab893 100644
--- a/cad/gdstk/pkg-plist
+++ b/cad/gdstk/pkg-plist
@@ -15,6 +15,7 @@ include/gdstk/oasis.hpp
 include/gdstk/pathcommon.hpp
 include/gdstk/polygon.hpp
 include/gdstk/property.hpp
+include/gdstk/raithdata.hpp
 include/gdstk/rawcell.hpp
 include/gdstk/reference.hpp
 include/gdstk/repetition.hpp
diff --git a/cad/py-gdstk/Makefile b/cad/py-gdstk/Makefile
index 9a66c79afa92..5713a2143acf 100644
--- a/cad/py-gdstk/Makefile
+++ b/cad/py-gdstk/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gdstk
-DISTVERSION=	0.9.52
+DISTVERSION=	0.9.53
 CATEGORIES=	cad
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -21,8 +21,9 @@ 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/gdstk/issues/244
+USE_PYTHON=	pep517 autoplist pytest # tests crash, see https://github.com/heitzmann/gdstk/issues/263
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC=	${WRKSRC}/tests
 
 .include <bsd.port.mk>
diff --git a/cad/py-gdstk/distinfo b/cad/py-gdstk/distinfo
index f9e945b42269..8bff318c279e 100644
--- a/cad/py-gdstk/distinfo
+++ b/cad/py-gdstk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1716737479
-SHA256 (gdstk-0.9.52.tar.gz) = 42267292d272f4a4c8229091dc83a496d0a15f969cf36693b5597d3fe8efb92f
-SIZE (gdstk-0.9.52.tar.gz) = 311291
+TIMESTAMP = 1720985236
+SHA256 (gdstk-0.9.53.tar.gz) = 73c87e2e3d43911b09f2a10c90359426bd15dcdeb799606bbc1e93e49acacd90
+SIZE (gdstk-0.9.53.tar.gz) = 315746
diff --git a/cad/py-gdstk/files/patch-pyproject.toml b/cad/py-gdstk/files/patch-pyproject.toml
index 9c5fa81d18bb..58a748ace137 100644
--- a/cad/py-gdstk/files/patch-pyproject.toml
+++ b/cad/py-gdstk/files/patch-pyproject.toml
@@ -1,9 +1,20 @@
---- pyproject.toml.orig	2023-08-28 16:28:32 UTC
+--- pyproject.toml.orig	2024-07-04 23:14:49 UTC
 +++ pyproject.toml
-@@ -38,5 +38,5 @@ requires = [
-     "setuptools>=42",
-     "wheel",
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ requires = [
+     "scikit_build_core",
+-    "numpy >= 2.0"
++    "numpy"
+ ]
+ build-backend = "scikit_build_core.build"
+ 
+@@ -29,7 +29,7 @@ dependencies = [
+ license = {file = "LICENSE"}
+ dependencies = [
      "numpy; platform_system=='Darwin'",
 -    "oldest-supported-numpy; platform_system!='Darwin'",
 +    "numpy; platform_system!='Darwin'",
+     "typing_extensions; python_version < '3.11'"
  ]
+ requires-python = ">=3.9"