Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ossp-uuid/
Date: Sat, 02 Jul 2022 18:48:33
Message-Id: 1656778765.2195a8deaa56637ab767ea7d95f3cfa83df9ef35.soap@gentoo
1 commit: 2195a8deaa56637ab767ea7d95f3cfa83df9ef35
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 16:19:25 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 16:19:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2195a8de
7
8 dev-libs/ossp-uuid: [QA] cleanups
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild | 21 ++++++++++++---------
13 1 file changed, 12 insertions(+), 9 deletions(-)
14
15 diff --git a/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild b/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild
16 index 335448aba2c5..33616b0f8acd 100644
17 --- a/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild
18 +++ b/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild
19 @@ -1,7 +1,7 @@
20 # Copyright 1999-2022 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI="8"
24 +EAPI=8
25
26 MY_P="uuid-${PV}"
27
28 @@ -18,11 +18,15 @@ LICENSE="ISC"
29 SLOT="0"
30 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
31 IUSE="+cxx perl static-libs test"
32 +RESTRICT="!test? ( test )"
33
34 -DEPEND="perl? ( dev-lang/perl test? ( virtual/perl-Test-Simple ) )"
35 +DEPEND="
36 + perl? (
37 + dev-lang/perl
38 + test? ( virtual/perl-Test-Simple )
39 + )"
40 RDEPEND="perl? ( dev-lang/perl:= )"
41 BDEPEND="perl? ( dev-lang/perl )"
42 -RESTRICT="!test? ( test )"
43
44 PATCHES=(
45 "${FILESDIR}/${P}-gentoo-r1.patch"
46 @@ -67,18 +71,17 @@ src_test() {
47 }
48
49 src_install() {
50 - local DOCS=( AUTHORS BINDINGS ChangeLog HISTORY NEWS OVERVIEW PORTING README SEEALSO THANKS TODO USERS )
51 default
52 - unset DOCS #unset so that other eclasses don't try to install them and possibly fail
53 + dodoc BINDINGS HISTORY OVERVIEW PORTING SEEALSO USERS
54
55 if use perl ; then
56 cd perl || die
57 perl-module_src_install
58 fi
59
60 - use static-libs || rm -rf "${ED}"/usr/lib*/*.la
61 + find "${ED}" -name '*.la' -delete || die
62
63 - mv "${ED}/usr/$(get_libdir)/pkgconfig"/{,ossp-}uuid.pc
64 - mv "${ED}/usr/share/man/man3"/uuid.3{,ossp}
65 - mv "${ED}/usr/share/man/man3"/uuid++.3{,ossp}
66 + mv "${ED}"/usr/$(get_libdir)/pkgconfig/{,ossp-}uuid.pc || die
67 + mv "${ED}"/usr/share/man/man3/uuid.3{,ossp} || die
68 + mv "${ED}"/usr/share/man/man3/uuid++.3{,ossp} || die
69 }