dev-python/pygal: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-08-31 11:16:24 +02:00
parent 3f3c139226
commit ddbc1d7c7c
2 changed files with 0 additions and 55 deletions

View File

@@ -1,2 +1 @@
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

View File

@@ -1,54 +0,0 @@
# 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"
}