1 |
commit: 62e1914685b965a39a917739689913c0abc40357 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 28 08:07:03 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 28 08:54:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e19146 |
7 |
|
8 |
dev-python/svglib: Bump to 1.2.1 |
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.2.1.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest |
17 |
index d34bd6f9627a..284f658fcf86 100644 |
18 |
--- a/dev-python/svglib/Manifest |
19 |
+++ b/dev-python/svglib/Manifest |
20 |
@@ -1,2 +1,3 @@ |
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 |
+DIST svglib-1.2.1.gh.tar.gz 1261918 BLAKE2B d2c35dfbd45f3c509674e0aa49d015ddc554d1e9d2ccf584a5ada019d9af5e7ee2ccf8c983c30e9107cb83468db6521153fa8340f0dab3b4b1ae5a839628e186 SHA512 361dec376eec6ed9bc52e2217a28e09bcfaab8e302c4ee574a320a8f84963852cfc10d3f6890d379f624a5855122f869eb9698fab89d76018af7bbf70aa587bd |
24 |
|
25 |
diff --git a/dev-python/svglib/svglib-1.2.1.ebuild b/dev-python/svglib/svglib-1.2.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..b14fdc7c368f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/svglib/svglib-1.2.1.ebuild |
30 |
@@ -0,0 +1,35 @@ |
31 |
+# Copyright 2021-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Pure-Python library for reading and converting SVG" |
41 |
+HOMEPAGE="https://pypi.org/project/svglib/ https://github.com/deeplook/svglib" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/deeplook/svglib/archive/v.${PV}.tar.gz |
44 |
+ -> ${P}.gh.tar.gz |
45 |
+" |
46 |
+S=${WORKDIR}/${PN}-v.${PV} |
47 |
+ |
48 |
+LICENSE="LGPL-3" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/cssselect2[${PYTHON_USEDEP}] |
54 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
55 |
+ dev-python/reportlab[${PYTHON_USEDEP}] |
56 |
+ dev-python/tinycss2[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+ |
59 |
+distutils_enable_tests pytest |
60 |
+ |
61 |
+EPYTEST_DESELECT=( |
62 |
+ # Needs network access |
63 |
+ tests/test_samples.py::TestWikipediaFlags::test_convert_pdf |
64 |
+ tests/test_samples.py::TestW3CSVG::test_convert_pdf_png |
65 |
+) |