mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/pygal: Bump to 3.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
ad3295e459
commit
86dd5c617d
@ -1 +1,2 @@
|
||||
DIST pygal-3.0.5.gh.tar.gz 3569999 BLAKE2B bbaffabf2da2aecd4745db0f6b3911495d825b7d5e5fb570052d1d742251836a4bfb079c8242dde74e7b62b6738f89ff1b3cc049debe64299440ba10a74cc5ae SHA512 08aa7d83d7db59f9e088cb3ad661105b52fded9a66f51c80b151656b3b6e28a83564829f32dbfe6e56a81006510fea87ed937f12e290ae897ca70ec54d9aa9d3
|
||||
DIST pygal-3.1.0.gh.tar.gz 3570546 BLAKE2B 30ef1ebd5a8b13b894c1101913dbd01493ef4e1cc13da4a5d49bba1312a929843b0c6f5d0b1e4e9e21c8db1753852fe902abfe4d44d8bd32b03d082faaf09a0d SHA512 fe220527818b46a5bdad0325c0a3c43ed3d2eb1033795e005c6b4a3bfe221bd0af8169f30f58c4fe7a827d0f4a50ece43b69a93fd75cd494b6228787790dbca6
|
||||
|
||||
56
dev-python/pygal/pygal-3.1.0.ebuild
Normal file
56
dev-python/pygal/pygal-3.1.0.ebuild
Normal file
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..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"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user