commit:     990bccf4229de5fa1b8c297a4eea99ec639f8a34
Author:     Zetok Zalbavar <zetok <AT> openmailbox <DOT> org>
AuthorDate: Mon Jun 13 20:25:34 2016 +0000
Commit:     Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 14:17:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990bccf4

net-libs/tox: use snapshot instead of live ebuild

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                                          |  1 +
 .../tox/{tox-0_p20160201.ebuild => tox-0_pre20160201.ebuild}   | 10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest
new file mode 100644
index 0000000..edf391c
--- /dev/null
+++ b/net-libs/tox/Manifest
@@ -0,0 +1 @@
+DIST tox-0_pre20160201.tar.gz 393867 SHA256 
4df62a3488429f0b1adbf24312dc39eb140bae88774124072400930967888d19 SHA512 
25cd407855bb8a7b916ab36fd84558c08b3d428e9299ad45f362481d2df0cf29f7d74c00f20b5ce5f6f30f1e1db490f3e34b44f55c71b30e23b6d74566587305
 WHIRLPOOL 
818f2a12eec2a9ac62082a0bd98868bfa48f80453d650475b4be7d64b7d73de1515724f8006a9b0e4a9260be205a9d1dcb556c6fd6052a6d5978d763820db5b2

diff --git a/net-libs/tox/tox-0_p20160201.ebuild 
b/net-libs/tox/tox-0_pre20160201.ebuild
similarity index 90%
rename from net-libs/tox/tox-0_p20160201.ebuild
rename to net-libs/tox/tox-0_pre20160201.ebuild
index b23f8d4..1f4ca23 100644
--- a/net-libs/tox/tox-0_p20160201.ebuild
+++ b/net-libs/tox/tox-0_pre20160201.ebuild
@@ -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

Reply via email to