diff options
author | mef <mef@pkgsrc.org> | 2022-06-17 11:38:30 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2022-06-17 11:38:30 +0000 |
commit | e9d1977a8407bfa8dabea93a118fc179eb88c782 (patch) | |
tree | d77c78808a1f49b36d8df0892aeedba13ae2f132 /cad | |
parent | 1de34c5c73aa73b1a037b13d40d179d099057de2 (diff) | |
download | pkgsrc-e9d1977a8407bfa8dabea93a118fc179eb88c782.tar.gz |
cad/py-gdstk: import py39-gdstk-0.8.3
Gdstk (GDSII Tool Kit) is a C++ library for creation and manipulation of
GDSII and OASIS files. It is also available as a Python module meant to be
a successor to Gdspy.
Key features for the creation of complex CAD layouts are included:
- Boolean operations on polygons (AND, OR, NOT, XOR) based on clipping
algorithm
- Polygon offset (inward and outward rescaling of polygons)
- Efficient point-in-polygon solutions for large array sets
Typical applications of Gdstk are in the fields of electronic chip design,
planar lightwave circuit design, and mechanical engineering.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/py-gdstk/DESCR | 13 | ||||
-rw-r--r-- | cad/py-gdstk/Makefile | 24 | ||||
-rw-r--r-- | cad/py-gdstk/PLIST | 8 | ||||
-rw-r--r-- | cad/py-gdstk/distinfo | 5 |
4 files changed, 50 insertions, 0 deletions
diff --git a/cad/py-gdstk/DESCR b/cad/py-gdstk/DESCR new file mode 100644 index 00000000000..05b4123ad73 --- /dev/null +++ b/cad/py-gdstk/DESCR @@ -0,0 +1,13 @@ +Gdstk (GDSII Tool Kit) is a C++ library for creation and manipulation of +GDSII and OASIS files. It is also available as a Python module meant to be +a successor to Gdspy. + +Key features for the creation of complex CAD layouts are included: + +- Boolean operations on polygons (AND, OR, NOT, XOR) based on clipping + algorithm +- Polygon offset (inward and outward rescaling of polygons) +- Efficient point-in-polygon solutions for large array sets + +Typical applications of Gdstk are in the fields of electronic chip design, +planar lightwave circuit design, and mechanical engineering. diff --git a/cad/py-gdstk/Makefile b/cad/py-gdstk/Makefile new file mode 100644 index 00000000000..0b6fc3a332c --- /dev/null +++ b/cad/py-gdstk/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2022/06/17 11:38:30 mef Exp $ + +VERSION= 0.8.3 +GITHUB_TAG= v${VERSION} +DISTNAME= gdstk-${VERSION} +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= cad +MASTER_SITES= ${MASTER_SITE_GITHUB:=heitzmann/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/heitzmann/gdstk/ +COMMENT= C++ library for GDSII and OASIS files +LICENSE= boost-license + +WRKSRC= ${WRKDIR}/${DISTNAME} +USE_LANGUAGES+= c c++ +USE_TOOLS+= cmake + +PYTHON_VERSIONS_INCOMPATIBLE= 27 37 + +.include "../../devel/zlib/buildlink3.mk" +.include "../../math/py-numpy/buildlink3.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/cad/py-gdstk/PLIST b/cad/py-gdstk/PLIST new file mode 100644 index 00000000000..6cb66a44b03 --- /dev/null +++ b/cad/py-gdstk/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1 2022/06/17 11:38:30 mef Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/gdstk.so diff --git a/cad/py-gdstk/distinfo b/cad/py-gdstk/distinfo new file mode 100644 index 00000000000..74d2c0cca6c --- /dev/null +++ b/cad/py-gdstk/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2022/06/17 11:38:30 mef Exp $ + +BLAKE2s (gdstk-0.8.3.tar.gz) = 6195166800f07ace59159b932f36348f49110e07fe0a46adcf3ff522dc476229 +SHA512 (gdstk-0.8.3.tar.gz) = 1106c8e7870662448929d2e6cc5b15babe5bf6f6be7a2631fc2d47b840964ba96d87ae86e5ca8a5566c87f189d164ac8e402bc82e8f08abee4bf8374bbf15e0d +Size (gdstk-0.8.3.tar.gz) = 613066 bytes |