diff options
Diffstat (limited to 'dev-python/pygal')
| -rw-r--r-- | dev-python/pygal/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pygal/pygal-3.1.3.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/pygal/Manifest b/dev-python/pygal/Manifest index 5faa4d317b5e..402f32c2ddb4 100644 --- a/dev-python/pygal/Manifest +++ b/dev-python/pygal/Manifest @@ -1 +1,2 @@ DIST pygal-3.1.0.gh.tar.gz 3570546 BLAKE2B 30ef1ebd5a8b13b894c1101913dbd01493ef4e1cc13da4a5d49bba1312a929843b0c6f5d0b1e4e9e21c8db1753852fe902abfe4d44d8bd32b03d082faaf09a0d SHA512 fe220527818b46a5bdad0325c0a3c43ed3d2eb1033795e005c6b4a3bfe221bd0af8169f30f58c4fe7a827d0f4a50ece43b69a93fd75cd494b6228787790dbca6 +DIST pygal-3.1.3.gh.tar.gz 3575092 BLAKE2B ad46c6ce3b37feaf918389f24e372ae6c8624cb3ef7d357ecc0472023994e71c9cc4d3d806b19852aa2e9d7d0839816bd6c8ba4aca0f6e6183795f4b14267f34 SHA512 f3f735b6a554ed7c7ce92a051eeae3cb9c6f32fdf8961ebbd247c5b8139423dead9cfafc48253be7b4c5797bfba1245ae78d1ef4fcd3eebda5db3467264ec509 diff --git a/dev-python/pygal/pygal-3.1.3.ebuild b/dev-python/pygal/pygal-3.1.3.ebuild new file mode 100644 index 000000000000..1fc81156f8d6 --- /dev/null +++ b/dev-python/pygal/pygal-3.1.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) +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_PLUGINS=() +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" +} |
