commit:     af8bd42ae68d15dae98e15556829519ff16e2cba
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 22:12:40 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 22:17:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af8bd42a

dev-cpp/kokkos: synchronize 4.6.2 and 9999 ebuild

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-4.6.2.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-4.6.2.ebuild 
b/dev-cpp/kokkos/kokkos-4.6.2.ebuild
index 94f3a9eec9e9..3697596a5038 100644
--- a/dev-cpp/kokkos/kokkos-4.6.2.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.6.2.ebuild
@@ -7,14 +7,19 @@ inherit cmake toolchain-funcs
 
 DESCRIPTION="C++ Performance Portability Programming EcoSystem"
 HOMEPAGE="https://github.com/kokkos";
-MY_PV="$(ver_cut 1-2).0$(ver_cut 3)"
-SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> 
${P}.tar.gz"
 
-S="${WORKDIR}/${PN}-${MY_PV}"
+if [[ ${PV} = *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/kokkos/kokkos.git";
+else
+       MY_PV="$(ver_cut 1-2).0$(ver_cut 3)"
+       
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+       S="${WORKDIR}/${PN}-${MY_PV}"
+       KEYWORDS="~amd64 -x86"
+fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 

Reply via email to