commit:     078df1fc28afa2d84f58afa47403be47f231d487
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 01:01:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 01:02:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=078df1fc

net-misc/ntpsec: add Python 3.10

Closes: https://bugs.gentoo.org/830039
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild |  7 +++----
 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_}
 

Reply via email to