py-X: update to 0.15 (Spurred by the fact net/scapy expects the SVG support introduced back in 2015.) 0.15 (2019/07/14): - text module: - introduce UnicodeEngine - MultiEngineText to express combined text data for TeX based engines and the new UnicodeEngine - Text and StackedText classes for simple typesetting operations on UnicodeEngine text - rename TexRunner and LatexRunner to TexEngine and LatexEngine - rename cls argument of text.set to engine (with fallback and deprecation warning in place) - improve error handling when input cannot be encoded by texenc - add support for virtual fonts in virtual fonts - font maps: treat font files without extension as Type 1 (to prevent warnings occuring especially with Minion or Libertine fonts) - fix UnicodeDecodeError for invalid character responses by TeX/LaTeX (reported by Gert Ingold) - new examples: - non-ASCII TeX encoding - t1font: - use integers in auto-guessed font descriptors to prevent an issue in pdftex (reported by Michael Hartmann) - fix typo: ItalicAngles -> ItalicAngle (thanks to Ross Moore) - graph.axis.texter: - unify exponential and mixed texter to default texter - use MultiEngineText in all texters (decimal, default, factional) - pdfwriter, pswriter, svgwriter: - removed underscore in PS and PDF and SVG writer options strip_fonts, text_as_path, mesh_as_bitmap, mesh_as_bitmap_resolution (new: stripfonts, textaspath, meshasbitmap and meshasbitmapresolution) to prevent ambiquity with write_ prefixes. - Fix color output in SVG (reported by Michael Hartmann) - deformer: - Fix parallel deformer for empty normsubpaths (thanks to Michael J Gruber) - graph.style: - Use RGBA instead of ARGB in the bitmap fallback of graph.style.density Fix saving SVG as supported modes are limited (thanks to Michael J Gruber) - pattern: - inject default linewidth (reported by Michael J Gruber) - version control: - switched to git on 2018/07/16 with main repository on GitHub 0.14.1 (2015/11/02): - distribution: - upload to PyPI (including old releases) - remove old releases from sourceforge - text module: - fix load_def message parser (reported by Mico Fil坦s) - normpath: - fix intersect with empty normsubpaths (bug #62, thanks to Florent Hivert) 0.14 (2015/04/30): - new svgwriter module: - complete SVG output - SVG font output disabled by default due to missing support by most browsers, fallback by rendering fonts as paths - new svgfile module: - SVG reader - unparsed mode: embedd svg in other svg - parsed mode: supports reading paths (including styles, tranformations, etc.) into a PyX canvas - bitmap module: - using bytes in image type conversions and channel extraction - color module: - fix grey class - fix rgb css binary issue and short code index error - epsfile module: - fix parsing of bounding box - text module: - no end of pages test when no dvi is created at all - add chroot config option needed to use a chrooted TeX installation - graph module: - add xy12axesat feature to graphxyz - canvas module: - fix clipping and transformation applied together - provide _repr_svg_ in canvas for use by IPython - new constructor argument ipython_bboxenlarge - deco module: - remove shortcut for ornaments only to not skip global stylesdiff -r1.1.1.1 -r1.2 pkgsrc/textproc/py-X/DESCR
(gutteridge)
@@ -1,14 +1,16 @@ | @@ -1,14 +1,16 @@ | |||
1 | PyX is a Python package for the creation of PostScript and PDF files. It | 1 | PyX is a Python package for the creation of PostScript, PDF, and SVG files. | |
2 | combines an abstraction of the PostScript drawing model with a TeX/LaTeX | 2 | It combines an abstraction of the PostScript drawing model with a TeX/LaTeX | |
3 | interface. Complex tasks like 2d and 3d plots in publication-ready quality | 3 | interface. Complex tasks like 2d and 3d plots in publication-ready quality | |
4 | are built out of these primitives. | 4 | are built out of these primitives. | |
5 | 5 | |||
6 | Features | 6 | Features | |
7 | * PostScript and PDF output for device independent, freely scalable figures | 7 | * PostScript, PDF, and SVG output for device independent, freely scalable | |
8 | figures | |||
8 | * seamless TeX/LaTeX integration | 9 | * seamless TeX/LaTeX integration | |
9 | * full access to PostScript features like paths, linestyles, fill patterns, | 10 | * full access to PostScript features like paths, linestyles, fill patterns, | |
10 | transformations, clipping, bitmap inclusion, etc. | 11 | transformations, clipping, bitmap inclusion, etc. | |
11 | * advanced geometric operations on paths like intersections, transformations, | 12 | * advanced geometric operations on paths like intersections, transformations, | |
12 | splitting, smoothing, etc. | 13 | splitting, smoothing, etc. | |
13 | * sophisticated graph generation: modular design, pluggable axes, axes | 14 | * sophisticated graph generation: modular design, pluggable axes, axes | |
14 | partitioning based on rational number arithmetics, flexible graph styles, etc. | 15 | partitioning based on rational number arithmetics, flexible graph styles, | |
16 | etc. |
@@ -1,28 +1,27 @@ | @@ -1,28 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.18 2020/01/18 23:35:31 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.19 2020/03/01 02:56:41 gutteridge Exp $ | |
2 | 2 | |||
3 | DISTNAME= PyX-0.13 | 3 | DISTNAME= PyX-0.15 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Py//} | |
5 | CATEGORIES= textproc | 5 | CATEGORIES= textproc python | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyx/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyx/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://pyx.sourceforge.net/ | 9 | HOMEPAGE= https://pyx-project.org/ | |
10 | COMMENT= Package for the creation of PostScript and PDF files | 10 | COMMENT= Package for the creation of PostScript, PDF, and SVG files | |
11 | LICENSE= gnu-gpl-v2 # or later | 11 | LICENSE= gnu-gpl-v2 # or later | |
12 | 12 | |||
13 | DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea | 13 | DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea | |
14 | DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk | 14 | DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk | |
15 | DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin | 15 | DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin | |
16 | DEPENDS+= tex-tex-[0-9]*:../../print/tex-tex | 16 | DEPENDS+= tex-tex-[0-9]*:../../print/tex-tex | |
17 | 17 | |||
18 | USE_LANGUAGES= #none | 18 | USE_LANGUAGES= # none | |
19 | 19 | |||
20 | CONF_FILES= ${PYSITELIB}/pyx/data/pyxrc \ | 20 | CONF_FILES= ${PYSITELIB}/pyx/data/pyxrc \ | |
21 | ${PKG_SYSCONFDIR}/pyxrc | 21 | ${PKG_SYSCONFDIR}/pyxrc | |
22 | 22 | |||
23 | PYTHON_SELF_CONFLICT= yes | 23 | PYTHON_SELF_CONFLICT= yes | |
24 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 24 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
25 | PYTHON_VERSIONS_INCLUDE_3X= yes | |||
26 | 25 | |||
27 | .include "../../lang/python/distutils.mk" | 26 | .include "../../lang/python/distutils.mk" | |
28 | .include "../../mk/bsd.pkg.mk" | 27 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.7 2014/01/20 12:37:04 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.8 2020/03/01 02:56:41 gutteridge Exp $ | |
2 | ${PYSITELIB}/${EGG_FILE} | 2 | ${PYSITELIB}/${EGG_FILE} | |
3 | ${PYSITELIB}/pyx/__init__.py | 3 | ${PYSITELIB}/pyx/__init__.py | |
4 | ${PYSITELIB}/pyx/__init__.pyc | 4 | ${PYSITELIB}/pyx/__init__.pyc | |
5 | ${PYSITELIB}/pyx/__init__.pyo | 5 | ${PYSITELIB}/pyx/__init__.pyo | |
6 | ${PYSITELIB}/pyx/attr.py | 6 | ${PYSITELIB}/pyx/attr.py | |
7 | ${PYSITELIB}/pyx/attr.pyc | 7 | ${PYSITELIB}/pyx/attr.pyc | |
8 | ${PYSITELIB}/pyx/attr.pyo | 8 | ${PYSITELIB}/pyx/attr.pyo | |
9 | ${PYSITELIB}/pyx/baseclasses.py | 9 | ${PYSITELIB}/pyx/baseclasses.py | |
10 | ${PYSITELIB}/pyx/baseclasses.pyc | 10 | ${PYSITELIB}/pyx/baseclasses.pyc | |
11 | ${PYSITELIB}/pyx/baseclasses.pyo | 11 | ${PYSITELIB}/pyx/baseclasses.pyo | |
12 | ${PYSITELIB}/pyx/bbox.py | 12 | ${PYSITELIB}/pyx/bbox.py | |
13 | ${PYSITELIB}/pyx/bbox.pyc | 13 | ${PYSITELIB}/pyx/bbox.pyc | |
14 | ${PYSITELIB}/pyx/bbox.pyo | 14 | ${PYSITELIB}/pyx/bbox.pyo | |
@@ -186,28 +186,37 @@ ${PYSITELIB}/pyx/pdfextra.pyc | @@ -186,28 +186,37 @@ ${PYSITELIB}/pyx/pdfextra.pyc | |||
186 | ${PYSITELIB}/pyx/pdfextra.pyo | 186 | ${PYSITELIB}/pyx/pdfextra.pyo | |
187 | ${PYSITELIB}/pyx/pdfwriter.py | 187 | ${PYSITELIB}/pyx/pdfwriter.py | |
188 | ${PYSITELIB}/pyx/pdfwriter.pyc | 188 | ${PYSITELIB}/pyx/pdfwriter.pyc | |
189 | ${PYSITELIB}/pyx/pdfwriter.pyo | 189 | ${PYSITELIB}/pyx/pdfwriter.pyo | |
190 | ${PYSITELIB}/pyx/pswriter.py | 190 | ${PYSITELIB}/pyx/pswriter.py | |
191 | ${PYSITELIB}/pyx/pswriter.pyc | 191 | ${PYSITELIB}/pyx/pswriter.pyc | |
192 | ${PYSITELIB}/pyx/pswriter.pyo | 192 | ${PYSITELIB}/pyx/pswriter.pyo | |
193 | ${PYSITELIB}/pyx/reader.py | 193 | ${PYSITELIB}/pyx/reader.py | |
194 | ${PYSITELIB}/pyx/reader.pyc | 194 | ${PYSITELIB}/pyx/reader.pyc | |
195 | ${PYSITELIB}/pyx/reader.pyo | 195 | ${PYSITELIB}/pyx/reader.pyo | |
196 | ${PYSITELIB}/pyx/style.py | 196 | ${PYSITELIB}/pyx/style.py | |
197 | ${PYSITELIB}/pyx/style.pyc | 197 | ${PYSITELIB}/pyx/style.pyc | |
198 | ${PYSITELIB}/pyx/style.pyo | 198 | ${PYSITELIB}/pyx/style.pyo | |
199 | ${PYSITELIB}/pyx/svgfile.py | |||
200 | ${PYSITELIB}/pyx/svgfile.pyc | |||
201 | ${PYSITELIB}/pyx/svgfile.pyo | |||
202 | ${PYSITELIB}/pyx/svgwriter.py | |||
203 | ${PYSITELIB}/pyx/svgwriter.pyc | |||
204 | ${PYSITELIB}/pyx/svgwriter.pyo | |||
199 | ${PYSITELIB}/pyx/text.py | 205 | ${PYSITELIB}/pyx/text.py | |
200 | ${PYSITELIB}/pyx/text.pyc | 206 | ${PYSITELIB}/pyx/text.pyc | |
201 | ${PYSITELIB}/pyx/text.pyo | 207 | ${PYSITELIB}/pyx/text.pyo | |
202 | ${PYSITELIB}/pyx/trafo.py | 208 | ${PYSITELIB}/pyx/trafo.py | |
203 | ${PYSITELIB}/pyx/trafo.pyc | 209 | ${PYSITELIB}/pyx/trafo.pyc | |
204 | ${PYSITELIB}/pyx/trafo.pyo | 210 | ${PYSITELIB}/pyx/trafo.pyo | |
205 | ${PYSITELIB}/pyx/unit.py | 211 | ${PYSITELIB}/pyx/unit.py | |
206 | ${PYSITELIB}/pyx/unit.pyc | 212 | ${PYSITELIB}/pyx/unit.pyc | |
207 | ${PYSITELIB}/pyx/unit.pyo | 213 | ${PYSITELIB}/pyx/unit.pyo | |
214 | ${PYSITELIB}/pyx/utils.py | |||
215 | ${PYSITELIB}/pyx/utils.pyc | |||
216 | ${PYSITELIB}/pyx/utils.pyo | |||
208 | ${PYSITELIB}/pyx/version.py | 217 | ${PYSITELIB}/pyx/version.py | |
209 | ${PYSITELIB}/pyx/version.pyc | 218 | ${PYSITELIB}/pyx/version.pyc | |
210 | ${PYSITELIB}/pyx/version.pyo | 219 | ${PYSITELIB}/pyx/version.pyo | |
211 | ${PYSITELIB}/pyx/writer.py | 220 | ${PYSITELIB}/pyx/writer.py | |
212 | ${PYSITELIB}/pyx/writer.pyc | 221 | ${PYSITELIB}/pyx/writer.pyc | |
213 | ${PYSITELIB}/pyx/writer.pyo | 222 | ${PYSITELIB}/pyx/writer.pyo |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2015/11/04 02:00:01 agc Exp $ | 1 | $NetBSD: distinfo,v 1.5 2020/03/01 02:56:41 gutteridge Exp $ | |
2 | 2 | |||
3 | SHA1 (PyX-0.13.tar.gz) = 1c5d100250358897ca8c6f2237a35f1d69b1ae6d | 3 | SHA1 (PyX-0.15.tar.gz) = d9ceb19fbfe64fe488fff74d1e486d33483cde56 | |
4 | RMD160 (PyX-0.13.tar.gz) = 0cbd1da09ae9670bb8b42a59a103d0c8a53175c3 | 4 | RMD160 (PyX-0.15.tar.gz) = 61ec70ac7fb7b7b8a6fdac5cdb5c9328775c7018 | |
5 | SHA512 (PyX-0.13.tar.gz) = cab0c22f0862ae20cff92504ededf4fcf5820d5773130fb258de1a95d295ca4fe657b85d5ccd52021a4f84403e6db8eebe9f676fa405781738502456123eb05c | 5 | SHA512 (PyX-0.15.tar.gz) = c312b38b9f204b8a8832ab71da5be8c9afc417a095c8ccf242b3d3ebec63338a9d55abab4e548d1718abadf12ea7652cdad51731acdc8f6acd3d8608aa919919 | |
6 | Size (PyX-0.13.tar.gz) = 1237082 bytes | 6 | Size (PyX-0.15.tar.gz) = 2559840 bytes |