summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-23 13:02:08 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-23 13:02:08 +0200
commitbd4346e0526a698cf6a772cc2da00f7661734baf (patch)
tree3b0d61c52825265c028731c624f519a1ae78d208 /dev-python/ntplib
parentdev-python/mando: Enable py3.9 & py3.10 (diff)
downloadgentoo-bd4346e0526a698cf6a772cc2da00f7661734baf.tar.gz
gentoo-bd4346e0526a698cf6a772cc2da00f7661734baf.tar.bz2
gentoo-bd4346e0526a698cf6a772cc2da00f7661734baf.zip
dev-python/ntplib: Enable py3.9 & py3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ntplib')
-rw-r--r--dev-python/ntplib/ntplib-0.3.3.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-python/ntplib/ntplib-0.3.3.ebuild b/dev-python/ntplib/ntplib-0.3.3.ebuild
index 388be2874a6b..38cffbd39d3c 100644
--- a/dev-python/ntplib/ntplib-0.3.3.ebuild
+++ b/dev-python/ntplib/ntplib-0.3.3.ebuild
@@ -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
}