From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 18750158087 for ; Tue, 1 Feb 2022 18:19:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DD302BC0B0; Tue, 1 Feb 2022 18:19:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 289272BC0B0 for ; Tue, 1 Feb 2022 18:19:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05978343217 for ; Tue, 1 Feb 2022 18:19:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFBB92D6 for ; Tue, 1 Feb 2022 18:19:18 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1643739031.ed112f05668eecfd0064ab564684ad89bf14bc3b.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/neon/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/neon/neon-0.32.2.ebuild X-VCS-Directories: net-libs/neon/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: ed112f05668eecfd0064ab564684ad89bf14bc3b X-VCS-Branch: master Date: Tue, 1 Feb 2022 18:19:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0c582022-e910-433a-9ed1-662abc68d22f X-Archives-Hash: 331262c4fe4524d8837fa457ec86d428 commit: ed112f05668eecfd0064ab564684ad89bf14bc3b Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Tue Feb 1 01:00:00 2022 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Tue Feb 1 18:10:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed112f05 net-libs/neon: Enable test suite Closes: https://bugs.gentoo.org/691702 Signed-off-by: Arfrever Frehtes Taifersar Arahesis Apache.Org> Signed-off-by: Jakov Smolić gentoo.org> net-libs/neon/neon-0.32.2.ebuild | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/net-libs/neon/neon-0.32.2.ebuild b/net-libs/neon/neon-0.32.2.ebuild index 0f096d2be00d..58382270c67f 100644 --- a/net-libs/neon/neon-0.32.2.ebuild +++ b/net-libs/neon/neon-0.32.2.ebuild @@ -12,10 +12,16 @@ SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" LICENSE="GPL-2" SLOT="0/27" 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" -IUSE="doc +expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" -RESTRICT="test" - -BDEPEND="virtual/pkgconfig" +IUSE="doc +expat gnutls kerberos libproxy nls pkcs11 ssl static-libs test zlib" +RESTRICT="!test? ( test )" + +BDEPEND="virtual/pkgconfig + test? ( + ssl? ( + dev-libs/openssl:0 + pkcs11? ( dev-libs/nss ) + ) + )" DEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) @@ -39,6 +45,12 @@ MULTILIB_CHOST_TOOLS=( DOCS=( AUTHORS BUGS NEWS README.md THANKS TODO ) src_prepare() { + if use gnutls; then + # Ignore failure of test pkcs11. + # https://github.com/notroj/neon/issues/72 + sed -e "s/T(pkcs11)/T_XFAIL(pkcs11)/" -i test/ssl.c || die + fi + eapply_user AT_M4DIR="macros" eautoreconf