pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gdstk: Import gdstk-0.9.58 as wip/gdstk



Module Name:	pkgsrc-wip
Committed By:	Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By:	steleto
Date:		Wed Jan 22 00:59:30 2025 +0900
Changeset:	a35ced126beb3cfac0e8a078fdc3ab6e7ed75f60

Modified Files:
	Makefile
Added Files:
	gdstk/DESCR
	gdstk/Makefile
	gdstk/PLIST
	gdstk/buildlink3.mk
	gdstk/distinfo

Log Message:
gdstk: Import gdstk-0.9.58 as wip/gdstk

C++ header/library

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a35ced126beb3cfac0e8a078fdc3ab6e7ed75f60

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 +
 gdstk/DESCR         | 13 +++++++++++++
 gdstk/Makefile      | 20 ++++++++++++++++++++
 gdstk/PLIST         | 31 +++++++++++++++++++++++++++++++
 gdstk/buildlink3.mk | 15 +++++++++++++++
 gdstk/distinfo      |  5 +++++
 6 files changed, 85 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e53c642577..0d9aeb4887 100644
--- a/Makefile
+++ b/Makefile
@@ -1198,6 +1198,7 @@ SUBDIR+=	gdk-pixbuf-jxl
 SUBDIR+=	gdm
 SUBDIR+=	gdm2
 SUBDIR+=	gdsreader
+SUBDIR+=	gdstk
 SUBDIR+=	geant
 SUBDIR+=	gecode
 SUBDIR+=	geekcode
diff --git a/gdstk/DESCR b/gdstk/DESCR
new file mode 100644
index 0000000000..1a8c340f52
--- /dev/null
+++ b/gdstk/DESCR
@@ -0,0 +1,13 @@
+Gdstk (GDSII Tool Kit) is a C++/Python 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/gdstk/Makefile b/gdstk/Makefile
new file mode 100644
index 0000000000..b7fbd6e1a0
--- /dev/null
+++ b/gdstk/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	gdstk-0.9.58
+CATEGORIES=	cad
+MASTER_SITES=	${MASTER_SITE_GITHUB:=heitzmann/}
+GITHUB_PROJECT=	gdstk
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/heitzmann/gdstk/
+COMMENT=	Python/C++ library for GDSII and OASIS files
+LICENSE=	boost-license
+
+USE_LANGUAGES+=	c c++
+
+.include "../../devel/cmake/build.mk"
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../math/qhull/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gdstk/PLIST b/gdstk/PLIST
new file mode 100644
index 0000000000..118ad5c3ac
--- /dev/null
+++ b/gdstk/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+include/gdstk/allocator.hpp
+include/gdstk/array.hpp
+include/gdstk/cell.hpp
+include/gdstk/clipper_tools.hpp
+include/gdstk/curve.hpp
+include/gdstk/flexpath.hpp
+include/gdstk/font.hpp
+include/gdstk/gdsii.hpp
+include/gdstk/gdstk.hpp
+include/gdstk/gdswriter.hpp
+include/gdstk/label.hpp
+include/gdstk/library.hpp
+include/gdstk/map.hpp
+include/gdstk/oasis.hpp
+include/gdstk/pathcommon.hpp
+include/gdstk/polygon.hpp
+include/gdstk/property.hpp
+include/gdstk/raithdata.hpp
+include/gdstk/rawcell.hpp
+include/gdstk/reference.hpp
+include/gdstk/repetition.hpp
+include/gdstk/robustpath.hpp
+include/gdstk/set.hpp
+include/gdstk/sort.hpp
+include/gdstk/style.hpp
+include/gdstk/tagmap.hpp
+include/gdstk/utils.hpp
+include/gdstk/vec.hpp
+lib/libclipper.a
+lib/libgdstk.a
diff --git a/gdstk/buildlink3.mk b/gdstk/buildlink3.mk
new file mode 100644
index 0000000000..d363776f50
--- /dev/null
+++ b/gdstk/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	gdstk
+
+.if !defined(GDSTK_BUILDLINK3_MK)
+GDSTK_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gdstk+=	gdstk>=0.9.58
+BUILDLINK_PKGSRCDIR.gdstk?=	../../wip/gdstk
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../math/qhull/buildlink3.mk"
+.endif	# GDSTK_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-gdstk
diff --git a/gdstk/distinfo b/gdstk/distinfo
new file mode 100644
index 0000000000..b196c8f2f9
--- /dev/null
+++ b/gdstk/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.9 2024/02/23 09:39:17 mef Exp $
+
+BLAKE2s (gdstk-0.9.58.tar.gz) = adebfa70196c477d48c123824e851a05dfa64fc6988f8a127295835f72c2ac1c
+SHA512 (gdstk-0.9.58.tar.gz) = aa11c5780e401f7a0328c97db05fe567868ae25910a6f93c4aae276b2372d13b853909855261e34e17ed42d6d8de43412a10e4ba65fc98f8a5cd8825a46dcdfc
+Size (gdstk-0.9.58.tar.gz) = 366790 bytes


Home | Main Index | Thread Index | Old Index