diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
commit | 908778078736bd36f7a60a2d576d415cb8e000fa (patch) | |
tree | c6a4796c48b608c14dc7e9674cdbd38f905e3c15 /dev-python/pygal | |
parent | 185fa19bbf68a4d4dca534d2b46729207a177f16 (diff) |
gentoo resync : 22.05.2021
Diffstat (limited to 'dev-python/pygal')
-rw-r--r-- | dev-python/pygal/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pygal/files/2.4.0-fix-tests.patch | 17 | ||||
-rw-r--r-- | dev-python/pygal/pygal-2.4.0-r2.ebuild (renamed from dev-python/pygal/pygal-2.4.0-r1.ebuild) | 17 |
3 files changed, 26 insertions, 11 deletions
diff --git a/dev-python/pygal/Manifest b/dev-python/pygal/Manifest index bcb9b14bffc1..cfd2a8ed46fb 100644 --- a/dev-python/pygal/Manifest +++ b/dev-python/pygal/Manifest @@ -1,3 +1,4 @@ +AUX 2.4.0-fix-tests.patch 645 BLAKE2B 92158d2350eedca67e2706fdc1ca38902bf7b23abd6ecdc1778c0ddc3ba60bb6830b86a850c2cca6eaf49e35c5ea0644af2aafd3cc00195d78af5e1bda245402 SHA512 b16881cea59eae7c354e36f06b1d6e7e76062a3a83a740700e4b1c964a51315dcb9ab729763172f237a132ce900d2f76c74e0e16ee6bc0fe2d50bf104153279c DIST pygal-2.4.0.tar.gz 4554802 BLAKE2B 9627558e734420bfb3137989d0cc1978a0a06a597d3d5d071e13653876a4bb3266f12f1a8a358076619d997998754c29ee75058356ba66da64b112a24c2cbe2a SHA512 d69fbcff3792cb0b952addc3bfbaea76628d5546482c291ef217c592a820a73a65b1eb522c5d7877e7a794d19b74636126d99a4ff280e8467ab07a95000ba823 -EBUILD pygal-2.4.0-r1.ebuild 1187 BLAKE2B 6976b8c9926a06f901433e0e8adc60ecdda74c7aea4de7db86a33b5a37ca1b578676585449da0b1264cb6299e018873e02d8e711b29ca273f34995080ceddf7c SHA512 21518fbd4bf2e3c03f38d4e64598b423e8118e6a32c96f82edad18ee0acfed5a9ee9940f6825406ff74ea3b26931f95096b028ef659298f858006b028bb00eb5 +EBUILD pygal-2.4.0-r2.ebuild 1154 BLAKE2B 3aea0bf24f37d195888abd88a6695148fc08f5cc6959598c193a064f0a7b540369be18afe9b203a9fe6a3051019218247c6a7713738e42154f812a249d3b838c SHA512 074bc67b94683d445fc3126cab8fd740a089504ece23c6c31dea56ca5eea2b2034f9f499b14ceafb4b12b8748845e39f0871a33c2f222aadc35e26df454be112 MISC metadata.xml 432 BLAKE2B 935ce59a5a29aecbe4015fc52312fb03be02821a20863d20171378a68ced0aadfb43f7d1898fe52b8159cc0cd5a78ae0daedb97b730fd864de39abf3a617cd92 SHA512 1d2e68e4622a235b6df15390271b1f331b366a2ad1432740de81de20b494ccfc9e5f0e94f8b63acee67679e10267c0f21c66b58514e72f32d0fa3b5b262640d3 diff --git a/dev-python/pygal/files/2.4.0-fix-tests.patch b/dev-python/pygal/files/2.4.0-fix-tests.patch new file mode 100644 index 000000000000..6ae07df3427b --- /dev/null +++ b/dev-python/pygal/files/2.4.0-fix-tests.patch @@ -0,0 +1,17 @@ +diff --git a/pygal/test/conftest.py b/pygal/test/conftest.py +index ea36010..6fe40cb 100644 +--- a/pygal/test/conftest.py ++++ b/pygal/test/conftest.py +@@ -48,9 +48,9 @@ def pytest_generate_tests(metafunc): + if hasattr(sys, 'pypy_version_info'): + etree.to_etree() + +- if "Chart" in metafunc.funcargnames: ++ if "Chart" in metafunc.fixturenames: + metafunc.parametrize("Chart", pygal.CHARTS) +- if "datas" in metafunc.funcargnames: ++ if "datas" in metafunc.fixturenames: + metafunc.parametrize( + "datas", [[("Serie %d" % i, get_data(i)) for i in range(s)] + for s in (5, 1, 0)] +-- diff --git a/dev-python/pygal/pygal-2.4.0-r1.ebuild b/dev-python/pygal/pygal-2.4.0-r2.ebuild index d99f0e5a873f..c67f4dee8145 100644 --- a/dev-python/pygal/pygal-2.4.0-r1.ebuild +++ b/dev-python/pygal/pygal-2.4.0-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 @@ -19,15 +19,12 @@ KEYWORDS="amd64 x86" RDEPEND=" dev-python/lxml[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - media-gfx/cairosvg[${PYTHON_USEDEP}] -" + media-gfx/cairosvg[${PYTHON_USEDEP}]" + BDEPEND=" - test? ( - dev-python/pyquery[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" + test? ( dev-python/pyquery[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}/${PV}-fix-tests.patch" ) # CHANGELOG is a symlink to docs/changelog.rst DOCS=( docs/changelog.rst README.md ) |