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 C66E8158649 for ; Wed, 10 May 2023 11:29:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B0EEE08C2; Wed, 10 May 2023 11:29:56 +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 4DFDBE08C2 for ; Wed, 10 May 2023 11:29:56 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F73B340CEA for ; Wed, 10 May 2023 11:29:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BEF8A68 for ; Wed, 10 May 2023 11:29:53 +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: <1683718182.40545a61b4a0489f6da963f4fe1fa0c3ea96c6f9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libiscsi/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libiscsi/libiscsi-1.19.0-r1.ebuild net-libs/libiscsi/libiscsi-1.19.0-r2.ebuild net-libs/libiscsi/libiscsi-9999.ebuild X-VCS-Directories: net-libs/libiscsi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 40545a61b4a0489f6da963f4fe1fa0c3ea96c6f9 X-VCS-Branch: master Date: Wed, 10 May 2023 11:29:53 +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: 0bff96ab-dcb4-4e9d-8b46-06147c2bea55 X-Archives-Hash: 2c24c2b731b9dce09a705ea60daca64b commit: 40545a61b4a0489f6da963f4fe1fa0c3ea96c6f9 Author: Sam James gentoo org> AuthorDate: Wed May 10 11:28:04 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 10 11:29:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40545a61 net-libs/libiscsi: EAPI 8, wire up (restricted) tests test_9000_compareandwrite.sh fails for now, needs investigation, but this package needs some other love too. Signed-off-by: Sam James gentoo.org> ...-1.19.0-r1.ebuild => libiscsi-1.19.0-r2.ebuild} | 26 +++++++++++++----- net-libs/libiscsi/libiscsi-9999.ebuild | 32 ++++++++++++++++------ 2 files changed, 42 insertions(+), 16 deletions(-) diff --git a/net-libs/libiscsi/libiscsi-1.19.0-r1.ebuild b/net-libs/libiscsi/libiscsi-1.19.0-r2.ebuild similarity index 74% rename from net-libs/libiscsi/libiscsi-1.19.0-r1.ebuild rename to net-libs/libiscsi/libiscsi-1.19.0-r2.ebuild index 851b26691c45..f0879dde5e86 100644 --- a/net-libs/libiscsi/libiscsi-1.19.0-r1.ebuild +++ b/net-libs/libiscsi/libiscsi-1.19.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,11 +19,18 @@ HOMEPAGE="https://github.com/sahlberg/libiscsi" LICENSE="GPL-2 LGPL-2" SLOT="0" -IUSE="rdma" - -RDEPEND="dev-libs/libgcrypt:0= - rdma? ( sys-cluster/rdma-core )" -DEPEND="${RDEPEND}" +IUSE="rdma test" +# test_9000_compareandwrite.sh failure needs investigation +RESTRICT="!test? ( test ) test" + +RDEPEND=" + dev-libs/libgcrypt:= + rdma? ( sys-cluster/rdma-core ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cunit ) +" PATCHES=( "${FILESDIR}"/${PN}-1.18.0-fno-common.patch @@ -42,7 +49,12 @@ src_configure() { econf \ --enable-manpages \ $(use_with rdma) \ - --disable-werror + --disable-werror \ + $(use_enable test tests) +} + +src_test() { + emake -C tests test } src_install() { diff --git a/net-libs/libiscsi/libiscsi-9999.ebuild b/net-libs/libiscsi/libiscsi-9999.ebuild index 9d1977923e12..6d289d4b8eb3 100644 --- a/net-libs/libiscsi/libiscsi-9999.ebuild +++ b/net-libs/libiscsi/libiscsi-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools @@ -10,17 +10,26 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/sahlberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" fi DESCRIPTION="iscsi client library and utilities" HOMEPAGE="https://github.com/sahlberg/libiscsi" -SLOT="0" LICENSE="GPL-2 LGPL-2" - -RDEPEND="dev-libs/libgcrypt:0=" -DEPEND="${RDEPEND}" +SLOT="0" +IUSE="rdma test" +# test_9000_compareandwrite.sh failure needs investigation +RESTRICT="!test? ( test ) test" + +RDEPEND=" + dev-libs/libgcrypt:= + rdma? ( sys-cluster/rdma-core ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cunit ) +" src_prepare() { default @@ -30,8 +39,13 @@ src_prepare() { src_configure() { econf \ --enable-manpages \ - --disable-static \ - --disable-werror + $(use_with rdma) \ + --disable-werror \ + $(use_enable test tests) +} + +src_test() { + emake -C tests test } src_install() {