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 CA082158020 for ; Thu, 17 Nov 2022 01:37:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E65FBE086A; Thu, 17 Nov 2022 01:37:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBCF7E086A for ; Thu, 17 Nov 2022 01:37:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B5405340F62 for ; Thu, 17 Nov 2022 01:37:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCC315D6 for ; Thu, 17 Nov 2022 01:37:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1668649054.a90b271f8487b431a535626db05e8ce63c7ad574.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/hiredis/hiredis-1.1.0.ebuild X-VCS-Directories: dev-libs/hiredis/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a90b271f8487b431a535626db05e8ce63c7ad574 X-VCS-Branch: master Date: Thu, 17 Nov 2022 01:37:39 +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: 8401b98c-293a-42ba-a5a9-e0ca3cf4b68f X-Archives-Hash: 8c4320de767a6fd5a541ed0669d2dc0c commit: a90b271f8487b431a535626db05e8ce63c7ad574 Author: Sam James gentoo org> AuthorDate: Thu Nov 17 01:34:23 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Nov 17 01:37:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90b271f dev-libs/hiredis: enable async tests Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.1.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0.ebuild b/dev-libs/hiredis/hiredis-1.1.0.ebuild index dc2110460101..514234cce290 100644 --- a/dev-libs/hiredis/hiredis-1.1.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0.ebuild @@ -19,7 +19,12 @@ RESTRICT="!test? ( test )" DEPEND="ssl? ( dev-libs/openssl:= )" RDEPEND="${DEPEND}" -BDEPEND="test? ( dev-db/redis )" +BDEPEND=" + test? ( + dev-db/redis + dev-libs/libevent + ) +" PATCHES=( "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch @@ -39,6 +44,7 @@ _build() { PREFIX="${EPREFIX}/usr" \ LIBRARY_PATH="$(get_libdir)" \ USE_SSL=$(usex ssl 1 0) \ + TEST_ASYNC=$(usex test 1 0) \ DEBUG_FLAGS= \ OPTIMIZATION= \ "$@" @@ -52,6 +58,7 @@ src_compile() { } src_test() { + # Compare with https://github.com/redis/hiredis/blob/648763c36e9f6493b13a77da35eb33ef0652b4e2/Makefile#L32 local REDIS_PID="${T}"/hiredis.pid local REDIS_SOCK="${T}"/hiredis.sock local REDIS_PORT=56379