1 |
commit: 441b899f3fc350094b71a017199d1c380ee9b04e |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 6 21:17:47 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 6 21:44:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=441b899f |
7 |
|
8 |
sys-block/whdd: update EAPI 6 -> 8 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
sys-block/whdd/Manifest | 1 + |
13 |
sys-block/whdd/whdd-3.0.1-r2.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/sys-block/whdd/Manifest b/sys-block/whdd/Manifest |
17 |
index 1c3b409a08e3..79b94aec9732 100644 |
18 |
--- a/sys-block/whdd/Manifest |
19 |
+++ b/sys-block/whdd/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST whdd-3.0.1-rel.tar.gz 45657 BLAKE2B 9730e61580359c95fc3e3d23540f3b10e75b476e634cce3be744b8849193f43f968f227bdbd25a0c643106c1343b27070c8b51f33278e902ab54991a05eee021 SHA512 6d5d8dad7537118a5915a29a549e18595da1b6ba031f0ca661805ad0033fd48f32804eb307f67e7b31d6002e708ae578a32aff366f3e610ab36b25f0a4e50803 |
22 |
DIST whdd-3.0.1.tar.gz 45671 BLAKE2B f16bcfc09356f43b5ae303e007cc3f0930316c67aa3c8622ffc7a3f6ee0f1c5339d7ff32e9b4707a42388fc955f70bf7d3ccc4bd36082d5592a5852d646832c7 SHA512 2cc207d5f0e5da1018ce4ec46f369cdd5c3ed2e55c063f583f8ca68f37949265d4ed8b6ea3ff9133a44cf254a95c3e819ba90f9d822aa3bc2f994cb16d0dc877 |
23 |
|
24 |
diff --git a/sys-block/whdd/whdd-3.0.1-r2.ebuild b/sys-block/whdd/whdd-3.0.1-r2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..29aeee9b5759 |
27 |
--- /dev/null |
28 |
+++ b/sys-block/whdd/whdd-3.0.1-r2.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DESCRIPTION="Diagnostic and recovery tool for block devices" |
36 |
+HOMEPAGE="https://whdd.github.io" |
37 |
+ |
38 |
+inherit toolchain-funcs |
39 |
+ |
40 |
+if [[ ${PV} == 9999 ]] |
41 |
+then |
42 |
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}" |
43 |
+ inherit git-r3 |
44 |
+else |
45 |
+ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}-rel.tar.gz" |
46 |
+ KEYWORDS="~amd64 ~x86" |
47 |
+fi |
48 |
+ |
49 |
+LICENSE="GPL-3" |
50 |
+SLOT="0" |
51 |
+ |
52 |
+DEPEND="dev-util/dialog:= |
53 |
+ sys-libs/ncurses:=[unicode(+)]" |
54 |
+RDEPEND="${DEPEND} |
55 |
+ sys-apps/smartmontools" |
56 |
+ |
57 |
+src_compile() { |
58 |
+ tc-export CC |
59 |
+ default |
60 |
+} |