1 |
commit: 36604ace86c638d7fe80aa8ef555a2a1e4dac541 |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Fri Jan 29 02:17:03 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Fri Jan 29 02:20:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36604ace |
7 |
|
8 |
net-misc/purritobin: add test target in live |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
12 |
|
13 |
net-misc/purritobin/purritobin-9999.ebuild | 6 ++++++ |
14 |
1 file changed, 6 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/purritobin/purritobin-9999.ebuild b/net-misc/purritobin/purritobin-9999.ebuild |
17 |
index fd9c6136..3866d837 100644 |
18 |
--- a/net-misc/purritobin/purritobin-9999.ebuild |
19 |
+++ b/net-misc/purritobin/purritobin-9999.ebuild |
20 |
@@ -19,6 +19,8 @@ fi |
21 |
|
22 |
LICENSE="ISC" |
23 |
SLOT="0" |
24 |
+IUSE="test" |
25 |
+RESTRICT="!test? ( test )" |
26 |
|
27 |
RDEPEND=" |
28 |
net-libs/usockets[ssl] |
29 |
@@ -34,6 +36,10 @@ src_configure() { |
30 |
tc-export CXX |
31 |
} |
32 |
|
33 |
+src_test() { |
34 |
+ emake check |
35 |
+} |
36 |
+ |
37 |
src_install() { |
38 |
emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install |
39 |
insinto /var/www/purritobin |