diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-11-25 08:22:08 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-11-25 09:11:38 +0100 |
commit | b378ea9506d5756f34e107fb30fc3a8b7ba84e01 (patch) | |
tree | e66f7bb8329e772479d087a0d81cf764c8d1c66e /dev-python/pygal | |
parent | dev-python/keyring: Bump to 23.3.0 (diff) | |
download | gentoo-b378ea9506d5756f34e107fb30fc3a8b7ba84e01.tar.gz gentoo-b378ea9506d5756f34e107fb30fc3a8b7ba84e01.tar.bz2 gentoo-b378ea9506d5756f34e107fb30fc3a8b7ba84e01.zip |
dev-python/pygal: Bump to 3.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pygal')
-rw-r--r-- | dev-python/pygal/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pygal/pygal-3.0.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/pygal/Manifest b/dev-python/pygal/Manifest index 79614a43eb1a..c7a3153ebdfc 100644 --- a/dev-python/pygal/Manifest +++ b/dev-python/pygal/Manifest @@ -1 +1,2 @@ DIST pygal-2.4.0.tar.gz 4554802 BLAKE2B 9627558e734420bfb3137989d0cc1978a0a06a597d3d5d071e13653876a4bb3266f12f1a8a358076619d997998754c29ee75058356ba66da64b112a24c2cbe2a SHA512 d69fbcff3792cb0b952addc3bfbaea76628d5546482c291ef217c592a820a73a65b1eb522c5d7877e7a794d19b74636126d99a4ff280e8467ab07a95000ba823 +DIST pygal-3.0.0.tar.gz 3575455 BLAKE2B 9b64cf441aeb25b0a0b9834f07e5892fe163f28a5da796d37083f8f3a10d8737a69bad39e503d722e6a36f2de4367b4fd2bdc3a06c5bc30bce66a370690d9c88 SHA512 71ac9f197d711c8cf5bb47caef128754f81b1cb0ba98c4cc67de78b68fca5d40baae9fbb5c978f6abaed4c73b8edfea2de07de2fda1aa7c15e0d81387518cc49 diff --git a/dev-python/pygal/pygal-3.0.0.ebuild b/dev-python/pygal/pygal-3.0.0.ebuild new file mode 100644 index 000000000000..08bdb4046d56 --- /dev/null +++ b/dev-python/pygal/pygal-3.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="A python SVG charts generator" +HOMEPAGE="https://github.com/Kozea/pygal/" +SRC_URI="https://github.com/Kozea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + media-gfx/cairosvg[${PYTHON_USEDEP}]" + +BDEPEND=" + test? ( dev-python/pyquery[${PYTHON_USEDEP}] )" + +# CHANGELOG is a symlink to docs/changelog.rst +DOCS=( docs/changelog.rst README.md ) + +distutils_enable_sphinx docs +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 +} |