summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-23 13:12:20 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-23 13:35:33 +0200
commitd0f6a4f1beef80146db982d1b1ec49749358a917 (patch)
treec8352ca5e569841d7dd8109edcdbc6f7a038d973 /dev-python/pytest-metadata
parentdev-python/pymdstat: Enable py3.9 & py3.10 (diff)
downloadgentoo-d0f6a4f1beef80146db982d1b1ec49749358a917.tar.gz
gentoo-d0f6a4f1beef80146db982d1b1ec49749358a917.tar.bz2
gentoo-d0f6a4f1beef80146db982d1b1ec49749358a917.zip
dev-python/pytest-metadata: Enable py3.9 & py3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-metadata')
-rw-r--r--dev-python/pytest-metadata/pytest-metadata-1.8.0.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/dev-python/pytest-metadata/pytest-metadata-1.8.0.ebuild b/dev-python/pytest-metadata/pytest-metadata-1.8.0.ebuild
index 827d83d29123..6adcd9c3bbed 100644
--- a/dev-python/pytest-metadata/pytest-metadata-1.8.0.ebuild
+++ b/dev-python/pytest-metadata/pytest-metadata-1.8.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} pypy3 )
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
inherit distutils-r1
@@ -13,12 +13,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+
RDEPEND=">=dev-python/pytest-3.0[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-python_test() {
- py.test || die
-}
+distutils_enable_tests pytest