summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2019-08-07 20:08:53 +1200
committerKent Fredric <kentnl@gentoo.org>2019-08-07 23:41:37 +1200
commit8030b201b62852c50b30cb3c5294deff901a9c94 (patch)
tree6cfc51fefcca96c083fe15c29eafee9b23067ad6 /dev-lang/nqp/nqp-9999.ebuild
parentnet-irc/unrealircd: version bump 4.2.4.1 (diff)
downloadgentoo-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-9999.ebuild')
-rw-r--r--dev-lang/nqp/nqp-9999.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-lang/nqp/nqp-9999.ebuild b/dev-lang/nqp/nqp-9999.ebuild
index 6adbdc268327..9c9a3c5b474b 100644
--- a/dev-lang/nqp/nqp-9999.ebuild
+++ b/dev-lang/nqp/nqp-9999.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=5
@@ -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"
KEYWORDS="~amd64 ~x86"
fi