1 |
commit: 159d51bb4829c81bae4e2cbcc3a18c83ca534cf4 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 27 05:10:22 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 27 05:10:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159d51bb |
7 |
|
8 |
x11-misc/splatmoji: minor fixes |
9 |
|
10 |
* Style changes |
11 |
* Die on test failure |
12 |
|
13 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
x11-misc/splatmoji/splatmoji-1.2.0.ebuild | 11 +++++------ |
17 |
1 file changed, 5 insertions(+), 6 deletions(-) |
18 |
|
19 |
diff --git a/x11-misc/splatmoji/splatmoji-1.2.0.ebuild b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild |
20 |
index e9b0b7f19ef..acac0fd2d02 100644 |
21 |
--- a/x11-misc/splatmoji/splatmoji-1.2.0.ebuild |
22 |
+++ b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild |
23 |
@@ -13,8 +13,7 @@ SLOT="0" |
24 |
IUSE="json test" |
25 |
RESTRICT="!test? ( test )" |
26 |
|
27 |
-DEPEND="test? ( dev-util/shunit2 app-misc/jq )" |
28 |
- |
29 |
+DEPEND="test? ( app-misc/jq dev-util/shunit2 )" |
30 |
RDEPEND=" |
31 |
app-shells/bash |
32 |
json? ( app-misc/jq ) |
33 |
@@ -22,6 +21,10 @@ RDEPEND=" |
34 |
x11-misc/xdotool |
35 |
x11-misc/xsel" |
36 |
|
37 |
+src_test() { |
38 |
+ ./test/unit_tests || die |
39 |
+} |
40 |
+ |
41 |
src_install() { |
42 |
dobin splatmoji |
43 |
insinto /etc/xdg/splatmoji |
44 |
@@ -31,7 +34,3 @@ src_install() { |
45 |
insinto /usr/lib/splatmoji |
46 |
doins lib/functions |
47 |
} |
48 |
- |
49 |
-src_test() { |
50 |
- ./test/unit_tests |
51 |
-} |