| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.10.0 | 8 | ~amd64 | 0 |
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Portable CLI tool for interacting with Git(Hub|Lab|Tea) from the command line."
HOMEPAGE="https://herrhotzenplotz.de/gcli/"
SRC_URI="https://herrhotzenplotz.de/gcli/releases/gcli-${PV}/gcli-${PV}.tar.xz"
LICENSE="BSD-2 Unlicense"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+libedit lowdown test"
RESTRICT="!test? ( test )"
# pdjson isnt system installable without patches
RDEPEND="
dev-libs/openssl:=
net-misc/curl[openssl]
x11-misc/xdg-utils
libedit? (
dev-libs/libedit
)
!libedit? (
sys-libs/readline:=
)
lowdown? (
app-text/lowdown:=
)
"
DEPEND="
${RDEPEND}
test? (
dev-libs/atf
dev-lang/perl
)
"
BDEPEND="
virtual/pkgconfig
"
src_configure() {
# use ccache via portage
local -x CCACHE=" " # whitespace required...
local myconf=(
--prefix="${EPREFIX}/usr"
$(usev !libedit --disable-libedit)
$(usev libedit --disable-libreadline)
$(usev !lowdown --disable-liblowdown)
$(usev !test --disable-tests)
)
./configure ${myconf[@]} || die
}
dev-libs/openssl:= net-misc/curl[openssl] x11-misc/xdg-utils libedit? ( dev-libs/libedit ) !libedit? ( sys-libs/readline:= ) lowdown? ( app-text/lowdown:= ) test? ( dev-libs/atf dev-lang/perl )
dev-libs/openssl:= net-misc/curl[openssl] x11-misc/xdg-utils libedit? ( dev-libs/libedit ) !libedit? ( sys-libs/readline:= ) lowdown? ( app-text/lowdown:= )
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gcli-2.10.0.tar.xz | 392540 bytes | https://herrhotzenplotz.de/gcli/releases/gcli-2.10.0/gcli-2.10.0.tar.xz |