pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/py27-cairosvg
Module Name: pkgsrc
Committed By: joerg
Date: Mon Mar 26 00:33:40 UTC 2018
Added Files:
pkgsrc/converters/py27-cairosvg: ALTERNATIVES DESCR Makefile PLIST
distinfo
Log Message:
Restore py-cairosvg before 2.0 and update it to 1.0.22.
This version is exclusively for Python 2.7 use.
Changes:
- Fix crash when lxml is not installed
- CairoSVG was vulnerable to XML eXternal Entity (XXE) attacks, this
release fixes this vulnerability by not resolving the XML entities
anymore.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/py27-cairosvg/ALTERNATIVES \
pkgsrc/converters/py27-cairosvg/DESCR \
pkgsrc/converters/py27-cairosvg/Makefile \
pkgsrc/converters/py27-cairosvg/PLIST \
pkgsrc/converters/py27-cairosvg/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/converters/py27-cairosvg/ALTERNATIVES
diff -u /dev/null pkgsrc/converters/py27-cairosvg/ALTERNATIVES:1.1
--- /dev/null Mon Mar 26 00:33:40 2018
+++ pkgsrc/converters/py27-cairosvg/ALTERNATIVES Mon Mar 26 00:33:40 2018
@@ -0,0 +1 @@
+bin/cairosvg @PREFIX@/bin/cairosvg@PYVERSSUFFIX@
Index: pkgsrc/converters/py27-cairosvg/DESCR
diff -u /dev/null pkgsrc/converters/py27-cairosvg/DESCR:1.1
--- /dev/null Mon Mar 26 00:33:40 2018
+++ pkgsrc/converters/py27-cairosvg/DESCR Mon Mar 26 00:33:40 2018
@@ -0,0 +1,2 @@
+CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF,
+PostScript and PNG files.
Index: pkgsrc/converters/py27-cairosvg/Makefile
diff -u /dev/null pkgsrc/converters/py27-cairosvg/Makefile:1.1
--- /dev/null Mon Mar 26 00:33:40 2018
+++ pkgsrc/converters/py27-cairosvg/Makefile Mon Mar 26 00:33:40 2018
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2018/03/26 00:33:40 joerg Exp $
+
+DISTNAME= CairoSVG-1.0.22
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES= converters graphics python
+MASTER_SITES= ${MASTER_SITE_PYPI:=C/CairoSVG/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.cairosvg.org/
+COMMENT= Simple SVG Converter for Cairo
+LICENSE= gnu-lgpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-cairocffi-[0-9]*:../../graphics/py-cairocffi
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_ACCEPTED= 27
+PY_PATCHPLIST= yes
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/cairosvg \
+ ${DESTDIR}${PREFIX}/bin/cairosvg${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/converters/py27-cairosvg/PLIST
diff -u /dev/null pkgsrc/converters/py27-cairosvg/PLIST:1.1
--- /dev/null Mon Mar 26 00:33:40 2018
+++ pkgsrc/converters/py27-cairosvg/PLIST Mon Mar 26 00:33:40 2018
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1 2018/03/26 00:33:40 joerg Exp $
+bin/cairosvg${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/cairosvg/__init__.py
+${PYSITELIB}/cairosvg/__init__.pyc
+${PYSITELIB}/cairosvg/__init__.pyo
+${PYSITELIB}/cairosvg/css.py
+${PYSITELIB}/cairosvg/css.pyc
+${PYSITELIB}/cairosvg/css.pyo
+${PYSITELIB}/cairosvg/features.py
+${PYSITELIB}/cairosvg/features.pyc
+${PYSITELIB}/cairosvg/features.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
Index: pkgsrc/converters/py27-cairosvg/distinfo
diff -u /dev/null pkgsrc/converters/py27-cairosvg/distinfo:1.1
--- /dev/null Mon Mar 26 00:33:40 2018
+++ pkgsrc/converters/py27-cairosvg/distinfo Mon Mar 26 00:33:40 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/03/26 00:33:40 joerg Exp $
+
+SHA1 (CairoSVG-1.0.22.tar.gz) = 67696e210d2c4cd3a0b1d6560651b77d74f504d0
+RMD160 (CairoSVG-1.0.22.tar.gz) = 2706ca48472f77b48103ce3ea91a3ba2cce2c3be
+SHA512 (CairoSVG-1.0.22.tar.gz) = 5f4ea7b80947092620827e454182af7332082a8c84fddc035f75ed19c09b4a9027d6bfd5c96e5f388150833788a71ab8fb77a1ffdd963b8106f07b1908a0c8f6
+Size (CairoSVG-1.0.22.tar.gz) = 30896 bytes
Home |
Main Index |
Thread Index |
Old Index