commit:     36c2fbdab6b40b00759213951e00b9cc48d7a646
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 00:06:14 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 00:06:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c2fbda

sys-libs/fortify-headers: update EAPI 7 -> 8, use live template

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/fortify-headers/fortify-headers-9999.ebuild | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/sys-libs/fortify-headers/fortify-headers-9999.ebuild 
b/sys-libs/fortify-headers/fortify-headers-9999.ebuild
index 27b835004a56..d272815bf352 100644
--- a/sys-libs/fortify-headers/fortify-headers-9999.ebuild
+++ b/sys-libs/fortify-headers/fortify-headers-9999.ebuild
@@ -1,14 +1,20 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-EGIT_REPO_URI="https://github.com/jvoisin/fortify-headers";
-inherit git-r3
-
-DESCRIPTION="A standalone implementation of fortify source"
+DESCRIPTION="Standalone implementation of fortify source"
 HOMEPAGE="https://github.com/jvoisin/fortify-headers";
 
+if [[ ${PV} == *9999* ]] ; then
+       EGIT_REPO_URI="https://github.com/jvoisin/fortify-headers";
+       inherit git-r3
+else
+       FORTIFY_COMMIT=""
+       
SRC_URI="https://github.com/jvoisin/fortify-headers/archive/${FORTIFY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
+fi
+
 LICENSE="ISC"
 SLOT="0"
 

Reply via email to