summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Browning <JamesB.fe80@gmail.com>2024-06-04 12:12:27 -0700
committerSam James <sam@gentoo.org>2024-06-14 09:01:49 +0100
commitfa8cb51ea78399f327fe01c6076081eba73c17ad (patch)
tree66c48643b70edf9ea3a7c9218949c0b86d298403 /net-misc/ntpsec
parentnet-misc/ntpsec: Replace n(+1) used whole tree builds with 1 (diff)
downloadgentoo-fa8cb51ea78399f327fe01c6076081eba73c17ad.tar.gz
gentoo-fa8cb51ea78399f327fe01c6076081eba73c17ad.tar.bz2
gentoo-fa8cb51ea78399f327fe01c6076081eba73c17ad.zip
net-misc/ntpsec: Reduce the number of actual builds to 1 from n(+1)
Signed-off-by: James Browning <JamesB.fe80@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/ntpsec')
-rw-r--r--net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild14
-rw-r--r--net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild14
-rw-r--r--net-misc/ntpsec/ntpsec-9999.ebuild14
3 files changed, 9 insertions, 33 deletions
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index 7ac251bca9f3..0a94ff49d14d 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -86,8 +86,6 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
- python_copy_sources
}
src_configure() {
@@ -118,26 +116,20 @@ src_configure() {
$(use smear && echo "--enable-leap-smear")
$(use debug && echo "--enable-debug")
)
-
- distutils-r1_src_configure
-}
-
-python_configure() {
+ python_setup
cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
waf-utils_src_configure "${myconf[@]}"
}
-python_compile() {
+src_compile() {
waf-utils_src_compile --notests
}
-python_test() {
+src_test() {
waf-utils_src_compile check
}
src_install() {
- distutils-r1_src_install
-
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index f68a9031ad40..cd24946409e0 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -86,8 +86,6 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
- python_copy_sources
}
src_configure() {
@@ -117,26 +115,20 @@ src_configure() {
$(use smear && echo "--enable-leap-smear")
$(use debug && echo "--enable-debug")
)
-
- distutils-r1_src_configure
-}
-
-python_configure() {
+ python_setup
cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
waf-utils_src_configure "${myconf[@]}"
}
-python_compile() {
+src_compile() {
waf-utils_src_compile --notests
}
-python_test() {
+src_test() {
waf-utils_src_compile check
}
src_install() {
- distutils-r1_src_install
-
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 01362d1ff984..20b970da4170 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -86,8 +86,6 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
- python_copy_sources
}
src_configure() {
@@ -117,26 +115,20 @@ src_configure() {
$(use smear && echo "--enable-leap-smear")
$(use debug && echo "--enable-debug")
)
-
- distutils-r1_src_configure
-}
-
-python_configure() {
+ python_setup
cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
waf-utils_src_configure "${myconf[@]}"
}
-python_compile() {
+src_compile() {
waf-utils_src_compile --notests
}
-python_test() {
+src_test() {
waf-utils_src_compile check
}
src_install() {
- distutils-r1_src_install
-
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}