commit:     81a0e50dc553309658a4cf769d35d0844ce45384
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 17:01:22 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 17:03:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a0e50d

app-misc/vit: Use snapshot for building, #585718

 app-misc/vit/vit-1.2.ebuild | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/app-misc/vit/vit-1.2.ebuild b/app-misc/vit/vit-1.2.ebuild
index 46acade..ea59cdb 100644
--- a/app-misc/vit/vit-1.2.ebuild
+++ b/app-misc/vit/vit-1.2.ebuild
@@ -4,21 +4,15 @@
 
 EAPI=5
 
-inherit eutils git-r3
+inherit eutils
 
 DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)"
 HOMEPAGE="http://tasktools.org/projects/vit.html";
-
-EGIT_REPO_URI="https://git.tasktools.org/scm/ex/vit.git";
-if [[ ${PV} = 9999* ]]; then
-       KEYWORDS=""
-else
-       EGIT_COMMIT=v${PV}
-       KEYWORDS="~amd64 ~arm ~x86"
-fi
+SRC_URI="https://git.tasktools.org/plugins/servlet/archive/projects/EX/repos/vit?at=refs%2Ftags%2Fv1.2&format=tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
 IUSE=""
 
 DEPEND="
@@ -27,6 +21,8 @@ DEPEND="
        dev-perl/Curses"
 RDEPEND="${DEPEND}"
 
+S=${WORKDIR}
+
 src_prepare() {
        epatch "${FILESDIR}"/${PN}-allow-nonsudo-install.patch \
                "${FILESDIR}"/${PN}-fix-man-installs.patch

Reply via email to