diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-python/pytest-verbose-parametrize | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-python/pytest-verbose-parametrize')
4 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/pytest-verbose-parametrize/Manifest b/dev-python/pytest-verbose-parametrize/Manifest new file mode 100644 index 000000000000..f67be8cdb485 --- /dev/null +++ b/dev-python/pytest-verbose-parametrize/Manifest @@ -0,0 +1,4 @@ +AUX pytest-verbose-parametrize-1.7.0_collections-abc.patch 205 BLAKE2B e884904bba85f2873d61d3a946ac8f8f521aab3a38814bc1d0412c37331c439e9b22d5c4dd8129422c8d1d9293352742d506f13118f2d1b2055a71c3d140742a SHA512 45318b475d70fb4e8eb9eba4c087a6a47fe30460166571d272c7cefcd7ac3ec8356cf448114ba3b58b360f22b0a7bbfcc9c349ccf091cb99e1f9aff6f0563edb +DIST pytest-verbose-parametrize-1.7.0.tar.gz 12301 BLAKE2B 908d8c9d82861783931dc25c6b522e13f252e4b04e01a2f6a0e646cd63720816242ef143041abf0aa6b67fb574d5f84d05029edd11e589728b0e5b63f92f898e SHA512 ac81cdf002d60b4af916c4beb4c832c9c39dc9dcfa3eea7385b093f9ea18391cbf968a4e908abdb23523a7cb1e294dce2017083414e61eef6762f157319e2cf4 +EBUILD pytest-verbose-parametrize-1.7.0.ebuild 1020 BLAKE2B 36c4b67aa351cefe9277a34bb79d120e12d53c0054d31b6122c4cca02af052b23c77e987a44d67174166ce946c3c394ae708f4751670635fd770105f3814cae0 SHA512 cab5604786562e9d199619e3ce385dd91dd8cea5ea42a038dfc75111b59dfbb3cba0d45cc998eed8552b43e0c41116e3149c37db7101dd492690406c06d3800b +MISC metadata.xml 422 BLAKE2B d5458b684b5b4c5409a03fec75953c7e5103e5561865d06ed76e230e04e6c96b418ee47481d2bd3c1482902b3082ab87d95d722ef058ee941fd5c0ca7f5d8578 SHA512 256e9cc27e71015b28e414973ca2505ac9f595f118424b14e92cecc9139a550494f472d9b2fc29ad864f43497793744618e9e9ec74efdfe0fea6abfc807b2982 diff --git a/dev-python/pytest-verbose-parametrize/files/pytest-verbose-parametrize-1.7.0_collections-abc.patch b/dev-python/pytest-verbose-parametrize/files/pytest-verbose-parametrize-1.7.0_collections-abc.patch new file mode 100644 index 000000000000..f4b0720c3600 --- /dev/null +++ b/dev-python/pytest-verbose-parametrize/files/pytest-verbose-parametrize-1.7.0_collections-abc.patch @@ -0,0 +1,8 @@ +--- a/pytest_verbose_parametrize.py ++++ b/pytest_verbose_parametrize.py +@@ -1,4 +1,4 @@ +-from collections import Iterable ++from collections.abc import Iterable + from six import string_types, text_type + + diff --git a/dev-python/pytest-verbose-parametrize/metadata.xml b/dev-python/pytest-verbose-parametrize/metadata.xml new file mode 100644 index 000000000000..3f5893e2c50b --- /dev/null +++ b/dev-python/pytest-verbose-parametrize/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">man-group/pytest-plugins</remote-id> + <remote-id type="pypi">pytest-verbose-parametrize</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0.ebuild b/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0.ebuild new file mode 100644 index 000000000000..0654f699aced --- /dev/null +++ b/dev-python/pytest-verbose-parametrize/pytest-verbose-parametrize-1.7.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="More descriptive parametrized-test IDs for py.test" +HOMEPAGE="https://github.com/man-group/pytest-plugins https://pypi.org/project/pytest-verbose-parametrize/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# The test suite is borked, some of the tests are extremely sensitive to Python +# verbosity level whereas others act differently depending on whether the package +# has previously been installed or not. +RESTRICT="test" + +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +BDEPEND="dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.7.0_collections-abc.patch +) + +distutils_enable_tests pytest |