summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gmail.com>2021-07-31 22:16:29 +0300
committerMichał Górny <mgorny@gentoo.org>2021-08-05 23:45:28 +0200
commit6c2f534ab3a1ca157f6e0667defb85800fd4beaf (patch)
tree3c89ffb8f38b5f4ef2e1fc13f390f5d5e8828d47 /dev-python/minimock
parentdev-python/joblib: enable py3.10 (diff)
downloadgentoo-6c2f534ab3a1ca157f6e0667defb85800fd4beaf.tar.gz
gentoo-6c2f534ab3a1ca157f6e0667defb85800fd4beaf.tar.bz2
gentoo-6c2f534ab3a1ca157f6e0667defb85800fd4beaf.zip
dev-python/minimock: enable py3.10, disable coverage
Signed-off-by: Arthur Zamarin <arthurzam@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21864 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/minimock')
-rw-r--r--dev-python/minimock/minimock-1.3.0.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-python/minimock/minimock-1.3.0.ebuild b/dev-python/minimock/minimock-1.3.0.ebuild
index 626cb3a2d8b3..dda36847f069 100644
--- a/dev-python/minimock/minimock-1.3.0.ebuild
+++ b/dev-python/minimock/minimock-1.3.0.ebuild
@@ -3,12 +3,11 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
-MY_PN="MiniMock"
-MY_P="${MY_PN}-${PV}"
+MY_P="MiniMock-${PV}"
DESCRIPTION="The simplest possible mock library"
HOMEPAGE="https://pypi.org/project/MiniMock/"
@@ -21,3 +20,8 @@ KEYWORDS="amd64 arm ~arm64 ppc x86"
DOCS=( CHANGELOG.txt README.rst )
distutils_enable_tests nose
+
+src_prepare() {
+ sed -i -e '/cov/d' setup.cfg || die
+ default
+}