pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/py-cairosvg Version 2.0.3:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6ca94405519
branches:  trunk
changeset: 365367:a6ca94405519
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 14 17:02:20 2017 +0000

description:
Version 2.0.3:
* Add ``python_requires`` in ``setup.py``

Version 2.0.2:
* Handle ``text-align`` in textPath tags
* Test with Python 3.6

Version 2.0.1:
* Don't crash on relative refs with no input URL

Version 2.0.0:
* Drop Python 2 support
* Drop pycairo support
* Rely on cairocffi, lxml, cssselect, pillow and tinycss
* Fix markers
* Fix URL/id handling
* Use bounding boxes for gradients
* Split deployment and development tests
* Add a scale option
* Add a parent size option
* Test with Travis

diffstat:

 converters/py-cairosvg/Makefile |  20 ++++++----
 converters/py-cairosvg/PLIST    |  78 ++++++++++++++++++++++------------------
 converters/py-cairosvg/distinfo |  10 ++--
 3 files changed, 60 insertions(+), 48 deletions(-)

diffs (148 lines):

diff -r 4c7816dfb405 -r a6ca94405519 converters/py-cairosvg/Makefile
--- a/converters/py-cairosvg/Makefile   Fri Jul 14 16:50:28 2017 +0000
+++ b/converters/py-cairosvg/Makefile   Fri Jul 14 17:02:20 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2017/01/13 17:32:47 kleink Exp $
+# $NetBSD: Makefile,v 1.9 2017/07/14 17:02:20 adam Exp $
 
-DISTNAME=      CairoSVG-1.0.20
+DISTNAME=      CairoSVG-2.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    converters graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=C/CairoSVG/}
@@ -10,15 +10,19 @@
 COMMENT=       Simple SVG Converter for Cairo
 LICENSE=       gnu-lgpl-v3
 
+DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
 DEPENDS+=      ${PYPKGPREFIX}-cairocffi-[0-9]*:../../graphics/py-cairocffi
+DEPENDS+=      ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
+DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+DEPENDS+=      ${PYPKGPREFIX}-tinycss-[0-9]*:../../textproc/py-tinycss
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+# also needs pytest-flake8 and pytest-isort
 
 USE_LANGUAGES= # none
 
-PY_PATCHPLIST= yes
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} cairosvg cairosvg${PYVERSSUFFIX} || ${TRUE}
 
-post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/cairosvg \
-               ${DESTDIR}${PREFIX}/bin/cairosvg${PYVERSSUFFIX} || ${TRUE}
-
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4c7816dfb405 -r a6ca94405519 converters/py-cairosvg/PLIST
--- a/converters/py-cairosvg/PLIST      Fri Jul 14 16:50:28 2017 +0000
+++ b/converters/py-cairosvg/PLIST      Fri Jul 14 17:02:20 2017 +0000
@@ -1,48 +1,56 @@
-@comment $NetBSD: PLIST,v 1.1 2014/05/17 13:49:46 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/07/14 17:02:20 adam Exp $
 bin/cairosvg${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/cairosvg/__init__.py
 ${PYSITELIB}/cairosvg/__init__.pyc
 ${PYSITELIB}/cairosvg/__init__.pyo
+${PYSITELIB}/cairosvg/bounding_box.py
+${PYSITELIB}/cairosvg/bounding_box.pyc
+${PYSITELIB}/cairosvg/bounding_box.pyo
+${PYSITELIB}/cairosvg/colors.py
+${PYSITELIB}/cairosvg/colors.pyc
+${PYSITELIB}/cairosvg/colors.pyo
 ${PYSITELIB}/cairosvg/css.py
 ${PYSITELIB}/cairosvg/css.pyc
 ${PYSITELIB}/cairosvg/css.pyo
+${PYSITELIB}/cairosvg/defs.py
+${PYSITELIB}/cairosvg/defs.pyc
+${PYSITELIB}/cairosvg/defs.pyo
 ${PYSITELIB}/cairosvg/features.py
 ${PYSITELIB}/cairosvg/features.pyc
 ${PYSITELIB}/cairosvg/features.pyo
+${PYSITELIB}/cairosvg/helpers.py
+${PYSITELIB}/cairosvg/helpers.pyc
+${PYSITELIB}/cairosvg/helpers.pyo
+${PYSITELIB}/cairosvg/image.py
+${PYSITELIB}/cairosvg/image.pyc
+${PYSITELIB}/cairosvg/image.pyo
 ${PYSITELIB}/cairosvg/parser.py
 ${PYSITELIB}/cairosvg/parser.pyc
 ${PYSITELIB}/cairosvg/parser.pyo
-${PYSITELIB}/cairosvg/surface/__init__.py
-${PYSITELIB}/cairosvg/surface/__init__.pyc
-${PYSITELIB}/cairosvg/surface/__init__.pyo
-${PYSITELIB}/cairosvg/surface/colors.py
-${PYSITELIB}/cairosvg/surface/colors.pyc
-${PYSITELIB}/cairosvg/surface/colors.pyo
-${PYSITELIB}/cairosvg/surface/defs.py
-${PYSITELIB}/cairosvg/surface/defs.pyc
-${PYSITELIB}/cairosvg/surface/defs.pyo
-${PYSITELIB}/cairosvg/surface/helpers.py
-${PYSITELIB}/cairosvg/surface/helpers.pyc
-${PYSITELIB}/cairosvg/surface/helpers.pyo
-${PYSITELIB}/cairosvg/surface/image.py
-${PYSITELIB}/cairosvg/surface/image.pyc
-${PYSITELIB}/cairosvg/surface/image.pyo
-${PYSITELIB}/cairosvg/surface/path.py
-${PYSITELIB}/cairosvg/surface/path.pyc
-${PYSITELIB}/cairosvg/surface/path.pyo
-${PYSITELIB}/cairosvg/surface/shapes.py
-${PYSITELIB}/cairosvg/surface/shapes.pyc
-${PYSITELIB}/cairosvg/surface/shapes.pyo
-${PYSITELIB}/cairosvg/surface/svg.py
-${PYSITELIB}/cairosvg/surface/svg.pyc
-${PYSITELIB}/cairosvg/surface/svg.pyo
-${PYSITELIB}/cairosvg/surface/tags.py
-${PYSITELIB}/cairosvg/surface/tags.pyc
-${PYSITELIB}/cairosvg/surface/tags.pyo
-${PYSITELIB}/cairosvg/surface/text.py
-${PYSITELIB}/cairosvg/surface/text.pyc
-${PYSITELIB}/cairosvg/surface/text.pyo
-${PYSITELIB}/cairosvg/surface/units.py
-${PYSITELIB}/cairosvg/surface/units.pyc
-${PYSITELIB}/cairosvg/surface/units.pyo
+${PYSITELIB}/cairosvg/path.py
+${PYSITELIB}/cairosvg/path.pyc
+${PYSITELIB}/cairosvg/path.pyo
+${PYSITELIB}/cairosvg/shapes.py
+${PYSITELIB}/cairosvg/shapes.pyc
+${PYSITELIB}/cairosvg/shapes.pyo
+${PYSITELIB}/cairosvg/surface.py
+${PYSITELIB}/cairosvg/surface.pyc
+${PYSITELIB}/cairosvg/surface.pyo
+${PYSITELIB}/cairosvg/svg.py
+${PYSITELIB}/cairosvg/svg.pyc
+${PYSITELIB}/cairosvg/svg.pyo
+${PYSITELIB}/cairosvg/test_api.py
+${PYSITELIB}/cairosvg/test_api.pyc
+${PYSITELIB}/cairosvg/test_api.pyo
+${PYSITELIB}/cairosvg/text.py
+${PYSITELIB}/cairosvg/text.pyc
+${PYSITELIB}/cairosvg/text.pyo
+${PYSITELIB}/cairosvg/url.py
+${PYSITELIB}/cairosvg/url.pyc
+${PYSITELIB}/cairosvg/url.pyo
diff -r 4c7816dfb405 -r a6ca94405519 converters/py-cairosvg/distinfo
--- a/converters/py-cairosvg/distinfo   Fri Jul 14 16:50:28 2017 +0000
+++ b/converters/py-cairosvg/distinfo   Fri Jul 14 17:02:20 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2017/01/13 17:32:47 kleink Exp $
+$NetBSD: distinfo,v 1.7 2017/07/14 17:02:20 adam Exp $
 
-SHA1 (CairoSVG-1.0.20.tar.gz) = b603e63f9b71a8699bbd124bac48c91dd5e60bf4
-RMD160 (CairoSVG-1.0.20.tar.gz) = b9392aad13d00439e0a84751360432e0d7454cd9
-SHA512 (CairoSVG-1.0.20.tar.gz) = 66100f57cba40644652783082ebfb487ef8f470ce17da774c9c9115b783130ab8ddbd72ac2d7394bd66d7e8b17d8490b27204b8476e2db97072baa75ebae5364
-Size (CairoSVG-1.0.20.tar.gz) = 30543 bytes
+SHA1 (CairoSVG-2.0.3.tar.gz) = 5e6fa20e71e729da6635f45f21b340368a1afcd6
+RMD160 (CairoSVG-2.0.3.tar.gz) = 09c5656f0d7be462d47d321d4be52561646a13bb
+SHA512 (CairoSVG-2.0.3.tar.gz) = b7ad7be9bd06059392f2004e7cd5c1df1667dbae78482c68d681990a8b3a4141a9c4b72aa4af5075a87ac6a1a4ddf8311d991512be98128b21b87d4355c1bd3d
+Size (CairoSVG-2.0.3.tar.gz) = 39371 bytes



Home | Main Index | Thread Index | Old Index