public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/wandio/
Date: Sat, 27 Feb 2021 04:12:01 +0000 (UTC)	[thread overview]
Message-ID: <1614399108.71931fba1ed3bd70e5c6ba9b7b30c4e46f34c492.sam@gentoo> (raw)

commit:     71931fba1ed3bd70e5c6ba9b7b30c4e46f34c492
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 03:42:09 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 04:11:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71931fba

net-libs/wandio: port to EAPI 7, fix tests

Closes: https://bugs.gentoo.org/725040
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/wandio/wandio-4.2.3_p1-r1.ebuild | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/net-libs/wandio/wandio-4.2.3_p1-r1.ebuild b/net-libs/wandio/wandio-4.2.3_p1-r1.ebuild
index e0d614fcb24..4eef4248a4d 100644
--- a/net-libs/wandio/wandio-4.2.3_p1-r1.ebuild
+++ b/net-libs/wandio/wandio-4.2.3_p1-r1.ebuild
@@ -1,18 +1,21 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools
 
 DESCRIPTION="C library for simple and efficient file IO"
 HOMEPAGE="https://research.wand.net.nz/software/libwandio.php"
 SRC_URI="https://github.com/wanduow/${PN}/archive/${PV/_p/-}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P/_p/-}"
 
 LICENSE="LGPL-3"
 SLOT="0/6"
 KEYWORDS="~amd64 ~x86"
-IUSE="bzip2 http lzma lzo static-libs test zlib"
+IUSE="bzip2 http lzma lzo test zlib"
 RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( lzma lzo )"
 
 RDEPEND="
 	!<net-libs/libtrace-4
@@ -26,7 +29,6 @@ DEPEND="
 	${RDEPEND}
 	test? ( app-arch/lzop )
 "
-S=${WORKDIR}/${P/_p/-}
 
 src_prepare() {
 	default
@@ -35,7 +37,7 @@ src_prepare() {
 
 src_configure() {
 	econf \
-		$(use_enable static-libs static) \
+		--disable-static \
 		$(use_with bzip2) \
 		$(use_with http) \
 		$(use_with lzma) \
@@ -43,12 +45,12 @@ src_configure() {
 		$(use_with zlib)
 }
 
+src_test() {
+	pushd test || die
+	${CONFIG_SHELL}/bin/bash do-basic-tests.sh || die
+}
+
 src_install() {
 	default
 	find "${ED}" -name '*.la' -delete || die
 }
-
-src_test() {
-	pushd test || die
-	sh do-basic-tests.sh
-}


             reply	other threads:[~2021-02-27  4:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-27  4:12 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-23  0:27 [gentoo-commits] repo/gentoo:master commit in: net-libs/wandio/ Sam James
2022-11-09  5:41 Sam James
2022-11-09  5:41 Sam James
2021-02-27  4:12 Sam James
2021-02-27  4:12 Sam James
2021-02-27  4:12 Sam James
2020-05-26  6:32 Jeroen Roovers
2020-05-15  3:50 Jeroen Roovers
2019-05-17 16:28 Jeroen Roovers
2019-05-14  6:50 Jeroen Roovers
2019-03-08 12:07 Jeroen Roovers
2019-02-23 15:05 Jeroen Roovers
2018-07-06 11:18 Jeroen Roovers
2018-07-06 11:18 Jeroen Roovers
2018-07-06 11:18 Jeroen Roovers
2018-06-30  7:30 Jeroen Roovers
2017-11-18 10:43 Jeroen Roovers
2016-09-11  6:15 Jeroen Roovers
2016-08-31 13:15 Jeroen Roovers
2016-08-31 13:01 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=1614399108.71931fba1ed3bd70e5c6ba9b7b30c4e46f34c492.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