Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/whdd/
Date: Sun, 29 Jan 2017 15:22:22
Message-Id: 1485703323.99a04cfc29642b06e9002876cf1d5e3b0d31b83b.kensington@gentoo
1 commit: 99a04cfc29642b06e9002876cf1d5e3b0d31b83b
2 Author: Andrey Utkin <andrey_utkin <AT> fastmail <DOT> com>
3 AuthorDate: Sun Jan 8 01:35:12 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 15:22:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a04cfc
7
8 sys-block/whdd: 9999: incorporate handling of tagged versions
9
10 sys-block/whdd/whdd-9999.ebuild | 14 ++++++++++----
11 1 file changed, 10 insertions(+), 4 deletions(-)
12
13 diff --git a/sys-block/whdd/whdd-9999.ebuild b/sys-block/whdd/whdd-9999.ebuild
14 index 381536f..ccea158 100644
15 --- a/sys-block/whdd/whdd-9999.ebuild
16 +++ b/sys-block/whdd/whdd-9999.ebuild
17 @@ -4,15 +4,21 @@
18
19 EAPI=6
20
21 -EGIT_REPO_URI="https://github.com/${PN}/${PN}"
22 -inherit git-r3
23 -
24 DESCRIPTION="Diagnostic and recovery tool for block devices"
25 HOMEPAGE="https://whdd.github.io"
26
27 +if [[ ${PV} == 9999 ]]
28 +then
29 + EGIT_REPO_URI="https://github.com/${PN}/${PN}"
30 + inherit git-r3
31 +else
32 + SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
33 + KEYWORDS="~amd64 ~x86"
34 + inherit vcs-snapshot
35 +fi
36 +
37 LICENSE="GPL-3"
38 SLOT="0"
39 -KEYWORDS=""
40 IUSE=""
41
42 DEPEND="