public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
Date: Wed,  9 Oct 2019 03:19:05 +0000 (UTC)	[thread overview]
Message-ID: <1570591127.914b9ce29b05dad0d192297d3225a130b1b7ac61.juippis@gentoo> (raw)

commit:     914b9ce29b05dad0d192297d3225a130b1b7ac61
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Sat Oct  5 17:25:47 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct  9 03:18:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914b9ce2

dev-cpp/gtest: Fix tarball version scheme

Upstream has changed tarball names from release-${PV}.tar.gz to
v${PV}.tar.gz.  To further complicate matters, the tarball for 1.10.0
is v1.10.x.tar.gz.

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13174
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-cpp/gtest/gtest-1.10.0.ebuild | 8 +++++---
 dev-cpp/gtest/gtest-9999.ebuild   | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-cpp/gtest/gtest-1.10.0.ebuild b/dev-cpp/gtest/gtest-1.10.0.ebuild
index 02ca3c039b1..0611441372a 100644
--- a/dev-cpp/gtest/gtest-1.10.0.ebuild
+++ b/dev-cpp/gtest/gtest-1.10.0.ebuild
@@ -8,16 +8,18 @@ PYTHON_COMPAT=( python2_7 pypy )
 
 inherit cmake-multilib python-any-r1
 
+MY_PV=1.10.x
+
 if [[ ${PV} == "9999" ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/google/googletest"
 else
 	if [[ -z ${GOOGLETEST_COMMIT} ]]; then
-		MY_PV=release-${PV}
+		URI_PV=v${MY_PV:-${PV}}
 	else
-		MY_PV=${GOOGLETEST_COMMIT}
+		URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}}
 	fi
-	SRC_URI="https://github.com/google/googletest/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
 	S="${WORKDIR}"/googletest-${MY_PV}
 fi

diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild
index 02ca3c039b1..826b660f7bc 100644
--- a/dev-cpp/gtest/gtest-9999.ebuild
+++ b/dev-cpp/gtest/gtest-9999.ebuild
@@ -13,11 +13,11 @@ if [[ ${PV} == "9999" ]]; then
 	EGIT_REPO_URI="https://github.com/google/googletest"
 else
 	if [[ -z ${GOOGLETEST_COMMIT} ]]; then
-		MY_PV=release-${PV}
+		URI_PV=v${MY_PV:-${PV}}
 	else
-		MY_PV=${GOOGLETEST_COMMIT}
+		URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}}
 	fi
-	SRC_URI="https://github.com/google/googletest/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
 	S="${WORKDIR}"/googletest-${MY_PV}
 fi


             reply	other threads:[~2019-10-09  3:19 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09  3:19 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-25 15:21 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/ Fabian Groffen
2024-07-09  7:00 Sam James
2024-07-09  7:00 Sam James
2024-07-09  7:00 Sam James
2024-06-26 14:42 Ionen Wolkens
2024-06-18  6:27 Sam James
2024-06-18  5:54 Joonas Niilola
2024-06-18  5:54 Joonas Niilola
2024-06-18  5:09 Sam James
2024-06-18  2:09 Sam James
2024-06-18  2:09 Sam James
2024-06-18  2:09 Sam James
2024-05-28 20:49 Sam James
2024-05-28 13:19 Sam James
2024-05-28 12:29 Michał Górny
2024-05-28 12:04 Michał Górny
2023-09-04 10:08 David Seifert
2023-09-04 10:08 David Seifert
2023-09-04 10:08 David Seifert
2023-09-04 10:08 David Seifert
2023-04-30 16:52 Arthur Zamarin
2023-04-30 16:52 Arthur Zamarin
2023-04-25 12:31 Joonas Niilola
2023-04-24 22:57 Sam James
2023-04-24 22:57 Sam James
2023-04-24 22:57 Sam James
2023-04-24 22:57 Sam James
2023-04-24 22:57 Sam James
2023-02-04  8:51 Viorel Munteanu
2023-02-04  8:51 Viorel Munteanu
2023-02-04  8:51 Viorel Munteanu
2023-02-04  8:51 Viorel Munteanu
2022-11-23  1:45 Sam James
2022-11-23  1:45 Sam James
2022-11-23  1:45 Sam James
2022-11-23  1:45 Sam James
2022-11-23  1:45 Sam James
2022-05-04  7:07 WANG Xuerui
2022-04-18 20:28 Sam James
2022-03-15 22:21 Mike Frysinger
2021-12-07 20:23 Sam James
2021-12-07  6:26 Agostino Sarubbo
2021-12-06 15:23 Sam James
2021-12-06 15:20 Sam James
2021-12-06  0:31 Sam James
2021-12-06  0:10 Sam James
2021-12-05 22:04 Sam James
2021-12-05 20:12 Arthur Zamarin
2021-10-12 20:24 Sam James
2021-10-12 20:24 Sam James
2021-10-12 20:24 Sam James
2021-10-12 20:24 Sam James
2021-10-12 20:24 Sam James
2021-10-04  7:45 Arthur Zamarin
2021-06-29  5:53 Yixun Lan
2021-01-06 18:38 Fabian Groffen
2020-12-13 23:23 Sam James
2020-09-20 20:21 Agostino Sarubbo
2020-09-07  8:47 Sergei Trofimovich
2020-09-07  8:20 Sergei Trofimovich
2020-08-15  7:26 Sergei Trofimovich
2020-08-11 18:53 Agostino Sarubbo
2020-08-11 14:18 Agostino Sarubbo
2020-08-11 14:12 Agostino Sarubbo
2020-08-11 10:29 Sam James
2020-08-04 19:02 Fabian Groffen
2020-08-04 19:02 Fabian Groffen
2020-07-19 10:43 Joonas Niilola
2020-07-19 10:43 Joonas Niilola
2020-07-19 10:43 Joonas Niilola
2020-07-19 10:43 Joonas Niilola
2020-07-19 10:43 Joonas Niilola
2019-10-09  3:19 Joonas Niilola
2019-09-13 17:27 Mikle Kolyada
2019-08-23 12:16 Agostino Sarubbo
2019-08-23 10:00 Agostino Sarubbo
2019-08-22 22:03 Agostino Sarubbo
2019-08-19  6:57 Sergei Trofimovich
2019-08-18 10:10 Sergei Trofimovich
2019-08-18 10:08 Sergei Trofimovich
2019-08-18  9:10 Sergei Trofimovich
2019-08-16 23:21 Aaron Bauman
2019-08-16 17:03 Mike Gilbert
2019-06-15 20:29 Michał Górny
2019-06-15 20:29 Michał Górny
2019-06-04 19:49 Andreas Sturmlechner
2019-03-28  0:07 Aaron Bauman
2019-03-27 23:44 Thomas Deutschmann
2019-03-27 20:04 Agostino Sarubbo
2018-09-22  7:07 Michał Górny
2018-09-22  7:07 Michał Górny
2018-09-22  7:07 Michał Górny
2018-09-22  7:07 Michał Górny
2018-09-22  7:07 Michał Górny
2018-09-22  7:07 Michał Górny
2018-09-22  7:07 Michał Górny
2018-06-07 21:20 Mikle Kolyada
2018-04-16 19:15 Mikle Kolyada
2018-04-02 17:35 Mart Raudsepp
2018-03-21  1:34 Matt Turner
2018-03-13 22:14 Sergei Trofimovich
2018-03-05 13:57 Tobias Klausmann
2018-02-17 22:30 Sergei Trofimovich
2018-02-17  8:43 Sergei Trofimovich
2018-02-13 20:11 Thomas Deutschmann
2018-02-13  7:46 Jason Zaman
2018-01-09 16:12 Mike Gilbert
2018-01-09 16:12 Mike Gilbert
2018-01-04  9:11 Mike Frysinger
2017-08-29 20:30 Patrice Clement
2017-08-29 20:30 Patrice Clement
2017-08-29 20:30 Patrice Clement
2017-08-29 20:30 Patrice Clement
2017-08-29 20:30 Patrice Clement
2017-07-10 10:35 Alexis Ballier
2017-06-11  4:00 Michael Palimaka
2017-05-06  7:23 Markus Meier
2017-04-22  7:33 Tobias Klausmann
2017-04-08  9:01 Jeroen Roovers
2017-04-07 16:05 Agostino Sarubbo
2016-10-18 19:26 Pacho Ramos
2015-12-22  8:58 Thomas Kahle
2015-09-01 18:57 Tobias Klausmann

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=1570591127.914b9ce29b05dad0d192297d3225a130b1b7ac61.juippis@gentoo \
    --to=juippis@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