diff options
Diffstat (limited to 'dev-python/svglib')
-rw-r--r-- | dev-python/svglib/Manifest | 1 | ||||
-rw-r--r-- | dev-python/svglib/svglib-1.5.1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest index c5075c6ef2ec..a35e18d7d10d 100644 --- a/dev-python/svglib/Manifest +++ b/dev-python/svglib/Manifest @@ -1,2 +1,3 @@ DIST svglib-1.4.1.gh.tar.gz 1265260 BLAKE2B ad4d6a402cd56e2e6f1fb534a8cc9c2bdc038fbdd01aad228d0b6471fd9781bcec88064dd6b93ef324201f141202404d25e31834c0f32a40c0a8037be7196edc SHA512 058aae53224cc590d56585a0f5e45506bd6586f70ddb3d9429052c8b2c18a3906925cd17a19c0f6b46695159eee1914f5e658293e7c40c1a7506f2414f8c41f8 DIST svglib-1.5.0.gh.tar.gz 1265070 BLAKE2B 269a5f290c20bc8a1e5df257ba02449471daf1e9e8ec7128a2008b888c8037d8c610e59bc18d379efd41bbb2bedf265d6751b0d5e2bb34b5ff2c24a4a8f4fca3 SHA512 baa69d766b353ed4da176815a9cc205b9200d1c29b88958f6dcf1de7451d0f8f8783138ddf49aa09dbf49ccd4f36f1a3d9be3d72d7a0d1491dc61840210a850c +DIST svglib-1.5.1.gh.tar.gz 1265304 BLAKE2B e147df6c5326f0ed27ffa56a158442b7727946cd9f51577df36b05b04ffa7ee6b8112736eab92e214ef26b7d055506844820b323e5342e04efbd615a7b8f982f SHA512 5cd93db39078c7598a51e08afee08b689c4c95e5ac6340d1a51f85b6459fa4635b8edf45add3b39d0a079f0177a99b3d4786e40fb6276aa5ba80c9b5513e6d4c diff --git a/dev-python/svglib/svglib-1.5.1.ebuild b/dev-python/svglib/svglib-1.5.1.ebuild new file mode 100644 index 000000000000..ee89ee4f1a3d --- /dev/null +++ b/dev-python/svglib/svglib-1.5.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2023 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 +) |