diff options
author | Peter Levine <plevine457@gmail.com> | 2021-10-03 19:49:23 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-12 21:24:07 +0100 |
commit | ceb592b1462afd3ecbe5bad529169fd1c1d52b2d (patch) | |
tree | 2439f50144134619594ee01c3bf362a02fd63bcb /dev-cpp/gtest | |
parent | dev-cpp/gtest: bump EAPI to 8 (diff) | |
download | gentoo-ceb592b1462afd3ecbe5bad529169fd1c1d52b2d.tar.gz gentoo-ceb592b1462afd3ecbe5bad529169fd1c1d52b2d.tar.bz2 gentoo-ceb592b1462afd3ecbe5bad529169fd1c1d52b2d.zip |
dev-cpp/gtest: change github SRC_URI location
Release tarballs are now named release-${PV}.
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/gtest')
-rw-r--r-- | dev-cpp/gtest/gtest-9999.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild index a7711b97276e..b3c28569b94e 100644 --- a/dev-cpp/gtest/gtest-9999.ebuild +++ b/dev-cpp/gtest/gtest-9999.ebuild @@ -14,13 +14,15 @@ if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="https://github.com/google/googletest" else if [[ -z ${GOOGLETEST_COMMIT} ]]; then - URI_PV=v${MY_PV:-${PV}} + SRC_URI="https://github.com/google/googletest/archive/refs/tags/release-${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-release-${PV} else - URI_PV=${MY_PV:=${GOOGLETEST_COMMIT}} + SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT} fi - 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 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" - S="${WORKDIR}"/googletest-${MY_PV} fi DESCRIPTION="Google C++ Testing Framework" |