net-libs/tox: use snapshot instead of live ebuild
authorZetok Zalbavar <zetok@openmailbox.org>
Mon, 13 Jun 2016 20:25:34 +0000 (21:25 +0100)
committerAmy Winston <amynka@gentoo.org>
Wed, 15 Jun 2016 14:17:26 +0000 (16:17 +0200)
For release ebuild, that is.
Also move `0_p` → `0_pre` since it's a pre-release.

Gentoo-Bug: #585728
Closes: #1671
Package-Manager: portage-2.2.28

net-libs/tox/Manifest [new file with mode: 0644]
net-libs/tox/tox-0_pre20160201.ebuild [moved from net-libs/tox/tox-0_p20160201.ebuild with 90% similarity]

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
new file mode 100644 (file)
index 0000000..edf391c
--- /dev/null
@@ -0,0 +1 @@
+DIST tox-0_pre20160201.tar.gz 393867 SHA256 4df62a3488429f0b1adbf24312dc39eb140bae88774124072400930967888d19 SHA512 25cd407855bb8a7b916ab36fd84558c08b3d428e9299ad45f362481d2df0cf29f7d74c00f20b5ce5f6f30f1e1db490f3e34b44f55c71b30e23b6d74566587305 WHIRLPOOL 818f2a12eec2a9ac62082a0bd98868bfa48f80453d650475b4be7d64b7d73de1515724f8006a9b0e4a9260be205a9d1dcb556c6fd6052a6d5978d763820db5b2
similarity index 90%
rename from net-libs/tox/tox-0_p20160201.ebuild
rename to net-libs/tox/tox-0_pre20160201.ebuild
index b23f8d4d624a20cd023ecdf31c0ef5d9f492538c..1f4ca23d8edb2d7621ac81f2549dbca2c1da391c 100644 (file)
@@ -1,17 +1,15 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-inherit autotools eutils git-r3 user systemd
+inherit autotools eutils user systemd
 
 DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
 HOMEPAGE="https://tox.chat"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/irungentoo/toxcore.git
-       git://github.com/irungentoo/toxcore.git"
 EGIT_COMMIT="94cc8b11ff473064526737936f64b6f9a19c239d"
+SRC_URI="https://github.com/irungentoo/toxcore/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
@@ -30,6 +28,8 @@ DEPEND="${RDEPEND}
        test? ( dev-libs/check )
        virtual/pkgconfig"
 
+S="${WORKDIR}/toxcore-${EGIT_COMMIT}"
+
 src_prepare() {
        epatch_user
        eautoreconf