1 |
commit: ed112f05668eecfd0064ab564684ad89bf14bc3b |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Tue Feb 1 01:00:00 2022 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 1 18:10:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed112f05 |
7 |
|
8 |
net-libs/neon: Enable test suite |
9 |
|
10 |
Closes: https://bugs.gentoo.org/691702 |
11 |
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> |
12 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
13 |
|
14 |
net-libs/neon/neon-0.32.2.ebuild | 20 ++++++++++++++++---- |
15 |
1 file changed, 16 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/neon/neon-0.32.2.ebuild b/net-libs/neon/neon-0.32.2.ebuild |
18 |
index 0f096d2be00d..58382270c67f 100644 |
19 |
--- a/net-libs/neon/neon-0.32.2.ebuild |
20 |
+++ b/net-libs/neon/neon-0.32.2.ebuild |
21 |
@@ -12,10 +12,16 @@ SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" |
22 |
LICENSE="GPL-2" |
23 |
SLOT="0/27" |
24 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
25 |
-IUSE="doc +expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" |
26 |
-RESTRICT="test" |
27 |
- |
28 |
-BDEPEND="virtual/pkgconfig" |
29 |
+IUSE="doc +expat gnutls kerberos libproxy nls pkcs11 ssl static-libs test zlib" |
30 |
+RESTRICT="!test? ( test )" |
31 |
+ |
32 |
+BDEPEND="virtual/pkgconfig |
33 |
+ test? ( |
34 |
+ ssl? ( |
35 |
+ dev-libs/openssl:0 |
36 |
+ pkcs11? ( dev-libs/nss ) |
37 |
+ ) |
38 |
+ )" |
39 |
DEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) |
40 |
!expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) |
41 |
kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) |
42 |
@@ -39,6 +45,12 @@ MULTILIB_CHOST_TOOLS=( |
43 |
DOCS=( AUTHORS BUGS NEWS README.md THANKS TODO ) |
44 |
|
45 |
src_prepare() { |
46 |
+ if use gnutls; then |
47 |
+ # Ignore failure of test pkcs11. |
48 |
+ # https://github.com/notroj/neon/issues/72 |
49 |
+ sed -e "s/T(pkcs11)/T_XFAIL(pkcs11)/" -i test/ssl.c || die |
50 |
+ fi |
51 |
+ |
52 |
eapply_user |
53 |
|
54 |
AT_M4DIR="macros" eautoreconf |