commit:     e66706c707a49d9329f9a27235a9f71adf0e20cb
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 18:33:29 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 18:33:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66706c7

dev-python/svglib: add 1.4.1

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/svglib/Manifest            |  1 +
 dev-python/svglib/svglib-1.4.1.ebuild | 38 +++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

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
+)

Reply via email to