Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2025 19:32:07 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 37061d526a46 - main - cad/py-gdspy: update 1.6.11 => 1.6.13
Message-ID:  <202506051932.555JW7Si019934@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

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

commit 37061d526a46575761d0877eed60aff121577a2c
Author:     Älven <alster@vinterdalen.se>
AuthorDate: 2025-06-05 19:21:17 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-06-05 19:28:50 +0000

    cad/py-gdspy: update 1.6.11 => 1.6.13
    
    Changelog:
      Version 1.6.13 (Apr 26, 2023)
        Allow ill-formed GDSII label anchors to be correctly loaded.
      Version 1.6.12 (Jun 2, 2022)
        Fix in Cell.get_texttypes.
        Allow labels to inherit transforms through get_labels.
    https://github.com/heitzmann/gdspy/blob/v1.6.13/README.md#version-1613-apr-26-2023
    
    * Replace PORTVERSION with DISTVERSION
    * Move plist entries to dedicated pkg-plist
    * Small linting and sorting entries to portclippy(1)
    
    PR:             285508
    Approved by:    hrs (maintainer, timeout > 2 months)
---
 cad/py-gdspy/Makefile  | 31 ++++++++-----------------------
 cad/py-gdspy/distinfo  |  6 +++---
 cad/py-gdspy/pkg-plist | 14 ++++++++++++++
 3 files changed, 25 insertions(+), 26 deletions(-)

diff --git a/cad/py-gdspy/Makefile b/cad/py-gdspy/Makefile
index 0edcfe73bf38..0fbf637ba381 100644
--- a/cad/py-gdspy/Makefile
+++ b/cad/py-gdspy/Makefile
@@ -1,13 +1,12 @@
 PORTNAME=	gdspy
-PORTVERSION=	1.6.11
-PORTREVISION=	2
 DISTVERSIONPREFIX=	v
+DISTVERSION=	1.6.13
 CATEGORIES=	cad python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Python module for creating GDSII stream files
-WWW=		https://github.com/heitzmann/gdspy
+WWW=		https://github.com/heitzmann/gdspy/
 
 LICENSE=	BSL
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -16,30 +15,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
 TEST_DEPENDS=	pytest:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
 USE_GITHUB=	yes
 GH_ACCOUNT=	heitzmann
+USE_PYTHON=	autoplist distutils
 
 OPTIONS_DEFINE=	EXAMPLES
-EXAMPLES_PLIST_FILES=	\
-	${EXAMPLESDIR}/cell.py \
-	${EXAMPLESDIR}/cellarray.py \
-	${EXAMPLESDIR}/cellreference.py \
-	${EXAMPLESDIR}/curve.py \
-	${EXAMPLESDIR}/flexpath.py \
-	${EXAMPLESDIR}/functions.py \
-	${EXAMPLESDIR}/gdslibrary.py \
-	${EXAMPLESDIR}/gdswriter.py \
-	${EXAMPLESDIR}/polygonset.py \
-	${EXAMPLESDIR}/robustpath.py \
-	${EXAMPLESDIR}/test.gds \
-	${EXAMPLESDIR}/tutils.py \
-	${EXAMPLESDIR}/maketestgds.py
-
-do-test:
-	cd ${WRKSRC} && \
-	    ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} \
-	    ${LOCALBASE}/bin/pytest
 
 post-install:
 	cd ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} && \
@@ -54,4 +34,9 @@ post-install-EXAMPLES-on:
 	    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
 	    ${INSTALL_SCRIPT} maketestgds.py ${STAGEDIR}${EXAMPLESDIR}
 
+do-test:
+	cd ${WRKSRC} && \
+	    ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} \
+	    ${LOCALBASE}/bin/pytest
+
 .include <bsd.port.mk>
diff --git a/cad/py-gdspy/distinfo b/cad/py-gdspy/distinfo
index 954e4881a56e..139cb929e439 100644
--- a/cad/py-gdspy/distinfo
+++ b/cad/py-gdspy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645103918
-SHA256 (heitzmann-gdspy-v1.6.11_GH0.tar.gz) = 5b04147f6625bfdab3c0473cb7c6adb0fa8838bfa1e2df272778fca2a586a6f9
-SIZE (heitzmann-gdspy-v1.6.11_GH0.tar.gz) = 404946
+TIMESTAMP = 1742326340
+SHA256 (heitzmann-gdspy-v1.6.13_GH0.tar.gz) = 8dc2894f447018499a797dc5f37507bddd5b05281d85848e12413fbb12b9b7b8
+SIZE (heitzmann-gdspy-v1.6.13_GH0.tar.gz) = 405703
diff --git a/cad/py-gdspy/pkg-plist b/cad/py-gdspy/pkg-plist
new file mode 100644
index 000000000000..151945b6404e
--- /dev/null
+++ b/cad/py-gdspy/pkg-plist
@@ -0,0 +1,14 @@
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cell.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cellarray.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cellreference.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/curve.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/flexpath.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/functions.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gdslibrary.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gdswriter.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/labels_rotated.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maketestgds.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/polygonset.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/robustpath.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.gds
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutils.py


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506051932.555JW7Si019934>