From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/pytest-subtests/Manifest | 4 +- .../pytest-subtests/pytest-subtests-0.7.0.ebuild | 40 ----------------- .../pytest-subtests/pytest-subtests-0.8.0.ebuild | 51 ++++++++++++++++++++++ 3 files changed, 53 insertions(+), 42 deletions(-) delete mode 100644 dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild create mode 100644 dev-python/pytest-subtests/pytest-subtests-0.8.0.ebuild (limited to 'dev-python/pytest-subtests') diff --git a/dev-python/pytest-subtests/Manifest b/dev-python/pytest-subtests/Manifest index 89139217eb47..26ccdcde07dc 100644 --- a/dev-python/pytest-subtests/Manifest +++ b/dev-python/pytest-subtests/Manifest @@ -1,3 +1,3 @@ -DIST pytest-subtests-0.7.0.gh.tar.gz 9714 BLAKE2B 027badb226c6889ed2fb809eb0b3944ef227a804ea58562fe9337f37526a07a41b11cdfd356d8e9a29f9affc9d0702dead59045db9781504c92186ee613ccb1a SHA512 96531a42c06a20cdf3f3665993d3e80d198a60d536246f4dc46df20b56e47f3f6fdce9478351a8922e370435f974e63d565550213fbbeed8487eedc131f46404 -EBUILD pytest-subtests-0.7.0.ebuild 1039 BLAKE2B 2b7b3f0f8b1b3bad0efeb94d4f7277b7519bba9fbc39dc568be36f72cb22f8c0069b0dc980f9a9f0d8e3dbfc8c7639a7279b9fde4288138bb565b9bef8fcfe39 SHA512 84e5868ab829ab9e9b317badce7e9e98c15e3886a6cc83d48c3dc9cb09764c885883463a6f79d659c53ec728307d203e23d9c90607bbab7a4da9c9ebec883ba7 +DIST pytest-subtests-0.8.0.gh.tar.gz 9767 BLAKE2B 707f6744f1cd7723d7bee11f5e535750fa179e7ad3912cd94d5200002e1dc0a206cbdb5c3bc8be587a1c81342ef9d6a8a397acd08388096a484feca6f9c84e0c SHA512 0164e02c81685108bb5c12f7e7ce92dc2fd5c844be454b2cb26e3cb942d51c453f06bb48e0300438a82b28c747dea35ea4f75eaf65ff8b66b338bcb0f0dd9ed1 +EBUILD pytest-subtests-0.8.0.ebuild 1377 BLAKE2B b007cfbe785cd0a779778f0deb676e5f447995d1d3959218b36f7ec0302c927853eac31b9dec45dd150fe7732cc9bf0f7695c6a6342ddb48dd715fda7383ef6d SHA512 fd9032fa6333d5af9885f7aab509977b5011b36bba61ab9f6470f14f5fc79e790aa49f90e88ab9dc0c6c7d931c66e79e9b9e2fc9366bea6d05d467b1ae403d05 MISC metadata.xml 409 BLAKE2B ca267dc80fa124c3c8ba82f5e46356492e8cadefcf8001469c3c076b079844ae72829b5b527658bea341c3fee3f173421c9f2e7ec7042a171e234070113f4734 SHA512 57c12735a910107b53dbe54969f15ce70eafda3df096c78082d91d5bedc53b015ecae3e3d901e0a2a90841370916f6e4e94041e0b5589ffdce323144375e6c20 diff --git a/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild deleted file mode 100644 index ff8252c2c7b9..000000000000 --- a/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 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} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="unittest subTest() support and subtests fixture" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-subtests/ - https://pypi.org/project/pytest-subtests/" -SRC_URI=" - https://github.com/pytest-dev/pytest-subtests/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=">=dev-python/pytest-7[${PYTHON_USEDEP}]" -# pytest-xdist is used to test compatibility -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked,pytest_subtests - epytest -} diff --git a/dev-python/pytest-subtests/pytest-subtests-0.8.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.8.0.ebuild new file mode 100644 index 000000000000..ac20291c5208 --- /dev/null +++ b/dev-python/pytest-subtests/pytest-subtests-0.8.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="unittest subTest() support and subtests fixture" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-subtests/ + https://pypi.org/project/pytest-subtests/" +SRC_URI=" + https://github.com/pytest-dev/pytest-subtests/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/pytest-7[${PYTHON_USEDEP}] +" +# pytest-xdist is used to test compatibility +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked,pytest_subtests + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # broken by output changes + # https://github.com/pytest-dev/pytest-subtests/issues/69 + "tests/test_subtests.py::TestSubTest::test_simple_terminal_normal[unittest]" + "tests/test_subtests.py::TestSubTest::test_simple_terminal_verbose[unittest]" + ) + + epytest +} -- cgit v1.2.3