commit:     5ee215658af9888fb0bfe50ae8022fc275048cc4
Author:     Joey Pabalinas <joeypabalinas <AT> gmail <DOT> com>
AuthorDate: Thu Sep  4 05:13:19 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Sep  4 05:13:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5ee21565

app=misc/cepl: update 23.0.0 and 9999

Signed-off-by: Joey Pabalinas <joeypabalinas <AT> gmail.com>

 app-misc/cepl/cepl-23.0.0.ebuild | 14 ++++++++++++--
 app-misc/cepl/cepl-9999.ebuild   | 19 +++++++++++++------
 2 files changed, 25 insertions(+), 8 deletions(-)

diff --git a/app-misc/cepl/cepl-23.0.0.ebuild b/app-misc/cepl/cepl-23.0.0.ebuild
index f37b501490..18cafa6635 100644
--- a/app-misc/cepl/cepl-23.0.0.ebuild
+++ b/app-misc/cepl/cepl-23.0.0.ebuild
@@ -7,11 +7,21 @@ inherit toolchain-funcs
 
 DESCRIPTION="A readline C and C++ REPL with history, tab-completion, and undo."
 HOMEPAGE="https://github.com/alyptik/cepl";
-SRC_URI="https://github.com/alyptik/cepl/releases/download/v${PV}/${P}.tar.gz";
 S="${WORKDIR}"
+
+if [[ ${PV} == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/alyptik/${PN}.git";
+       EGIT_SUBMODULES=('*')
+       EGIT_BRANCH="master"
+       EGIT_CHECKOUT_DIR="${S}"
+else
+       
SRC_URI="https://github.com/alyptik/cepl/releases/download/v${PV}/${P}.tar.gz";
+       KEYWORDS="~amd64"
+fi
+
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
 IUSE="debug"
 RDEPEND="
        sys-libs/readline:=

diff --git a/app-misc/cepl/cepl-9999.ebuild b/app-misc/cepl/cepl-9999.ebuild
index bcd7865b2d..18cafa6635 100644
--- a/app-misc/cepl/cepl-9999.ebuild
+++ b/app-misc/cepl/cepl-9999.ebuild
@@ -3,18 +3,25 @@
 
 EAPI=8
 
-inherit toolchain-funcs git-r3
+inherit toolchain-funcs
 
 DESCRIPTION="A readline C and C++ REPL with history, tab-completion, and undo."
 HOMEPAGE="https://github.com/alyptik/cepl";
 S="${WORKDIR}"
-EGIT_REPO_URI="https://github.com/alyptik/${PN}.git";
-EGIT_SUBMODULES=('*')
-EGIT_BRANCH="master"
-EGIT_CHECKOUT_DIR="${S}"
+
+if [[ ${PV} == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/alyptik/${PN}.git";
+       EGIT_SUBMODULES=('*')
+       EGIT_BRANCH="master"
+       EGIT_CHECKOUT_DIR="${S}"
+else
+       
SRC_URI="https://github.com/alyptik/cepl/releases/download/v${PV}/${P}.tar.gz";
+       KEYWORDS="~amd64"
+fi
+
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
 IUSE="debug"
 RDEPEND="
        sys-libs/readline:=

Reply via email to