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, 21 May 2022 09:24:58
Message-Id: 1653125089.e877bb8ae989cc8789645f75e2a8e8d0d96d52be.mgorny@gentoo
1 commit: e877bb8ae989cc8789645f75e2a8e8d0d96d52be
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 21 09:12:36 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 21 09:24:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e877bb8a
7
8 dev-python/weasyprint: Bump to 55.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/weasyprint/Manifest | 1 +
13 dev-python/weasyprint/weasyprint-55.0.ebuild | 44 ++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest
17 index e5bbaf827e14..4f8a6f9e7828 100644
18 --- a/dev-python/weasyprint/Manifest
19 +++ b/dev-python/weasyprint/Manifest
20 @@ -1 +1,2 @@
21 DIST weasyprint-54.3.tar.gz 404544 BLAKE2B 52eabcab05a6806fd137648ab1a9c0cf00865f98c59a7ca43052b98b6eb54c503465285a4ceca86557a5461cd737ce9174fcda0fead08ddcd8cf632e09108bfa SHA512 4b11a2fedb2ae41b0752093a9af26c23122337ade0289e36045c2e666677f2234c43f27f12d22d571365294705458c7b34f8b2656ab3d9337f145d5b0292e92b
22 +DIST weasyprint-55.0.tar.gz 410970 BLAKE2B ba77f249c3568031eff9b7110864b69113f71ea197d0c7136de01bd40155a437b5e540e87219e6ca49428b98d8ec471dcf9ed1d0224d68a3b320e5fffb568239 SHA512 96cc6de5af86da47aa0b5a84c3f00679690774574f3370ca319afe77f3eb9c9725f3b0a6cbddf589f23f444972bc77b07cce7e27ee2c466484636b3cb30250a3
23
24 diff --git a/dev-python/weasyprint/weasyprint-55.0.ebuild b/dev-python/weasyprint/weasyprint-55.0.ebuild
25 new file mode 100644
26 index 000000000000..32e507b45ff5
27 --- /dev/null
28 +++ b/dev-python/weasyprint/weasyprint-55.0.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=flit
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-9.56
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 +}