Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/svglib/
Date: Thu, 19 May 2022 07:15:07
Message-Id: 1652944493.75d1e273cc6f7525d88e93075378f2fbf775c69b.mgorny@gentoo
1 commit: 75d1e273cc6f7525d88e93075378f2fbf775c69b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 19 05:48:29 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 19 07:14:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d1e273
7
8 dev-python/svglib: Bump to 1.3.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/svglib/Manifest | 1 +
13 dev-python/svglib/svglib-1.3.0.ebuild | 38 +++++++++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest
17 index 6266be312ce5..1a69a7b31d9f 100644
18 --- a/dev-python/svglib/Manifest
19 +++ b/dev-python/svglib/Manifest
20 @@ -1 +1,2 @@
21 DIST svglib-1.2.1.gh.tar.gz 1261918 BLAKE2B d2c35dfbd45f3c509674e0aa49d015ddc554d1e9d2ccf584a5ada019d9af5e7ee2ccf8c983c30e9107cb83468db6521153fa8340f0dab3b4b1ae5a839628e186 SHA512 361dec376eec6ed9bc52e2217a28e09bcfaab8e302c4ee574a320a8f84963852cfc10d3f6890d379f624a5855122f869eb9698fab89d76018af7bbf70aa587bd
22 +DIST svglib-1.3.0.gh.tar.gz 1264820 BLAKE2B f53bda781479ddc5d4b04fd122b5141620db81756308973cb283957615711e62623baa74b69af954936be24970a4e4a6f026667c4069d62bf1705a839ecc52f3 SHA512 457fb69ba1c298079888f200502c7099cf5ee674857ff8682948011bf8e1544715e6196544212f5c0ddef1202d04f3f05d01edb4351e673ceae16a85ca0d66e5
23
24 diff --git a/dev-python/svglib/svglib-1.3.0.ebuild b/dev-python/svglib/svglib-1.3.0.ebuild
25 new file mode 100644
26 index 000000000000..b7b7af262730
27 --- /dev/null
28 +++ b/dev-python/svglib/svglib-1.3.0.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 2021-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Pure-Python library for reading and converting SVG"
41 +HOMEPAGE="
42 + https://github.com/deeplook/svglib/
43 + https://pypi.org/project/svglib/
44 +"
45 +SRC_URI="
46 + https://github.com/deeplook/svglib/archive/v${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="LGPL-3"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +
54 +RDEPEND="
55 + dev-python/cssselect2[${PYTHON_USEDEP}]
56 + dev-python/lxml[${PYTHON_USEDEP}]
57 + dev-python/reportlab[${PYTHON_USEDEP}]
58 + dev-python/tinycss2[${PYTHON_USEDEP}]
59 +"
60 +
61 +distutils_enable_tests pytest
62 +
63 +EPYTEST_DESELECT=(
64 + # Needs network access
65 + tests/test_samples.py::TestWikipediaFlags::test_convert_pdf
66 + tests/test_samples.py::TestW3CSVG::test_convert_pdf_png
67 +)