1 |
commit: 11e7e99ea634c63e2eb84141537d815f174e5fc5 |
2 |
Author: Oz N Tiram <oz.tiram <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Sep 4 07:46:51 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 29 20:37:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e7e99e |
7 |
|
8 |
net-ftp/uftpd: fix failing tests |
9 |
|
10 |
Now that tftp-hpa is split to and client server, one can install |
11 |
only the client to run the tests. |
12 |
|
13 |
Package-Manager: Portage-3.0.4, Repoman-2.3.23 |
14 |
Signed-off-by: Oz Tiram <oz.tiram <AT> gmail.com> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
net-ftp/uftpd/uftpd-2.13.ebuild | 24 ++++++++++++++++++------ |
18 |
1 file changed, 18 insertions(+), 6 deletions(-) |
19 |
|
20 |
diff --git a/net-ftp/uftpd/uftpd-2.13.ebuild b/net-ftp/uftpd/uftpd-2.13.ebuild |
21 |
index fc850368530..d2c9e2b701b 100644 |
22 |
--- a/net-ftp/uftpd/uftpd-2.13.ebuild |
23 |
+++ b/net-ftp/uftpd/uftpd-2.13.ebuild |
24 |
@@ -9,14 +9,26 @@ SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz |
25 |
|
26 |
LICENSE="MIT" |
27 |
SLOT="0" |
28 |
-KEYWORDS="~amd64 ~x86" |
29 |
-IUSE="" |
30 |
+KEYWORDS="~amd64" |
31 |
+IUSE="test" |
32 |
+RESTRICT="!test? ( test )" |
33 |
|
34 |
-DEPEND=" |
35 |
+RDEPEND=" |
36 |
>=dev-libs/libite-1.5 |
37 |
>=dev-libs/libuev-2.2" |
38 |
|
39 |
-RDEPEND=" |
40 |
- ${DEPEND} |
41 |
+DEPEND=" |
42 |
+ ${RDEPEND} |
43 |
!net-misc/uftp |
44 |
- !net-ftp/atftp" |
45 |
+ !net-ftp/atftp |
46 |
+ !net-ftp/tftp-hpa[server] |
47 |
+ test? ( |
48 |
+ net-ftp/ftp |
49 |
+ net-ftp/tnftp |
50 |
+ net-ftp/tftp-hpa[client] |
51 |
+ )" |
52 |
+ |
53 |
+src_test() { |
54 |
+ # can't run the tests in parallel since the order matters |
55 |
+ emake -j 1 check |
56 |
+} |