diff options
Diffstat (limited to 'dev-python/python-utils')
-rw-r--r-- | dev-python/python-utils/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-utils/python-utils-2.3.0.ebuild | 17 |
2 files changed, 8 insertions, 11 deletions
diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest index 5884f7d74c9b..97186d25bc5d 100644 --- a/dev-python/python-utils/Manifest +++ b/dev-python/python-utils/Manifest @@ -1,4 +1,4 @@ AUX python-utils-2.3.0-pytest-runner.patch 461 BLAKE2B 245e0a6a4c76a4286616e0ad1115a718b482de4945d0321eb9b008699df1ff518b0ad7e6e2f9c5ee743fcdb283bac3dba73423b889a8b62951e004433f343894 SHA512 6ec873a2492166ba7d592ceea96e3ccf5851ae88c7577fded1803ad2ef49bead549cbbcdaedc5a8565228c7cf885736ed402b85ee0890f61e91891debbd14c2e DIST python-utils-2.3.0.tar.gz 19384 BLAKE2B 1746deadc8dbaf49a6499fe9c79d25c2b5cfea68e2d1b7ab6f88aa72807eedcdb338058e24a7822c6360dea36f1a044145572443c57f43f4cfed765a76e48f0b SHA512 482ccf9c635a0cbe603b69488a364d9033f8b7fada279d901725b5bf91ac13b1cd4a6b7e8d5834a9355d97d8b0803397d5e13da2b7ba72f8d8e2f7f39fee027a -EBUILD python-utils-2.3.0.ebuild 836 BLAKE2B d5d94cddf4d669e725f75e2c9fb0694ddf2c244bdac205d1f41c05e9f7c99297be1cbcc7b2ae0a03f94c15543e0f6e056e84998ffd45d22549b4f739a2f42523 SHA512 3d968420ca4bf39dc0a74bd04c58be6af355deb7df8ea5f483436742da4f4f3391f97f1d99e1a3c8f26e0be0dcd3369e65eb50f2a5f6be5f1ce86e07841d5b31 +EBUILD python-utils-2.3.0.ebuild 798 BLAKE2B 66199da67e7e9668a4fc80a61a62a591d7a9f6993f9f1d7bf8080545c1305b4e167f00e66255b2e8ded5b8c3cc7aeffde4ae57eb53f0ec8b6b06b1a7be3c113e SHA512 ac12f533f8aa267f580ce1336ccd34ff732534e039b507d33ac87c189663bcb283917e720958420068f39401ba6616d4f34e412b45b9feb61556dffddd7717fb MISC metadata.xml 321 BLAKE2B 7baf4b7d0dbc6064c0588cae9708d10df7d571cf178f6156124938d4786a6560263e9862d23d53bfd17f6e098f58dc24188a9b02642765dbe4aa9d1628a78c66 SHA512 3073d2409eeb35e53d4f55a774ff737496ee360204832c17e178a2d8d0288416cf09fef68ae66bcf5f66a30f6644b364721b402e9bcedf7bb4f1663f302641cf diff --git a/dev-python/python-utils/python-utils-2.3.0.ebuild b/dev-python/python-utils/python-utils-2.3.0.ebuild index 24e371d90eb6..1e71d600470d 100644 --- a/dev-python/python-utils/python-utils-2.3.0.ebuild +++ b/dev-python/python-utils/python-utils-2.3.0.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} pypy3) -PATCHES=( "${FILESDIR}"/${P}-pytest-runner.patch ) +PYTHON_COMPAT=( python3_{6..9} pypy3) inherit distutils-r1 @@ -15,17 +14,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - dev-python/pytest-flakes[${PYTHON_USEDEP}]" +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${P}-pytest-runner.patch ) + +distutils_enable_tests pytest python_prepare_all() { find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed" find . -name '*.pyc' -exec rm -f {} \; || die "Cleaning *.pyc failed" + sed -i -e '/--cov/d' -e '/--pep8/d' -e '/--flakes/d' pytest.ini || die distutils-r1_python_prepare_all } - -python_test() { - pytest -v || die -} |