Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libiscsi/
Date: Thu, 07 Jan 2021 10:08:38
Message-Id: 1610014103.8ac50e21abfc4bf135b2d16c8deb4f7f23c7685a.soap@gentoo
1 commit: 8ac50e21abfc4bf135b2d16c8deb4f7f23c7685a
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Thu Jan 7 10:08:23 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 10:08:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac50e21
7
8 net-libs/libiscsi: Sync live ebuild
9
10 Closes: https://github.com/gentoo/gentoo/pull/18934
11 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 net-libs/libiscsi/libiscsi-9999.ebuild | 24 ++++++++++++++----------
15 1 file changed, 14 insertions(+), 10 deletions(-)
16
17 diff --git a/net-libs/libiscsi/libiscsi-9999.ebuild b/net-libs/libiscsi/libiscsi-9999.ebuild
18 index 6defe354629..9d1977923e1 100644
19 --- a/net-libs/libiscsi/libiscsi-9999.ebuild
20 +++ b/net-libs/libiscsi/libiscsi-9999.ebuild
21 @@ -1,19 +1,23 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28
29 -inherit autotools git-r3
30 +inherit autotools
31 +
32 +if [[ ${PV} == *9999 ]] ; then
33 + EGIT_REPO_URI="https://github.com/sahlberg/${PN}.git"
34 + inherit git-r3
35 +else
36 + SRC_URI="https://github.com/sahlberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
37 + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
38 +fi
39
40 DESCRIPTION="iscsi client library and utilities"
41 HOMEPAGE="https://github.com/sahlberg/libiscsi"
42 -SRC_URI=""
43 -EGIT_REPO_URI="https://github.com/sahlberg/${PN}.git"
44
45 SLOT="0"
46 LICENSE="GPL-2 LGPL-2"
47 -KEYWORDS=""
48 -IUSE="static-libs"
49
50 RDEPEND="dev-libs/libgcrypt:0="
51 DEPEND="${RDEPEND}"
52 @@ -26,11 +30,11 @@ src_prepare() {
53 src_configure() {
54 econf \
55 --enable-manpages \
56 - --disable-werror \
57 - $(use_enable static-libs static)
58 + --disable-static \
59 + --disable-werror
60 }
61
62 src_install() {
63 default
64 - find "${D}" -name '*.la' -delete || die
65 + find "${ED}" -name '*.la' -delete || die
66 }