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/pygal/
Date: Thu, 25 Nov 2021 08:11:50
Message-Id: 1637827898.b378ea9506d5756f34e107fb30fc3a8b7ba84e01.mgorny@gentoo
1 commit: b378ea9506d5756f34e107fb30fc3a8b7ba84e01
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 07:22:08 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 25 08:11:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b378ea95
7
8 dev-python/pygal: Bump to 3.0.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pygal/Manifest | 1 +
13 dev-python/pygal/pygal-3.0.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/pygal/Manifest b/dev-python/pygal/Manifest
17 index 79614a43eb1a..c7a3153ebdfc 100644
18 --- a/dev-python/pygal/Manifest
19 +++ b/dev-python/pygal/Manifest
20 @@ -1 +1,2 @@
21 DIST pygal-2.4.0.tar.gz 4554802 BLAKE2B 9627558e734420bfb3137989d0cc1978a0a06a597d3d5d071e13653876a4bb3266f12f1a8a358076619d997998754c29ee75058356ba66da64b112a24c2cbe2a SHA512 d69fbcff3792cb0b952addc3bfbaea76628d5546482c291ef217c592a820a73a65b1eb522c5d7877e7a794d19b74636126d99a4ff280e8467ab07a95000ba823
22 +DIST pygal-3.0.0.tar.gz 3575455 BLAKE2B 9b64cf441aeb25b0a0b9834f07e5892fe163f28a5da796d37083f8f3a10d8737a69bad39e503d722e6a36f2de4367b4fd2bdc3a06c5bc30bce66a370690d9c88 SHA512 71ac9f197d711c8cf5bb47caef128754f81b1cb0ba98c4cc67de78b68fca5d40baae9fbb5c978f6abaed4c73b8edfea2de07de2fda1aa7c15e0d81387518cc49
23
24 diff --git a/dev-python/pygal/pygal-3.0.0.ebuild b/dev-python/pygal/pygal-3.0.0.ebuild
25 new file mode 100644
26 index 000000000000..08bdb4046d56
27 --- /dev/null
28 +++ b/dev-python/pygal/pygal-3.0.0.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2021 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 +PYTHON_REQ_USE="xml(+)"
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="A python SVG charts generator"
41 +HOMEPAGE="https://github.com/Kozea/pygal/"
42 +SRC_URI="https://github.com/Kozea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="LGPL-3+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +RDEPEND="
49 + dev-python/lxml[${PYTHON_USEDEP}]
50 + media-gfx/cairosvg[${PYTHON_USEDEP}]"
51 +
52 +BDEPEND="
53 + test? ( dev-python/pyquery[${PYTHON_USEDEP}] )"
54 +
55 +# CHANGELOG is a symlink to docs/changelog.rst
56 +DOCS=( docs/changelog.rst README.md )
57 +
58 +distutils_enable_sphinx docs
59 +distutils_enable_tests pytest
60 +
61 +python_prepare_all() {
62 + # Not actually required unless we want to do setup.py test
63 + # https://github.com/Kozea/pygal/issues/430
64 + sed -i -e "/setup_requires/d" setup.py || die
65 + distutils-r1_python_prepare_all
66 +}