diff options
author | Kent Fredric <kentnl@gentoo.org> | 2019-08-07 20:08:53 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2019-08-07 23:41:37 +1200 |
commit | 8030b201b62852c50b30cb3c5294deff901a9c94 (patch) | |
tree | 6cfc51fefcca96c083fe15c29eafee9b23067ad6 /dev-lang/nqp/nqp-2018.08.ebuild | |
parent | net-irc/unrealircd: version bump 4.2.4.1 (diff) | |
download | gentoo-8030b201b62852c50b30cb3c5294deff901a9c94.tar.gz gentoo-8030b201b62852c50b30cb3c5294deff901a9c94.tar.bz2 gentoo-8030b201b62852c50b30cb3c5294deff901a9c94.zip |
dev-lang/nqp: Use official releases instead of github tarballs
The existing SRC_URI's used githubs /tarball/ API, which is now
obsoleted by the /archive/ API.
Additionally, Upstream provide official release archives in
/releases/
Both of these endpoints obsolete the use of the vcs-snapshot eclass.
However, both of these endpoints return different archives, with
different checksums, so cache-avoidance must be done for the
checksums to give correct results for all users.
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-lang/nqp/nqp-2018.08.ebuild')
-rw-r--r-- | dev-lang/nqp/nqp-2018.08.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-lang/nqp/nqp-2018.08.ebuild b/dev-lang/nqp/nqp-2018.08.ebuild index 2600c72c270a..b74d0ba1f5cf 100644 --- a/dev-lang/nqp/nqp-2018.08.ebuild +++ b/dev-lang/nqp/nqp-2018.08.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,8 +10,7 @@ if [[ ${PV} == "9999" ]]; then inherit git-r3 KEYWORDS="" else - SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz" - inherit vcs-snapshot + SRC_URI="https://github.com/perl6/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.official.tar.gz" KEYWORDS="~amd64 ~x86" fi |