commit: 69559a3fedfc5cb1cd9b75772181b4370442165b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 13 04:32:44 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 04:54:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69559a3f
dev-python/pygal: Bump to 3.0.5
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pygal/Manifest | 1 +
dev-python/pygal/pygal-3.0.5.ebuild | 54 +++++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/dev-python/pygal/Manifest b/dev-python/pygal/Manifest
index 38d7fb8b066a..55bfe93265da 100644
--- a/dev-python/pygal/Manifest
+++ b/dev-python/pygal/Manifest
@@ -1 +1,2 @@
DIST pygal-3.0.4.gh.tar.gz 3575681 BLAKE2B
1d7b487d17e754323a54a8840f15f722186d4a782883a65f75886e4cd063e20bf0239ef1f1a3ed619f42a83a3fff21ecf9f3613564b716a2765604d64ca0f98c
SHA512
5e7e4e7eb5d4a8ccd08fc90ae68bcb7c24f6c1fa36cbe64130f2eda03ff2d3f1caab853691d0e67a02de6b4f64a530f3c5c6ae69815d248819c44923b634e8dd
+DIST pygal-3.0.5.gh.tar.gz 3569999 BLAKE2B
bbaffabf2da2aecd4745db0f6b3911495d825b7d5e5fb570052d1d742251836a4bfb079c8242dde74e7b62b6738f89ff1b3cc049debe64299440ba10a74cc5ae
SHA512
08aa7d83d7db59f9e088cb3ad661105b52fded9a66f51c80b151656b3b6e28a83564829f32dbfe6e56a81006510fea87ed937f12e290ae897ca70ec54d9aa9d3
diff --git a/dev-python/pygal/pygal-3.0.5.ebuild
b/dev-python/pygal/pygal-3.0.5.ebuild
new file mode 100644
index 000000000000..0371adddd640
--- /dev/null
+++ b/dev-python/pygal/pygal-3.0.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="A python SVG charts generator"
+HOMEPAGE="
+ https://github.com/Kozea/pygal/
+ https://pypi.org/project/pygal/
+"
+SRC_URI="
+ https://github.com/Kozea/pygal/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ dev-python/importlib-metadata[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pyquery[${PYTHON_USEDEP}]
+ media-gfx/cairosvg[${PYTHON_USEDEP}]
+ )
+"
+
+# CHANGELOG is a symlink to docs/changelog.rst
+DOCS=( docs/changelog.rst README.md )
+
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # Not actually required unless we want to do setup.py test
+ # https://github.com/Kozea/pygal/issues/430
+ sed -i -e "/setup_requires/d" setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+pkg_postinst() {
+ optfeature "improving rendering speed" "dev-python/lxml"
+ optfeature "png rendering" "dev-python/cairosvg"
+}