summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-19 19:55:24 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-19 19:57:01 +0100
commitbb39000c75656f22d8af6dc84ff3c6f049981964 (patch)
tree2ef856cd00ba97b8fb66945ecebf1434a37b6a82 /media-gfx/cairosvg/cairosvg-1.0.22.ebuild
parentapp-emacs/meson-mode: install a site-init file (diff)
downloadgentoo-bb39000c75656f22d8af6dc84ff3c6f049981964.tar.gz
gentoo-bb39000c75656f22d8af6dc84ff3c6f049981964.tar.bz2
gentoo-bb39000c75656f22d8af6dc84ff3c6f049981964.zip
media-gfx/cairosvg: Revert "Remove redundant versions"
Reverts: 180e5f52f3f10dae8a607b837aa44267703fddf1 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx/cairosvg/cairosvg-1.0.22.ebuild')
-rw-r--r--media-gfx/cairosvg/cairosvg-1.0.22.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-gfx/cairosvg/cairosvg-1.0.22.ebuild b/media-gfx/cairosvg/cairosvg-1.0.22.ebuild
new file mode 100644
index 00000000000..b51ea3c8cc8
--- /dev/null
+++ b/media-gfx/cairosvg/cairosvg-1.0.22.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_6} )
+
+inherit distutils-r1
+
+MY_PN="CairoSVG"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="CLI and library to export SVG to PDF, PostScript, and PNG"
+HOMEPAGE="https://cairosvg.org/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/tinycss[${PYTHON_USEDEP}]
+ dev-python/cssselect[${PYTHON_USEDEP}]
+ dev-python/cairocffi[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( NEWS.rst README.rst TODO.rst )