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/liblist/
Date: Sun, 09 Feb 2020 23:05:54
Message-Id: 1581289504.315629a9d94bef298b082be0f8fe561f5d0c8132.soap@gentoo
1 commit: 315629a9d94bef298b082be0f8fe561f5d0c8132
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 9 23:05:04 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 23:05:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315629a9
7
8 dev-libs/liblist: Port to EAPI 7
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-libs/liblist/liblist-2.4.ebuild | 39 +++++++++++++++++++------------------
14 1 file changed, 20 insertions(+), 19 deletions(-)
15
16 diff --git a/dev-libs/liblist/liblist-2.4.ebuild b/dev-libs/liblist/liblist-2.4.ebuild
17 index 0133d56da43..928ed1b2bfa 100644
18 --- a/dev-libs/liblist/liblist-2.4.ebuild
19 +++ b/dev-libs/liblist/liblist-2.4.ebuild
20 @@ -1,9 +1,9 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=4
26 +EAPI=7
27
28 -inherit autotools-utils multilib
29 +inherit autotools
30
31 DESCRIPTION="Generic linked-list manipulation routines, plus queues and stacks"
32 HOMEPAGE="http://ohnopub.net/liblist"
33 @@ -12,36 +12,37 @@ SRC_URI="ftp://ohnopublishing.net/mirror/${P}.tar.bz2"
34 LICENSE="GPL-2"
35 SLOT="0"
36 KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux"
37 -IUSE="doc examples static-libs"
38 +IUSE="doc examples"
39
40 -RDEPEND="doc? ( media-gfx/transfig
41 +RDEPEND="
42 + doc? (
43 dev-texlive/texlive-metapost
44 - virtual/latex-base )"
45 + media-gfx/transfig
46 + virtual/latex-base
47 + )"
48 DEPEND="${RDEPEND}"
49
50 src_configure() {
51 - local myeconfargs=(
52 - --docdir="${EPREFIX}"/usr/share/doc/${PF}
53 - $(use_enable doc docs)
54 + econf \
55 + --disable-static \
56 + $(use_enable doc docs) \
57 $(use_enable examples)
58 - )
59 -
60 - autotools-utils_src_configure
61 }
62
63 src_install() {
64 - autotools-utils_src_install
65 -
66 - dodoc README
67 + default
68
69 if use examples; then
70 - insinto /usr/share/doc/${PF}/examples
71 - doins examples/{*.c,Makefile,README}
72 - insinto /usr/share/doc/${PF}/examples/cache
73 - doins examples/cache/{*.c,README}
74 + docinto examples
75 + dodoc examples/{*.c,Makefile,README}
76 + docinto examples/cache
77 + dodoc examples/cache/{*.c,README}
78 fi
79
80 docompress -x /usr/share/doc/${PF}/{list.0,paper.dvi,examples}
81 +
82 + # no static archives
83 + find "${D}" -name '*.la' -delete || die
84 }
85
86 pkg_postinst() {