pkgsrc-Changes archive

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

CVS commit: pkgsrc/cad/py-gds



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr 27 18:50:26 UTC 2020

Modified Files:
        pkgsrc/cad/py-gds: Makefile PLIST distinfo

Log Message:
py-gds: updated to 1.5.2

Version 1.5.2 (Feb 01, 2020)
Added support for importing GDSII files containing BOX elements.
Bug fix in GdsLibrary.extract (thanks collineps for finding the problem).

Version 1.5 (Dec 20, 2019)
New Cell.write_svg function to export an SVG image of the cell.
New GdsLibrary.new_cell function to quickly create and add cells to a library.
GdsLibrary.add can update references when a cell is overwritten.
Added GdsLibrary.remove to allow cells to be properly removed from libraries.
Added GdsLibrary.rename_cell to rename cells in libraries.
Added GdsLibrary.replace_references to easily replace referenced cells in libraries.
GdsLibrary.add can add dependencies recursively.
Iterating over GdsLibrary objects yields all its cells.
Iterating over Cell objects yield all its polygons, paths, labels and references.
Breaking change to *.to_gds functions in order to improve write efficiency (this should not be a problem for most users, since gdspy.write_gds and Cell.write_gds remain the same).
Breaking change: renamed GdsLibrary.cell_dict to GdsLibrary.cells.
Deprecated: gdspy.current_library, gdspy.write_gds, gdspy.fast_boolen, GdsLibrary.extract.
Bug fixes and better tests for FlexPath and RobustPath.

Version 1.4.3 (Nov 11, 2019)
Bug fix for FlexPath and RobustPath references.

Version 1.4.2 (Oct 01, 2019)
Bug fix in FlexPath.

Version 1.4.1 (Sep 20, 2019)
Bug fixes (thanks to DerekK88 and Sequencer for the patches).

Version 1.4 (May 18, 2019)
Revised documentation.
New FlexPath and RobustPath classes: more efficient path generation when using the original GDSII path specification.
New Curve class: SVG-like polygon creation.
Added PolygonSet.mirror (thanks to Daan Waardenburg for the contribution).
Added Path.bezier to create paths based on Bézier curves.
Added Path.smooth to create paths based on smooth interpolating curves.
Added get_gds_units to get units used in a GDSII file without loading.
Added get_binary_cells to load only the binary GDSII representation of cell from a file.
Added argument tolerance to Round, Path.arc, Path.turn, and Path.parametric to automatically control the number of points in the final polygons.
Added argument binary_cells to GDSII writing functions to support get_binary_cells.
Added argument rename_template to GdsLibrary.read_gds for flexible cell renaming (thanks to @yoshi74ls181 for the contribution).
Changed return value of slice to avoid creating empty PolygonSet.
Added argument timestamp to GDSII writing functions.
Improved Round to support creating ellipses.
Added support for unlimited number of points per polygon.
Added support for BGNEXTN and ENDEXTN when reading a GDSII file.
Polygon creation warnings are now controlled by poly_warnings.
Incorrect anchor in Label now raises an error, instead of emitting a warning.
Added correct support for radius in PolygonSet.fillet on a per-vertex basis.
Speed improvements in GDSII file generation (thanks to @fbeutel for the contribution) and geometry creation.
Font rendering example using matplotlib (thanks Hernan Pastoriza for the contribution).
Expanded test suite.

Version 1.3.2 (Mar 14, 2019)
Small fix for building on Mac OS X Mojave.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/cad/py-gds/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/cad/py-gds/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/cad/py-gds/distinfo

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

Modified files:

Index: pkgsrc/cad/py-gds/Makefile
diff -u pkgsrc/cad/py-gds/Makefile:1.11 pkgsrc/cad/py-gds/Makefile:1.12
--- pkgsrc/cad/py-gds/Makefile:1.11     Sat Jun  8 11:04:29 2019
+++ pkgsrc/cad/py-gds/Makefile  Mon Apr 27 18:50:26 2020
@@ -1,22 +1,23 @@
-# $NetBSD: Makefile,v 1.11 2019/06/08 11:04:29 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2020/04/27 18:50:26 adam Exp $
 
-VERSION=       1.3.1
-DISTNAME=      gdspy-${VERSION}
-PKGNAME=       ${PYPKGPREFIX}-gds-${VERSION}
-CATEGORIES=    cad
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=heitzmann/}
-GITHUB_PROJECT=        gdspy
-GITHUB_TAG=    v${VERSION}
+DISTNAME=      gdspy-1.5.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    cad python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=g/gdspy/}
+EXTRACT_SUFX=  .zip
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/heitzmann/gdspy
 COMMENT=       Python module for creating GDSII stream files
 LICENSE=       boost-license
 
-USE_LANGUAGES+=        c c++
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
+.endif
 
-DEPENDS+=      ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
+USE_LANGUAGES+=        c c++
 
 .include "../../lang/python/egg.mk"
-
+.include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/cad/py-gds/PLIST
diff -u pkgsrc/cad/py-gds/PLIST:1.6 pkgsrc/cad/py-gds/PLIST:1.7
--- pkgsrc/cad/py-gds/PLIST:1.6 Sat Apr  8 12:44:48 2017
+++ pkgsrc/cad/py-gds/PLIST     Mon Apr 27 18:50:26 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2017/04/08 12:44:48 mef Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/04/27 18:50:26 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,8 +8,10 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
 ${PYSITELIB}/gdspy/__init__.py
 ${PYSITELIB}/gdspy/__init__.pyc
 ${PYSITELIB}/gdspy/__init__.pyo
-${PYSITELIB}/gdspy/boolext.so
 ${PYSITELIB}/gdspy/clipper.so
+${PYSITELIB}/gdspy/curve.py
+${PYSITELIB}/gdspy/curve.pyc
+${PYSITELIB}/gdspy/curve.pyo
 ${PYSITELIB}/gdspy/data/00.xbm
 ${PYSITELIB}/gdspy/data/01.xbm
 ${PYSITELIB}/gdspy/data/02.xbm
@@ -23,6 +25,24 @@ ${PYSITELIB}/gdspy/data/09.xbm
 ${PYSITELIB}/gdspy/data/down.xbm
 ${PYSITELIB}/gdspy/data/outline.xbm
 ${PYSITELIB}/gdspy/data/up.xbm
+${PYSITELIB}/gdspy/gdsiiformat.py
+${PYSITELIB}/gdspy/gdsiiformat.pyc
+${PYSITELIB}/gdspy/gdsiiformat.pyo
+${PYSITELIB}/gdspy/label.py
+${PYSITELIB}/gdspy/label.pyc
+${PYSITELIB}/gdspy/label.pyo
+${PYSITELIB}/gdspy/library.py
+${PYSITELIB}/gdspy/library.pyc
+${PYSITELIB}/gdspy/library.pyo
+${PYSITELIB}/gdspy/operation.py
+${PYSITELIB}/gdspy/operation.pyc
+${PYSITELIB}/gdspy/operation.pyo
+${PYSITELIB}/gdspy/path.py
+${PYSITELIB}/gdspy/path.pyc
+${PYSITELIB}/gdspy/path.pyo
+${PYSITELIB}/gdspy/polygon.py
+${PYSITELIB}/gdspy/polygon.pyc
+${PYSITELIB}/gdspy/polygon.pyo
 ${PYSITELIB}/gdspy/viewer.py
 ${PYSITELIB}/gdspy/viewer.pyc
 ${PYSITELIB}/gdspy/viewer.pyo

Index: pkgsrc/cad/py-gds/distinfo
diff -u pkgsrc/cad/py-gds/distinfo:1.8 pkgsrc/cad/py-gds/distinfo:1.9
--- pkgsrc/cad/py-gds/distinfo:1.8      Sat Jul  7 12:04:00 2018
+++ pkgsrc/cad/py-gds/distinfo  Mon Apr 27 18:50:26 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2018/07/07 12:04:00 mef Exp $
+$NetBSD: distinfo,v 1.9 2020/04/27 18:50:26 adam Exp $
 
-SHA1 (gdspy-1.3.1.tar.gz) = 7b298a71539d96658fb9b0e3eca1ca722042ddf3
-RMD160 (gdspy-1.3.1.tar.gz) = a9f5b8e0f9cfbcfdc3a68c9630798c6e1487a458
-SHA512 (gdspy-1.3.1.tar.gz) = f7b9cac546fe7100fb4f326da298ea912bb3017e2f9b5ca12ac17d6099db1b73bf75a413c9d680051f00b222e65cdb1f0010b510ca393810d2734ebadb53a620
-Size (gdspy-1.3.1.tar.gz) = 112694 bytes
+SHA1 (gdspy-1.5.2.zip) = 97a0f614aee05b79dbcec42740670c98e4980eaa
+RMD160 (gdspy-1.5.2.zip) = d2fcfada1ee830fa9a63c690418935c6b6703ca4
+SHA512 (gdspy-1.5.2.zip) = 33fb48da4a9ed9e789d9da41e8428c859c66f39d50a2edf88cbe41f9396d210e5b7f41b5446814f0f52ef51368a5fb689a96cdc3b71d93ba03bfc83fb9306cb0
+Size (gdspy-1.5.2.zip) = 7128099 bytes



Home | Main Index | Thread Index | Old Index