diff options
author | Sam James <sam@gentoo.org> | 2022-04-20 02:01:43 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-20 02:02:59 +0100 |
commit | 078df1fc28afa2d84f58afa47403be47f231d487 (patch) | |
tree | cd0db657f46448203f308e1ca2c3b661d8325386 /net-misc/ntpsec | |
parent | net-misc/ntpsec: Try to only run tests in src_test only (diff) | |
download | gentoo-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')
-rw-r--r-- | net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 7 | ||||
-rw-r--r-- | net-misc/ntpsec/ntpsec-9999.ebuild | 11 |
2 files changed, 8 insertions, 10 deletions
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild index f8f744dbf4a7..0278acc54735 100644 --- a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild +++ b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE='threads(+)' DISTUTILS_USE_SETUPTOOLS=no @@ -13,8 +13,7 @@ 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" + SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" fi @@ -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_} 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_} |