From: | Sam James <sam@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/ |
Date: | Tue, 12 Oct 2021 20:24:21 |
Message-Id: | 1634070247.ceb592b1462afd3ecbe5bad529169fd1c1d52b2d.sam@gentoo |
1 | commit: ceb592b1462afd3ecbe5bad529169fd1c1d52b2d |
2 | Author: Peter Levine <plevine457 <AT> gmail <DOT> com> |
3 | AuthorDate: Sun Oct 3 23:49:23 2021 +0000 |
4 | Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 | CommitDate: Tue Oct 12 20:24:07 2021 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceb592b1 |
7 | |
8 | dev-cpp/gtest: change github SRC_URI location |
9 | |
10 | Release tarballs are now named release-${PV}. |
11 | |
12 | Package-Manager: Portage-3.0.23, Repoman-3.0.3 |
13 | Signed-off-by: Peter Levine <plevine457 <AT> gmail.com> |
14 | Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 | |
16 | dev-cpp/gtest/gtest-9999.ebuild | 10 ++++++---- |
17 | 1 file changed, 6 insertions(+), 4 deletions(-) |
18 | |
19 | diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild |
20 | index a7711b97276..b3c28569b94 100644 |
21 | --- a/dev-cpp/gtest/gtest-9999.ebuild |
22 | +++ b/dev-cpp/gtest/gtest-9999.ebuild |
23 | @@ -14,13 +14,15 @@ if [[ ${PV} == "9999" ]]; then |
24 | EGIT_REPO_URI="https://github.com/google/googletest" |
25 | else |
26 | if [[ -z ${GOOGLETEST_COMMIT} ]]; then |
27 | - URI_PV=v${MY_PV:-${PV}} |
28 | + SRC_URI="https://github.com/google/googletest/archive/refs/tags/release-${PV}.tar.gz |
29 | + -> ${P}.tar.gz" |
30 | + S="${WORKDIR}"/googletest-release-${PV} |
31 | else |
32 | - URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} |
33 | + SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz |
34 | + -> ${P}.tar.gz" |
35 | + S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} |
36 | fi |
37 | - SRC_URI="https://github.com/google/googletest/archive/${URI_PV}.tar.gz -> ${P}.tar.gz" |
38 | KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
39 | - S="${WORKDIR}"/googletest-${MY_PV} |
40 | fi |
41 | |
42 | DESCRIPTION="Google C++ Testing Framework" |