commit:     f216463c27547979a34f5b05c32b5ebe663deb9f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 14 18:40:04 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 14 19:00:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f216463c

net-misc/kea: Fix at least VariableOrderWrong while here

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-misc/kea/kea-2.4.1.ebuild | 16 +++++++---------
 net-misc/kea/kea-9999.ebuild  | 16 +++++++---------
 2 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/net-misc/kea/kea-2.4.1.ebuild b/net-misc/kea/kea-2.4.1.ebuild
index 5c0579d02da6..654c57b4b8a3 100644
--- a/net-misc/kea/kea-2.4.1.ebuild
+++ b/net-misc/kea/kea-2.4.1.ebuild
@@ -7,14 +7,13 @@ MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
 
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="https://www.isc.org/kea/";
-
 PYTHON_COMPAT=( python3_{11..12} )
-
 inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 
-if [[ ${PV} = 9999* ]] ; then
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+if [[ ${PV} == *9999* ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
@@ -27,10 +26,13 @@ else
                fi
        fi
 fi
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
 IUSE="debug doc mysql +openssl postgres +samples shell test"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
@@ -56,10 +58,6 @@ RDEPEND="${COMMON_DEPEND}
        acct-user/dhcp"
 BDEPEND="virtual/pkgconfig"
 
-REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
 PATCHES=(
        "${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
 )

diff --git a/net-misc/kea/kea-9999.ebuild b/net-misc/kea/kea-9999.ebuild
index 5c0579d02da6..654c57b4b8a3 100644
--- a/net-misc/kea/kea-9999.ebuild
+++ b/net-misc/kea/kea-9999.ebuild
@@ -7,14 +7,13 @@ MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
 
-DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
-HOMEPAGE="https://www.isc.org/kea/";
-
 PYTHON_COMPAT=( python3_{11..12} )
-
 inherit autotools fcaps flag-o-matic python-single-r1 systemd tmpfiles
 
-if [[ ${PV} = 9999* ]] ; then
+DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
+HOMEPAGE="https://www.isc.org/kea/";
+
+if [[ ${PV} == *9999* ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://gitlab.isc.org/isc-projects/kea.git";
 else
@@ -27,10 +26,13 @@ else
                fi
        fi
 fi
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
 IUSE="debug doc mysql +openssl postgres +samples shell test"
+
+REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
@@ -56,10 +58,6 @@ RDEPEND="${COMMON_DEPEND}
        acct-user/dhcp"
 BDEPEND="virtual/pkgconfig"
 
-REQUIRED_USE="shell? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MY_P}"
-
 PATCHES=(
        "${FILESDIR}"/${PN}-2.2.0-openssl-version.patch
 )

Reply via email to