commit:     d8e78fe933c64bd4b818830b85d863d622e1103a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 26 05:20:23 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 26 05:20:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8e78fe9

dev-python/svglib: Bump to 1.6.0

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

 dev-python/svglib/Manifest            |  2 ++
 dev-python/svglib/svglib-1.6.0.ebuild | 43 +++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest
index a1a5929a53ea..6676bd149c5e 100644
--- a/dev-python/svglib/Manifest
+++ b/dev-python/svglib/Manifest
@@ -1 +1,3 @@
 DIST svglib-1.5.1.gh.tar.gz 1265304 BLAKE2B 
e147df6c5326f0ed27ffa56a158442b7727946cd9f51577df36b05b04ffa7ee6b8112736eab92e214ef26b7d055506844820b323e5342e04efbd615a7b8f982f
 SHA512 
5cd93db39078c7598a51e08afee08b689c4c95e5ac6340d1a51f85b6459fa4635b8edf45add3b39d0a079f0177a99b3d4786e40fb6276aa5ba80c9b5513e6d4c
+DIST svglib-1.6.0.tar.gz 1318276 BLAKE2B 
cc2ceb1850ad3a1c82f310b5b5c28f95ad047b3f933d323c40ab082df10b480788f24556fb29722ff5ae70490eeff5919780b979b9752c39e21523630dc3358a
 SHA512 
7d6e30629b409cbdf80de3278a6b7a67ae4a3d82cd83c6f53cb72c21b59839eafbef4d34989621744773f9c7ba47b6cbe86d8f8b222054ff016061a740bf2bc2
+DIST svglib-1.6.0.tar.gz.provenance 9400 BLAKE2B 
d570304d15dfac0590892b9c440e0c878a4d33f2e552b5f1f934cb741da4f58c407c4773f63e6528e4931ffd1a0fcc7e1d8db60122f0631d4e5846b0d492648c
 SHA512 
51c43849de39807fd38002fddda0b544d92f3534619f0823cefeaf75d486d6d8833857c90603ce7bf64074db292b8f4effdaaf83afc62c3b11d29b8f51c2660a

diff --git a/dev-python/svglib/svglib-1.6.0.ebuild 
b/dev-python/svglib/svglib-1.6.0.ebuild
new file mode 100644
index 000000000000..192a0bbd6af5
--- /dev/null
+++ b/dev-python/svglib/svglib-1.6.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021-2025 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_{11..14} )
+
+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/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
+)
+
+src_prepare() {
+       distutils-r1_src_prepare
+
+       # unnecessary listed as required
+       sed -i -e '/rlpycairo/d' pyproject.toml || die
+}

Reply via email to