public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/github-cli/
Date: Mon, 18 May 2020 15:48:05 +0000 (UTC)	[thread overview]
Message-ID: <1589816844.eb031c43aea54ab098d243207066941478242c3e.floppym@gentoo> (raw)

commit:     eb031c43aea54ab098d243207066941478242c3e
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun May 17 16:47:28 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon May 18 15:47:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb031c43

dev-util/github-cli: fix live ebuild

Closes: https://github.com/gentoo/gentoo/pull/15851
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-util/github-cli/github-cli-0.8.0.ebuild | 4 ++--
 dev-util/github-cli/github-cli-9999.ebuild  | 4 ++--
 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 ec3be96c343..61c48d3dee4 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 ec3be96c343..61c48d3dee4 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


             reply	other threads:[~2020-05-18 15:48 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-18 15:48 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-26 20:19 [gentoo-commits] repo/gentoo:master commit in: dev-util/github-cli/ William Hubbs
2020-05-31  4:18 Robin H. Johnson
2020-05-31  4:18 Robin H. Johnson
2020-05-31  4:18 Robin H. Johnson
2020-06-07 18:00 William Hubbs
2020-06-12 21:14 William Hubbs
2020-07-26 17:52 William Hubbs
2020-09-17 14:12 William Hubbs
2020-12-23 17:03 William Hubbs
2021-01-29 15:54 William Hubbs
2021-01-29 16:37 William Hubbs
2021-01-29 16:40 William Hubbs
2021-02-24 19:22 William Hubbs
2021-03-14 17:58 William Hubbs
2021-04-02 17:29 William Hubbs
2021-04-16  6:04 William Hubbs
2021-05-25 11:12 Joonas Niilola
2021-08-10 21:02 William Hubbs
2021-08-10 21:02 William Hubbs
2021-08-26 16:07 William Hubbs
2021-08-26 16:09 William Hubbs
2022-01-01 18:05 William Hubbs
2022-02-22 15:10 William Hubbs
2022-02-22 15:25 William Hubbs
2022-03-10  2:37 Yixun Lan
2022-04-20  1:44 William Hubbs
2022-05-24 15:04 William Hubbs
2022-05-24 15:12 William Hubbs
2022-05-24 15:12 William Hubbs
2022-06-01  1:51 Sam James
2022-06-01  1:51 Sam James
2022-06-01  1:51 Sam James
2022-06-01  1:51 Sam James
2022-06-22 14:55 William Hubbs
2022-06-22 14:55 William Hubbs
2022-08-04  6:27 Arthur Zamarin
2022-08-04 18:41 Arthur Zamarin
2022-08-05 19:00 William Hubbs
2022-08-25  7:07 WANG Xuerui
2022-08-25  7:07 WANG Xuerui
2022-10-19 20:42 William Hubbs
2022-10-19 20:42 William Hubbs
2022-12-01 21:13 William Hubbs
2022-12-01 21:16 William Hubbs
2023-01-16 20:11 William Hubbs
2023-04-13 15:02 William Hubbs
2023-06-22 20:38 William Hubbs
2023-06-22 20:39 William Hubbs
2023-06-24  2:59 Sam James
2023-08-07 19:31 William Hubbs
2023-09-01 18:08 William Hubbs
2024-01-12 22:32 William Hubbs
2024-06-27 16:48 William Hubbs
2024-08-15 21:18 Sam James
2024-08-15 21:18 Sam James
2025-01-08 19:01 William Hubbs
2025-01-08 19:01 William Hubbs
2025-01-08 19:04 William Hubbs
2025-02-10 17:36 William Hubbs
2025-02-10 17:38 William Hubbs
2025-05-14 14:03 William Hubbs
2025-08-05 21:05 William Hubbs
2025-08-05 21:40 William Hubbs
2025-09-08 18:07 William Hubbs
2025-09-15 19:58 Sam James
2025-09-16  4:42 Sam James
2025-10-02 17:14 William Hubbs
2025-10-02 17:16 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1589816844.eb031c43aea54ab098d243207066941478242c3e.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox