diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
commit | 814f4cf860e299a046b649eaee5463427984c09c (patch) | |
tree | 74c45f097899310e599dad6b8df5b63e0f085bc0 /dev-python/testscenarios | |
parent | 7f0ccc917c7abe6223784c703d86cd14755691fb (diff) |
gentoo resync : 08.07.2021
Diffstat (limited to 'dev-python/testscenarios')
-rw-r--r-- | dev-python/testscenarios/Manifest | 2 | ||||
-rw-r--r-- | dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild | 15 |
2 files changed, 6 insertions, 11 deletions
diff --git a/dev-python/testscenarios/Manifest b/dev-python/testscenarios/Manifest index d41ce33ce819..18ffb4fb20dc 100644 --- a/dev-python/testscenarios/Manifest +++ b/dev-python/testscenarios/Manifest @@ -1,3 +1,3 @@ DIST testscenarios-0.5.0.tar.gz 20951 BLAKE2B 154915281456aad3353e144ffec8404514622fdeb8d2129ba530d3d5a02814599c2fead9dc25ab4904bad68b2892a435f9cbbcde92503d71477624bbec154f53 SHA512 f08b868babf504482369c5cb945d3e95bca1cc00f92d5013f6898c488051be0c26dc49aaabcef362aea45450a8d041d9826fb6b5c848beec013fb102d6935521 -EBUILD testscenarios-0.5.0-r1.ebuild 892 BLAKE2B 9eb043bc1edc3617188620402d0879a30763debd905d5e577d61e60307d04e0274b6eedb95b6db4c543e7de9c11bde03bae9a7339f54d8c4bc33eabb3a7ca5b6 SHA512 644e95ada65d555e0680d576738c3b80ae990f3362793ccb6813d788febfffdf53799d2abb74adfc76952255e42e97cde96f7cc609808fb2fa81b89ce89812bf +EBUILD testscenarios-0.5.0-r1.ebuild 766 BLAKE2B 04a783d073a792e96873c1647c96fbdb855e2e6b38f518b3001fb51e47b09f193a78a425d06847179c86fc68ae11f5772bf8c58f56db0472da5bdcc02180ec3b SHA512 54fec6c8cc7278fd40df580365014085450af76cc4015567a56f67b22d47171e07465369e65dce67b6adc94513b44c4b334260fb88b5b88362a99245a0965be3 MISC metadata.xml 979 BLAKE2B ab0d7bfbefdae5ba546ff15669d1caec70e59bf398e6e2ae329821bb141aced038cc946fc309b79a0348051352f7d758e24c081348d6a7e587fc326df14dda09 SHA512 f043d2244673a34d80a88f07c79ac199ad6b2509c3af7a7e934c94330bf745e2dbfbf78fb7f38508cdb1968a87e30cea3e346aad63eb93f94ca762461b3d20e4 diff --git a/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild b/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild index ef33bdf56770..48131c36af92 100644 --- a/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild +++ b/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{8..9} pypy3 ) +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 DESCRIPTION="A pyunit extension for dependency injection" @@ -14,20 +13,16 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/testtools[${PYTHON_USEDEP}]" # using pytest for tests since unittest loader fails with py3.5+ -DEPEND=" +BDEPEND=" >=dev-python/pbr-0.11[${PYTHON_USEDEP}]" distutils_enable_tests pytest -python_prepare_all() { - # Remove a faulty file from tests, missing a required attribute - rm ${PN}/tests/test_testcase.py || die - distutils-r1_python_prepare_all +python_test() { + epytest --deselect testscenarios/tests/test_testcase.py } |