app=misc/cepl: update 23.0.0 and 9999

Signed-off-by: Joey Pabalinas <joeypabalinas@gmail.com>
This commit is contained in:
Joey Pabalinas
2025-09-03 19:13:19 -10:00
parent 53e40119c3
commit 5ee215658a
2 changed files with 25 additions and 8 deletions

View File

@@ -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:=

View File

@@ -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:=