Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/
Date: Mon, 21 Feb 2022 22:11:21
Message-Id: 1645481297.4976006ce85f935fbbeb96020507eda1aadedf52.sam@gentoo
1 commit: 4976006ce85f935fbbeb96020507eda1aadedf52
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 22:08:17 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 22:08:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4976006c
7
8 sys-auth/oath-toolkit: add ICU dependency
9
10 Closes: https://bugs.gentoo.org/833850
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 ...t-2.6.2-r1.ebuild => oath-toolkit-2.6.2-r2.ebuild} | 19 ++++++++++---------
14 1 file changed, 10 insertions(+), 9 deletions(-)
15
16 diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
17 similarity index 97%
18 rename from sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
19 rename to sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
20 index e6e4f650cf44..038be19846c7 100644
21 --- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
22 +++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2021 Gentoo Authors
25 +# Copyright 1999-2022 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=6
29 @@ -7,14 +7,15 @@ inherit pam autotools
30 DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP algorithms"
31 HOMEPAGE="http://www.nongnu.org/oath-toolkit/"
32 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
33 -LICENSE="GPL-3 LGPL-2.1"
34
35 +LICENSE="GPL-3 LGPL-2.1"
36 SLOT="0"
37 KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
38 IUSE="pam pskc static-libs test"
39 RESTRICT="!test? ( test )"
40
41 RDEPEND="
42 + dev-libs/icu:=
43 pam? ( sys-libs/pam )
44 pskc? ( dev-libs/xmlsec )"
45 DEPEND="${RDEPEND}
46 @@ -57,6 +58,13 @@ src_configure() {
47 $(use_enable static-libs static)
48 }
49
50 +src_test() {
51 + # without keep-going, it will bail out after the first testsuite failure,
52 + # skipping the other testsuites. as they are mostly independant, this sucks.
53 + emake --keep-going check
54 + [ $? -ne 0 ] && die "At least one testsuite failed"
55 +}
56 +
57 src_install() {
58 default
59 find "${ED}" -name '*.la' -type f -delete || die
60 @@ -67,10 +75,3 @@ src_install() {
61 doman pskctool/pskctool.1
62 fi
63 }
64 -
65 -src_test() {
66 - # without keep-going, it will bail out after the first testsuite failure,
67 - # skipping the other testsuites. as they are mostly independant, this sucks.
68 - emake --keep-going check
69 - [ $? -ne 0 ] && die "At least one testsuite failed"
70 -}