1 |
commit: 5a80f9fe52590816fde0f06e1ad8cb70e71d9906 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 11 06:54:30 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 11 07:15:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a80f9fe |
7 |
|
8 |
dev-python/weasyprint: Bump to 53.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/weasyprint/Manifest | 1 + |
13 |
dev-python/weasyprint/weasyprint-53.3.ebuild | 44 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest |
17 |
index c8d1fc8c4f4..9eb05d9fd36 100644 |
18 |
--- a/dev-python/weasyprint/Manifest |
19 |
+++ b/dev-python/weasyprint/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST weasyprint-53.0.tar.gz 386339 BLAKE2B 6d8e30a02d54061557e549a685944de7cbc61f4c1b46b23dbaef66e87232325f630fd5a34cf5c846599612914f9306b5235fad65a008e19a7c200af2f4c7d9da SHA512 de34ee5654ee90aec82b67c1bc7d9496fe3a4247b2a649ab110d1613c4780fd9ae611c9da177de07e5287749978af9a4a7d5c102d0940e5fd970e5aa8586c47e |
22 |
DIST weasyprint-53.2.tar.gz 387220 BLAKE2B 820c3ef386c86ab927a02153e68ba085817d18c9658539233c283b2ee2e58a190420a88d3d1b4282d7e46eefbd89d9c5fbd94ccefaa6ef7c304d893579739482 SHA512 c4e1a831a9ac5b3adf1241b8c53c90330e3960cf7a5ab8307bbeb89e8e17a7e5a5d50fd676961ce45deda606b82eaa2b05d37f7dd5a1506bd0d78f8e4276328a |
23 |
+DIST weasyprint-53.3.tar.gz 387448 BLAKE2B bc575a150ce3af4b33dc36b1d4148d5059c8a61c2576b9305735ae192314d7df61bd9c92defaa65159933be489c262e8ac343090a840d1cf49ed5af1e5e669ad SHA512 28efd97c06572de3e82763400efee3d2415da03feafcb38158c35465823d6ee8df9be4e11b813beeb2e851a6affae668ee9eea8859ec5de6c4da9347d9f4216a |
24 |
|
25 |
diff --git a/dev-python/weasyprint/weasyprint-53.3.ebuild b/dev-python/weasyprint/weasyprint-53.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f201ef75f8e |
28 |
--- /dev/null |
29 |
+++ b/dev-python/weasyprint/weasyprint-53.3.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" |
42 |
+HOMEPAGE="https://weasyprint.org https://github.com/Kozea/WeasyPrint" |
43 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/pillow-4.0.0[jpeg,jpeg2k,${PYTHON_USEDEP}] |
55 |
+ >=dev-python/pydyf-0.0.3[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] |
58 |
+ x11-libs/pango |
59 |
+" |
60 |
+ |
61 |
+BDEPEND=" |
62 |
+ test? ( |
63 |
+ app-text/ghostscript-gpl |
64 |
+ media-fonts/ahem |
65 |
+ media-fonts/dejavu |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ sed -i -e '/addopts/d' pyproject.toml || die |
73 |
+ distutils-r1_src_prepare |
74 |
+} |