Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/svglib/
Date: Thu, 20 Jan 2022 19:23:47
Message-Id: 1642706614.eb1a9ad6911846993ff17a620332e10d8855bf03.arthurzam@gentoo
1 commit: eb1a9ad6911846993ff17a620332e10d8855bf03
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 19:19:09 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 19:23:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb1a9ad6
7
8 dev-python/svglib: add 1.2.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/svglib/Manifest | 1 +
13 dev-python/svglib/svglib-1.2.0.ebuild | 33 +++++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest
17 index dc36967f9a98..d34bd6f9627a 100644
18 --- a/dev-python/svglib/Manifest
19 +++ b/dev-python/svglib/Manifest
20 @@ -1 +1,2 @@
21 DIST svglib-1.1.0.gh.tar.gz 2403896 BLAKE2B f3f45c526897cb64c44ab3dfb314d61faf190d482e0ce7c255ca51a45c2944393ac7ed0f83c9721648885ae7e477b87bf40040a01641c54ca31dcf85f97bf0fd SHA512 cc4eed96f021e9399e1a25bc477bdc91c037393b492ecd1eabb31c1163c8374499bc50b63ca60b038c61c7a799f4131183464f6799077875dd73a4e97a1246cf
22 +DIST svglib-1.2.0.gh.tar.gz 1261904 BLAKE2B 5516699609904b680a60972eb6ef4d36fbc0404bf9a4f03ddedb3b20531eb55893f6b88fceb86c0304da71371661d8d46bcb94f9f71bbe67fb1f6007561f7501 SHA512 636a96ed3ec49273250c7476c989cf2b2c98f8918eb851f6f6c4d7a02d2f06cc952741f4ecaf419ce48b6085fc0dccc3b491ecca9119cb713e1dae726144b8fc
23
24 diff --git a/dev-python/svglib/svglib-1.2.0.ebuild b/dev-python/svglib/svglib-1.2.0.ebuild
25 new file mode 100644
26 index 000000000000..0da0bd1bb894
27 --- /dev/null
28 +++ b/dev-python/svglib/svglib-1.2.0.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 2021-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Pure-Python library for reading and converting SVG"
39 +HOMEPAGE="https://pypi.org/project/svglib/ https://github.com/deeplook/svglib"
40 +SRC_URI="
41 + https://github.com/deeplook/svglib/archive/v${PV}.tar.gz
42 + -> ${P}.gh.tar.gz
43 +"
44 +
45 +LICENSE="LGPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +RDEPEND="
50 + dev-python/cssselect2[${PYTHON_USEDEP}]
51 + dev-python/lxml[${PYTHON_USEDEP}]
52 + dev-python/reportlab[${PYTHON_USEDEP}]
53 + dev-python/tinycss2[${PYTHON_USEDEP}]
54 +"
55 +
56 +distutils_enable_tests pytest
57 +
58 +EPYTEST_DESELECT=(
59 + # Needs network access
60 + tests/test_samples.py::TestWikipediaFlags::test_convert_pdf
61 + tests/test_samples.py::TestW3CSVG::test_convert_pdf_png
62 +)