mirror of https://git.FreeBSD.org/ports.git
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)
This commit is contained in:
parent
7b3bb5eac3
commit
37061d526a
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue