summaryrefslogtreecommitdiff
path: root/cad/py-gdspy
diff options
context:
space:
mode:
Diffstat (limited to 'cad/py-gdspy')
-rw-r--r--cad/py-gdspy/Makefile31
-rw-r--r--cad/py-gdspy/distinfo6
-rw-r--r--cad/py-gdspy/pkg-plist14
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