repo/gentoo:master commit in: dev-python/svglib/

Michał Górny <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786777646.e7c4b149e7fe4405a5d03deecd87e4ef8f3962b4.mgorny@gentoo>
commit:     e7c4b149e7fe4405a5d03deecd87e4ef8f3962b4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 15 05:43:10 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 15 07:07:26 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c4b149

dev-python/svglib: Bump to 2.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/svglib/Manifest            |  2 ++
 dev-python/svglib/svglib-2.2.0.ebuild | 37 +++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest
index 8bb5cb29f42f..0bfa15133444 100644
--- a/dev-python/svglib/Manifest
+++ b/dev-python/svglib/Manifest
@@ -1,2 +1,4 @@
 DIST svglib-2.1.0.tar.gz 1371234 BLAKE2B 3007fb9155e8aee82246ed9b83798ff3d2f552cdc1a4a70134b2fa258ad5ed3597c43f935d32ebd6098e6106278d11556d9a82bcf8bf48fbe6b3e2340858f030 SHA512 c2b06501e8d70ce840d9390f71ed5676eb12e5ba6619b5eeb76db00f047cb16493c2e7cc36d98db9463dcd8289c797be181cca9c46ae6c52aff49b27c2b12d03
 DIST svglib-2.1.0.tar.gz.provenance 9664 BLAKE2B c5a51697da63fe4fada7973ce0e4fe251b0b0fc6cf22333d2db0a5f6c3ef7f592ec79ae57854f638b4d6514ad51f9c737bb25ca382143412b2d01f9aaa88afed SHA512 15fe742cf09c0a7624f7d685543d44d76ef2214f151c1c0bca6f9eefd9b5c2a32001f24ce8a1af55431d32943b5c02866113167ddb2fc4785a2014b1501275e1
+DIST svglib-2.2.0.tar.gz 1373629 BLAKE2B 06d279719b4ce199e64f49e8db456ea99a95369b0b3fa03169c804eb616837eca3857493c44ff94cc98d0b2df73cb5ed7fbb89fa58a03180ea1f859f28b5f8d5 SHA512 b5c3927e25e7d21700b159acfa1ae34a211682d4eebf153886691eef353f30c51e63f1fd7d6103c542f7ffa8e8e5ea9d9bdb99caeb59003534ab550c1935ff1b
+DIST svglib-2.2.0.tar.gz.provenance 9901 BLAKE2B a6363bb67a49484233e6da127aab85a20052b283d19386cb7f1580312044e0bc54d92fcefb62974c87bc57e516aeccca43041ec6c2bf6156f8f4c47d31ca443e SHA512 f29f317168caf485deb0fc54b46e2cbfaf79c0ccc7ac7999e1f74b2a67a9922a5df7927110a04e44325e35b2093ab564b9c77939ba9df9c1c1729462f8251d7b

diff --git a/dev-python/svglib/svglib-2.2.0.ebuild b/dev-python/svglib/svglib-2.2.0.ebuild
new file mode 100644
index 000000000000..b5273a7baf22
--- /dev/null
+++ b/dev-python/svglib/svglib-2.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYPI_VERIFY_REPO=https://github.com/deeplook/svglib
+PYTHON_COMPAT=( python3_{12..15} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pure-Python library for reading and converting SVG"
+HOMEPAGE="
+	https://github.com/deeplook/svglib/
+	https://pypi.org/project/svglib/
+"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+	>=dev-python/cssselect2-0.2.0[${PYTHON_USEDEP}]
+	>=dev-python/lxml-6.0.0[${PYTHON_USEDEP}]
+	>=dev-python/pillow-9.0.0[${PYTHON_USEDEP}]
+	>=dev-python/reportlab-4.4.3[${PYTHON_USEDEP}]
+	>=dev-python/tinycss2-0.6.0[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+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
+)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.