git: d5d96a833b95 - main - cad/{,py-}gdstk: update 0.9.53 → 0.9.55

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 01 Sep 2024 17:40:24 UTC
The branch main has been updated by yuri:

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

commit d5d96a833b9577a93fefcc821f8db70eabeaaf5b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-01 08:35:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-01 17:40:19 +0000

    cad/{,py-}gdstk: update 0.9.53 → 0.9.55
    
    Reported by:    portscout
---
 cad/gdstk/Makefile                      |  4 ++--
 cad/gdstk/distinfo                      |  6 +++---
 cad/py-gdstk/Makefile                   | 12 ++++++++----
 cad/py-gdstk/distinfo                   |  6 +++---
 cad/py-gdstk/files/patch-pyproject.toml | 11 +----------
 5 files changed, 17 insertions(+), 22 deletions(-)

diff --git a/cad/gdstk/Makefile b/cad/gdstk/Makefile
index 12f83e6efe47..9dacf2408354 100644
--- a/cad/gdstk/Makefile
+++ b/cad/gdstk/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gdstk
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.9.53
+DISTVERSION=	0.9.55
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -12,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libqhull_r.so:math/qhull
 
-USES=		cmake compiler:c++11-lang
+USES=		cmake compiler:c++17-lang
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	heitzmann
diff --git a/cad/gdstk/distinfo b/cad/gdstk/distinfo
index 40306c73a88f..b2008d0f1c68 100644
--- a/cad/gdstk/distinfo
+++ b/cad/gdstk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720985146
-SHA256 (heitzmann-gdstk-v0.9.53_GH0.tar.gz) = 8fdf85e9e90838720ff1d3555e5b880868cbc18a919261f317772b0327457be0
-SIZE (heitzmann-gdstk-v0.9.53_GH0.tar.gz) = 365722
+TIMESTAMP = 1725176242
+SHA256 (heitzmann-gdstk-v0.9.55_GH0.tar.gz) = 55bcedc73f4da02cccdcc82dee6b704035c196acc6f56fd36e950a91ccde48d7
+SIZE (heitzmann-gdstk-v0.9.55_GH0.tar.gz) = 365716
diff --git a/cad/py-gdstk/Makefile b/cad/py-gdstk/Makefile
index 5713a2143acf..bcb6787f3046 100644
--- a/cad/py-gdstk/Makefile
+++ b/cad/py-gdstk/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	gdstk
-DISTVERSION=	0.9.53
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.9.55
 CATEGORIES=	cad
-MASTER_SITES=	PYPI
+#MASTER_SITES=	PYPI # some test files are missing
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -20,8 +21,11 @@ BUILD_DEPENDS=	cmake:devel/cmake-core \
 LIB_DEPENDS=	libqhull_r.so:math/qhull
 RUN_DEPENDS=	${PYNUMPY}
 
-USES=		compiler:c++11-lang python
-USE_PYTHON=	pep517 autoplist pytest # tests crash, see https://github.com/heitzmann/gdstk/issues/263
+USES=		compiler:c++17-lang python
+USE_PYTHON=	pep517 autoplist pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	heitzmann
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 TEST_WRKSRC=	${WRKSRC}/tests
diff --git a/cad/py-gdstk/distinfo b/cad/py-gdstk/distinfo
index 8bff318c279e..11e533a5bb68 100644
--- a/cad/py-gdstk/distinfo
+++ b/cad/py-gdstk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720985236
-SHA256 (gdstk-0.9.53.tar.gz) = 73c87e2e3d43911b09f2a10c90359426bd15dcdeb799606bbc1e93e49acacd90
-SIZE (gdstk-0.9.53.tar.gz) = 315746
+TIMESTAMP = 1725176520
+SHA256 (heitzmann-gdstk-v0.9.55_GH0.tar.gz) = 55bcedc73f4da02cccdcc82dee6b704035c196acc6f56fd36e950a91ccde48d7
+SIZE (heitzmann-gdstk-v0.9.55_GH0.tar.gz) = 365716
diff --git a/cad/py-gdstk/files/patch-pyproject.toml b/cad/py-gdstk/files/patch-pyproject.toml
index 58a748ace137..06f4e7fe0066 100644
--- a/cad/py-gdstk/files/patch-pyproject.toml
+++ b/cad/py-gdstk/files/patch-pyproject.toml
@@ -1,4 +1,4 @@
---- pyproject.toml.orig	2024-07-04 23:14:49 UTC
+--- pyproject.toml.orig	2024-08-31 19:01:18 UTC
 +++ pyproject.toml
 @@ -1,7 +1,7 @@ requires = [
  [build-system]
@@ -9,12 +9,3 @@
  ]
  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"