1 |
commit: 40c17b4acb625a44af106f1fb96e19fe750c5f80 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 15 12:49:22 2020 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 15 12:54:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c17b4a |
7 |
|
8 |
sys-apps/earlyoom: It needs go for running tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/738572 |
11 |
Thanks-to: Agostino Sarubbo |
12 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
13 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
14 |
|
15 |
sys-apps/earlyoom/earlyoom-1.3.ebuild | 8 ++++++-- |
16 |
sys-apps/earlyoom/earlyoom-9999.ebuild | 8 ++++++-- |
17 |
2 files changed, 12 insertions(+), 4 deletions(-) |
18 |
|
19 |
diff --git a/sys-apps/earlyoom/earlyoom-1.3.ebuild b/sys-apps/earlyoom/earlyoom-1.3.ebuild |
20 |
index 3234d956e49..14280ec0571 100644 |
21 |
--- a/sys-apps/earlyoom/earlyoom-1.3.ebuild |
22 |
+++ b/sys-apps/earlyoom/earlyoom-1.3.ebuild |
23 |
@@ -17,10 +17,14 @@ else |
24 |
SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz" |
25 |
KEYWORDS="~amd64 ~x86" |
26 |
fi |
27 |
-IUSE="systemd docs" |
28 |
+IUSE="docs systemd test" |
29 |
|
30 |
-DEPEND="docs? ( app-text/pandoc )" |
31 |
RDEPEND="" |
32 |
+DEPEND="" |
33 |
+BDEPEND=" |
34 |
+ docs? ( app-text/pandoc ) |
35 |
+ test? ( dev-lang/go ) |
36 |
+" |
37 |
|
38 |
src_prepare() { |
39 |
eapply "${FILESDIR}/${P}-test-fixed.patch" |
40 |
|
41 |
diff --git a/sys-apps/earlyoom/earlyoom-9999.ebuild b/sys-apps/earlyoom/earlyoom-9999.ebuild |
42 |
index a54b0d570f7..b9059f99084 100644 |
43 |
--- a/sys-apps/earlyoom/earlyoom-9999.ebuild |
44 |
+++ b/sys-apps/earlyoom/earlyoom-9999.ebuild |
45 |
@@ -17,10 +17,14 @@ else |
46 |
SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz" |
47 |
KEYWORDS="~amd64 ~x86" |
48 |
fi |
49 |
-IUSE="systemd docs" |
50 |
+IUSE="docs systemd test" |
51 |
|
52 |
-DEPEND="docs? ( app-text/pandoc )" |
53 |
RDEPEND="" |
54 |
+DEPEND="" |
55 |
+BDEPEND=" |
56 |
+ docs? ( app-text/pandoc ) |
57 |
+ test? ( dev-lang/go ) |
58 |
+" |
59 |
|
60 |
src_compile() { |
61 |
VERSION="v${PV}" emake earlyoom |