pkgsrc-WIP-changes archive

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

py-gdstk: Import cad/py-gdstk and update to 0.9.58



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

Modified Files:
	Makefile
Added Files:
	py-gdstk/COMMIT_MSG
	py-gdstk/DESCR
	py-gdstk/Makefile
	py-gdstk/PLIST
	py-gdstk/distinfo

Log Message:
py-gdstk: Import cad/py-gdstk and update to 0.9.58

0.9.58 - 2024-11-25

Changed
- Empty paths now give a warning when being converted to polygons or
  stored in GDSII/OASIS.
Fixed
- Missing paths when vertices were separated exactly by the tolerance
  (#277)

0.9.57 - 2024-11-07

Fixed
- Bug when removing GDSII properties (#276, thanks jatoben).

0.9.56 - 2024-10-28

Added
- Support for Python 3.13.
Fixed
- Copy Raith data in `Cell::get_flexpaths`.

0.9.55 - 2024-08-31

Fixed
- Memory bug fix for Raith data

0.9.54 - 2024-08-31

Changed
- Dropped unnecessary dependencies
Fixed
- Trapezoid loading bug in OASIS format

0.9.53 - 2024-07-04

Added
- Support for Raith MBMS path data (thanks Matthew Mckee).
- Support for numpy 2.0
Changed
- Dropped support for python 3.8
Fixed
- Qhull maximal number of points.

0.9.52 - 2024-04-18

Fixed
- Infinite loop in `Cell::remap_tags` (#246, thanks dtzitkas!)
- Install headers when targeting the C++ library (#245)

0.9.51 - 2024-04-17

Changed
- Use scikit-build-core for building, which enables support for Python
  3.12 on Windows.

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

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

diffstat:
 Makefile            |  1 +
 py-gdstk/COMMIT_MSG | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 py-gdstk/DESCR      | 13 +++++++++++
 py-gdstk/Makefile   | 29 ++++++++++++++++++++++++
 py-gdstk/PLIST      | 11 ++++++++++
 py-gdstk/distinfo   |  5 +++++
 6 files changed, 122 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7ef72f5226..e53c642577 100644
--- a/Makefile
+++ b/Makefile
@@ -3813,6 +3813,7 @@ SUBDIR+=	py-gauss
 SUBDIR+=	py-gbpy
 SUBDIR+=	py-gcalcli
 SUBDIR+=	py-gdal
+SUBDIR+=	py-gdstk
 SUBDIR+=	py-gdxcc
 SUBDIR+=	py-gem
 SUBDIR+=	py-genesis
diff --git a/py-gdstk/COMMIT_MSG b/py-gdstk/COMMIT_MSG
new file mode 100644
index 0000000000..a7c15d31d1
--- /dev/null
+++ b/py-gdstk/COMMIT_MSG
@@ -0,0 +1,63 @@
+cad/py-gdstk: Update to 0.9.58
+
+0.9.58 - 2024-11-25
+
+Changed
+- Empty paths now give a warning when being converted to polygons or
+  stored in GDSII/OASIS.
+Fixed
+- Missing paths when vertices were separated exactly by the tolerance
+  (#277)
+
+
+0.9.57 - 2024-11-07
+
+Fixed
+- Bug when removing GDSII properties (#276, thanks jatoben).
+
+
+0.9.56 - 2024-10-28
+
+Added
+- Support for Python 3.13.
+Fixed
+- Copy Raith data in `Cell::get_flexpaths`.
+
+
+0.9.55 - 2024-08-31
+
+Fixed
+- Memory bug fix for Raith data
+
+
+0.9.54 - 2024-08-31
+
+Changed
+- Dropped unnecessary dependencies
+Fixed
+- Trapezoid loading bug in OASIS format
+
+
+0.9.53 - 2024-07-04
+
+Added
+- Support for Raith MBMS path data (thanks Matthew Mckee).
+- Support for numpy 2.0
+Changed
+- Dropped support for python 3.8
+Fixed
+- Qhull maximal number of points.
+
+
+0.9.52 - 2024-04-18
+
+Fixed
+- Infinite loop in `Cell::remap_tags` (#246, thanks dtzitkas!)
+- Install headers when targeting the C++ library (#245)
+
+
+0.9.51 - 2024-04-17
+
+Changed
+- Use scikit-build-core for building, which enables support for Python
+  3.12 on Windows.
diff --git a/py-gdstk/DESCR b/py-gdstk/DESCR
new file mode 100644
index 0000000000..1a8c340f52
--- /dev/null
+++ b/py-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/py-gdstk/Makefile b/py-gdstk/Makefile
new file mode 100644
index 0000000000..c5bc4141e1
--- /dev/null
+++ b/py-gdstk/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.15 2024/10/14 06:45:32 wiz Exp $
+
+DISTNAME=	gdstk-0.9.58
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	cad python
+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=	C++/Python library for GDSII and OASIS files
+LICENSE=	boost-license
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-scikit-build-core-[0-9]*:../../devel/py-scikit-build-core
+
+USE_LANGUAGES+=	c c++
+
+WHEEL_ARGS+=	-C cmake.define.CMAKE_BUILD_WITH_INSTALL_RPATH=1
+
+PRINT_PLIST_AWK+=	{gsub(/${PYVERSSUFFIX:S/.//}/, "$${PYVERS}");}
+PLIST_SUBST+=		PYVERS=${PYVERSSUFFIX:S/.//}
+
+.include "../../lang/python/wheel.mk"
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../math/py-numpy/buildlink3.mk"
+.include "../../math/qhull/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-gdstk/PLIST b/py-gdstk/PLIST
new file mode 100644
index 0000000000..b3b620b8e1
--- /dev/null
+++ b/py-gdstk/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/gdstk/__init__.py
+${PYSITELIB}/gdstk/__init__.pyc
+${PYSITELIB}/gdstk/__init__.pyo
+${PYSITELIB}/gdstk/_gdstk.cpython-${PYVERS}.so
+${PYSITELIB}/gdstk/_gdstk.pyi
+${PYSITELIB}/gdstk/py.typed
diff --git a/py-gdstk/distinfo b/py-gdstk/distinfo
new file mode 100644
index 0000000000..b196c8f2f9
--- /dev/null
+++ b/py-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