dev-python/ntplib: Enable py3.9 & py3.10

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-05-23 13:02:08 +02:00
parent c5122174ac
commit bd4346e052

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
PYTHON_COMPAT=( python3_{7..10} )
DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1
@@ -17,8 +17,9 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# tests fail with network-sandbox
PROPERTIES="test_network"
RESTRICT="test"
python_test() {
"${EPYTHON}" ./test_ntplib.py || die
"${EPYTHON}" ./test_ntplib.py -v || die
}