1 |
commit: 9632b62ec61e9471570a76331262035e56094e11 |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Sun Apr 25 14:14:12 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sun Apr 25 14:14:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9632b62e |
7 |
|
8 |
net-misc/purritobin: fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/784689 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
13 |
|
14 |
net-misc/purritobin/purritobin-0.5.2.ebuild | 6 ++++++ |
15 |
net-misc/purritobin/purritobin-9999.ebuild | 6 ++++++ |
16 |
2 files changed, 12 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/purritobin/purritobin-0.5.2.ebuild b/net-misc/purritobin/purritobin-0.5.2.ebuild |
19 |
index cbfc6e352..f817ccf8e 100644 |
20 |
--- a/net-misc/purritobin/purritobin-0.5.2.ebuild |
21 |
+++ b/net-misc/purritobin/purritobin-0.5.2.ebuild |
22 |
@@ -30,12 +30,18 @@ RDEPEND=" |
23 |
DEPEND="${RDEPEND} |
24 |
www-apps/uwebsockets |
25 |
" |
26 |
+BDEPEND="test? ( sys-apps/coreutils )" |
27 |
|
28 |
src_configure() { |
29 |
default |
30 |
tc-export CXX |
31 |
} |
32 |
|
33 |
+src_test() { |
34 |
+ P_DD_FLAGS="iflag=fullblock" \ |
35 |
+ default |
36 |
+} |
37 |
+ |
38 |
src_install() { |
39 |
emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install |
40 |
insinto /var/www/purritobin |
41 |
|
42 |
diff --git a/net-misc/purritobin/purritobin-9999.ebuild b/net-misc/purritobin/purritobin-9999.ebuild |
43 |
index cbfc6e352..f817ccf8e 100644 |
44 |
--- a/net-misc/purritobin/purritobin-9999.ebuild |
45 |
+++ b/net-misc/purritobin/purritobin-9999.ebuild |
46 |
@@ -30,12 +30,18 @@ RDEPEND=" |
47 |
DEPEND="${RDEPEND} |
48 |
www-apps/uwebsockets |
49 |
" |
50 |
+BDEPEND="test? ( sys-apps/coreutils )" |
51 |
|
52 |
src_configure() { |
53 |
default |
54 |
tc-export CXX |
55 |
} |
56 |
|
57 |
+src_test() { |
58 |
+ P_DD_FLAGS="iflag=fullblock" \ |
59 |
+ default |
60 |
+} |
61 |
+ |
62 |
src_install() { |
63 |
emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install |
64 |
insinto /var/www/purritobin |