mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
dev-python/fields: Enable py3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Container class boilerplate killer"
|
||||
@@ -28,9 +26,11 @@ python_prepare_all() {
|
||||
sed -r \
|
||||
-e "/--benchmark-disable/d" \
|
||||
-e 's|\[pytest\]|\[tool:pytest\]|' \
|
||||
-e '/^[[:space:]]*--doctest-modules[[:space:]]*$/ d' \
|
||||
-i setup.cfg || die
|
||||
|
||||
rm -rf tests/test_perf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest --ignore tests/test_perf.py tests
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user