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