From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libiscsi/
Date: Wed, 10 May 2023 11:29:53 +0000 (UTC) [thread overview]
Message-ID: <1683718182.40545a61b4a0489f6da963f4fe1fa0c3ea96c6f9.sam@gentoo> (raw)
commit: 40545a61b4a0489f6da963f4fe1fa0c3ea96c6f9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 10 11:28:04 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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() {
next reply other threads:[~2023-05-10 11:29 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-10 11:29 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-12 11:47 [gentoo-commits] repo/gentoo:master commit in: net-libs/libiscsi/ Petr Vaněk
2024-11-23 14:33 Sam James
2024-11-23 14:33 Sam James
2024-11-23 14:20 Michał Górny
2024-11-23 14:20 Michał Górny
2024-10-07 12:58 Joonas Niilola
2023-12-08 17:15 Arthur Zamarin
2023-12-08 17:10 Sam James
2023-12-08 17:10 Sam James
2023-12-08 17:10 Sam James
2023-06-12 6:01 Arthur Zamarin
2023-06-03 6:02 WANG Xuerui
2023-05-11 7:15 Jakov Smolić
2023-05-10 16:08 Sam James
2023-05-10 16:08 Sam James
2023-05-10 12:19 Sam James
2023-05-10 11:50 Sam James
2022-12-04 9:23 WANG Xuerui
2022-02-15 9:24 Jakov Smolić
2021-12-31 3:42 Yixun Lan
2021-05-18 20:40 Ulrich Müller
2021-05-18 20:05 Ulrich Müller
2021-05-18 17:16 Sam James
2021-03-29 7:38 Sergei Trofimovich
2021-01-07 10:08 David Seifert
2020-11-07 3:49 Georgy Yakovlev
2020-08-19 22:40 Sam James
2018-03-17 9:24 Pacho Ramos
2017-12-10 0:28 Sergei Trofimovich
2017-07-01 9:17 Sergei Trofimovich
2017-04-05 10:04 Michael Weber
2017-04-05 9:51 Michael Weber
2017-04-05 9:02 Michael Weber
2017-03-29 2:53 Richard Yao
2016-12-13 19:07 David Seifert
2016-06-07 13:22 Tobias Klausmann
2016-06-07 13:10 Tobias Klausmann
2016-02-11 13:29 Justin Lecher
2016-02-11 13:29 Justin Lecher
2016-02-06 8:07 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1683718182.40545a61b4a0489f6da963f4fe1fa0c3ea96c6f9.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox