From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- dev-python/pygal/Manifest | 4 ++-- dev-python/pygal/pygal-3.0.0-r1.ebuild | 2 +- dev-python/pygal/pygal-3.0.0-r2.ebuild | 44 ++++++++++++++++++++++++++++++++++ dev-python/pygal/pygal-3.0.0.ebuild | 37 ---------------------------- 4 files changed, 47 insertions(+), 40 deletions(-) create mode 100644 dev-python/pygal/pygal-3.0.0-r2.ebuild delete mode 100644 dev-python/pygal/pygal-3.0.0.ebuild (limited to 'dev-python/pygal') diff --git a/dev-python/pygal/Manifest b/dev-python/pygal/Manifest index bcc3e67f6cd7..3e10d5239e40 100644 --- a/dev-python/pygal/Manifest +++ b/dev-python/pygal/Manifest @@ -1,4 +1,4 @@ DIST pygal-3.0.0.tar.gz 3575455 BLAKE2B 9b64cf441aeb25b0a0b9834f07e5892fe163f28a5da796d37083f8f3a10d8737a69bad39e503d722e6a36f2de4367b4fd2bdc3a06c5bc30bce66a370690d9c88 SHA512 71ac9f197d711c8cf5bb47caef128754f81b1cb0ba98c4cc67de78b68fca5d40baae9fbb5c978f6abaed4c73b8edfea2de07de2fda1aa7c15e0d81387518cc49 -EBUILD pygal-3.0.0-r1.ebuild 1044 BLAKE2B 65448adb9fc89f49adc16a65abd60b10e61c547fa293a5587e5f4810a45c4526c00ebbebf3807b75bd8fb2cc3f1daaa056b108b0ee6af26fb9e350b3cb1e8a4a SHA512 cbec83a23c5ac93ee0715c7b68c40381fc6d37d8c22f43183005300ad9265edab8ae7dbfecccc9021894feafd232a1461a60f034fe7eff8d8e8018666b848ecb -EBUILD pygal-3.0.0.ebuild 909 BLAKE2B e25937aa0570290e59d3f61ba9b2cf33cd65303099e9430c0ac36c29360767e73b52ce2d45f103692d9a90f5a6197f78ab1b5a86f8c99141c302dc36e9585e3d SHA512 a7dd8e3a3feb97fde0074c8b31473316f5fc73eed558115f658976a9a981c255a598e6943cdcc4d1df2ff82b921d264b50a933b1cafaf537e198f2b1145b0b89 +EBUILD pygal-3.0.0-r1.ebuild 1042 BLAKE2B 9887d6c9360f5ef4d757e8c4e0523db12a688a973ae69bc9f243e911d5e592b7e425da9c79a771194391878a7f85c3741217a278b333144210eb4ecb38935834 SHA512 a85c464b5e2ec3d59a22c608ea62f738ea20259772febdacc502d75df0f7d36cbe6b27ae93a3b23fe420a6ff322134ff73e993376ef6573160cefdac8b19201e +EBUILD pygal-3.0.0-r2.ebuild 1076 BLAKE2B c98408713c8342726081df60e5aed7832e83f137c0f22100ecbadd572282c974f0c9eea456a815930836b530b9d1210579967d410beb3a0f6b2617a1b9b52056 SHA512 3845f8e5752d9310766217f5c5b5243f9c91c24d04bfb6771980a16ffbac72c14615aad405457c57f5d313738729a930adf24d728652d0de52230948ee0d2e4a MISC metadata.xml 458 BLAKE2B 70473091a8343d255501ff6d306cbf376b57c42ba842e36a3948649f30ffa3f29ff502254cf265512b024878b8faa7d77b4164b5cf70ae6f851a5d2d51a3997c SHA512 3bcd119c30b25e2f821c10d1b2c58efc109d8049a446acb4960b47ddef18d3c1ed4efc6bb4dc551abbb42f17828c4898acdad3172523b7576a6a548e43a8e8b9 diff --git a/dev-python/pygal/pygal-3.0.0-r1.ebuild b/dev-python/pygal/pygal-3.0.0-r1.ebuild index fa1e92660d0c..68167d936d41 100644 --- a/dev-python/pygal/pygal-3.0.0-r1.ebuild +++ b/dev-python/pygal/pygal-3.0.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/Kozea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" BDEPEND=" test? ( diff --git a/dev-python/pygal/pygal-3.0.0-r2.ebuild b/dev-python/pygal/pygal-3.0.0-r2.ebuild new file mode 100644 index 000000000000..59615d98fba6 --- /dev/null +++ b/dev-python/pygal/pygal-3.0.0-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 optfeature + +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" + +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 +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" +} diff --git a/dev-python/pygal/pygal-3.0.0.ebuild b/dev-python/pygal/pygal-3.0.0.ebuild deleted file mode 100644 index d544a2e6420b..000000000000 --- a/dev-python/pygal/pygal-3.0.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# 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 -} -- cgit v1.2.3