summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-05-17 12:47:28 -0400
committerMike Gilbert <floppym@gentoo.org>2020-05-18 11:47:24 -0400
commiteb031c43aea54ab098d243207066941478242c3e (patch)
tree9dd98a9057e40713cf7470bcbc0440fc4b1005af /dev-util/github-cli
parentdev-util/github-cli: renamed from dev-vcs/cli (diff)
downloadgentoo-eb031c43aea54ab098d243207066941478242c3e.tar.gz
gentoo-eb031c43aea54ab098d243207066941478242c3e.tar.bz2
gentoo-eb031c43aea54ab098d243207066941478242c3e.zip
dev-util/github-cli: fix live ebuild
Closes: https://github.com/gentoo/gentoo/pull/15851 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-util/github-cli')
-rw-r--r--dev-util/github-cli/github-cli-0.8.0.ebuild4
-rw-r--r--dev-util/github-cli/github-cli-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-util/github-cli/github-cli-0.8.0.ebuild b/dev-util/github-cli/github-cli-0.8.0.ebuild
index ec3be96c343a..61c48d3dee4c 100644
--- a/dev-util/github-cli/github-cli-0.8.0.ebuild
+++ b/dev-util/github-cli/github-cli-0.8.0.ebuild
@@ -276,7 +276,7 @@ RDEPEND=">=dev-vcs/git-1.7.3"
BDEPEND=">=dev-lang/go-1.13"
src_unpack() {
- if has live "${PROPERTIES}"; then
+ if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack
go-module_live_vendor
else
@@ -285,7 +285,7 @@ src_unpack() {
}
src_compile() {
- has live "${PROPERTIES}" || export GH_VERSION="v${PV}"
+ [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}"
# Golang LDFLAGS are not the same as GCC/Binutils LDFLAGS
unset LDFLAGS
emake
diff --git a/dev-util/github-cli/github-cli-9999.ebuild b/dev-util/github-cli/github-cli-9999.ebuild
index ec3be96c343a..61c48d3dee4c 100644
--- a/dev-util/github-cli/github-cli-9999.ebuild
+++ b/dev-util/github-cli/github-cli-9999.ebuild
@@ -276,7 +276,7 @@ RDEPEND=">=dev-vcs/git-1.7.3"
BDEPEND=">=dev-lang/go-1.13"
src_unpack() {
- if has live "${PROPERTIES}"; then
+ if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack
go-module_live_vendor
else
@@ -285,7 +285,7 @@ src_unpack() {
}
src_compile() {
- has live "${PROPERTIES}" || export GH_VERSION="v${PV}"
+ [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}"
# Golang LDFLAGS are not the same as GCC/Binutils LDFLAGS
unset LDFLAGS
emake