summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-08-05 21:33:29 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-08-05 21:33:29 +0300
commite66706c707a49d9329f9a27235a9f71adf0e20cb (patch)
tree2277f818590207ed2e42418419a1068736a427a4 /dev-python/svglib
parentdev-util/cmake: keyword 3.24.0 (diff)
downloadgentoo-e66706c707a49d9329f9a27235a9f71adf0e20cb.tar.gz
gentoo-e66706c707a49d9329f9a27235a9f71adf0e20cb.tar.bz2
gentoo-e66706c707a49d9329f9a27235a9f71adf0e20cb.zip
dev-python/svglib: add 1.4.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/svglib')
-rw-r--r--dev-python/svglib/Manifest1
-rw-r--r--dev-python/svglib/svglib-1.4.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest
index b24b0f69ad50..10fbfa2d0358 100644
--- a/dev-python/svglib/Manifest
+++ b/dev-python/svglib/Manifest
@@ -1 +1,2 @@
DIST svglib-1.3.0.gh.tar.gz 1264820 BLAKE2B f53bda781479ddc5d4b04fd122b5141620db81756308973cb283957615711e62623baa74b69af954936be24970a4e4a6f026667c4069d62bf1705a839ecc52f3 SHA512 457fb69ba1c298079888f200502c7099cf5ee674857ff8682948011bf8e1544715e6196544212f5c0ddef1202d04f3f05d01edb4351e673ceae16a85ca0d66e5
+DIST svglib-1.4.1.gh.tar.gz 1265260 BLAKE2B ad4d6a402cd56e2e6f1fb534a8cc9c2bdc038fbdd01aad228d0b6471fd9781bcec88064dd6b93ef324201f141202404d25e31834c0f32a40c0a8037be7196edc SHA512 058aae53224cc590d56585a0f5e45506bd6586f70ddb3d9429052c8b2c18a3906925cd17a19c0f6b46695159eee1914f5e658293e7c40c1a7506f2414f8c41f8
diff --git a/dev-python/svglib/svglib-1.4.1.ebuild b/dev-python/svglib/svglib-1.4.1.ebuild
new file mode 100644
index 000000000000..b7b7af262730
--- /dev/null
+++ b/dev-python/svglib/svglib-1.4.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure-Python library for reading and converting SVG"
+HOMEPAGE="
+ https://github.com/deeplook/svglib/
+ https://pypi.org/project/svglib/
+"
+SRC_URI="
+ https://github.com/deeplook/svglib/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/cssselect2[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/reportlab[${PYTHON_USEDEP}]
+ dev-python/tinycss2[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Needs network access
+ tests/test_samples.py::TestWikipediaFlags::test_convert_pdf
+ tests/test_samples.py::TestW3CSVG::test_convert_pdf_png
+)