summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-20 02:01:43 +0100
committerSam James <sam@gentoo.org>2022-04-20 02:02:59 +0100
commit078df1fc28afa2d84f58afa47403be47f231d487 (patch)
treecd0db657f46448203f308e1ca2c3b661d8325386 /net-misc/ntpsec/ntpsec-9999.ebuild
parentnet-misc/ntpsec: Try to only run tests in src_test only (diff)
downloadgentoo-078df1fc28afa2d84f58afa47403be47f231d487.tar.gz
gentoo-078df1fc28afa2d84f58afa47403be47f231d487.tar.bz2
gentoo-078df1fc28afa2d84f58afa47403be47f231d487.zip
net-misc/ntpsec: add Python 3.10
Closes: https://bugs.gentoo.org/830039 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/ntpsec/ntpsec-9999.ebuild')
-rw-r--r--net-misc/ntpsec/ntpsec-9999.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 9916c5768c10..b419ab5283ec 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -13,9 +13,8 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
- RESTRICT="mirror"
- KEYWORDS="amd64 arm arm64 ~riscv ~x86"
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
@@ -24,7 +23,7 @@ HOMEPAGE="https://www.ntpsec.org/"
NTPSEC_REFCLOCK=(
oncore trimble truetime gpsd jjy generic spectracom
shm pps hpgps zyfer arbiter nmea modem local
- )
+)
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}