Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/tokyodystopia/
Date: Tue, 29 May 2018 20:10:43
Message-Id: 1527624607.e117ee0627f56429147540c5d0ecbb21ca45af74.bman@gentoo
1 commit: e117ee0627f56429147540c5d0ecbb21ca45af74
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 29 14:42:48 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Tue May 29 20:10:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e117ee06
7
8 app-text/tokyodystopia: bump EAPI and add EPREFIX
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild | 27 ++++++++++------------
13 1 file changed, 12 insertions(+), 15 deletions(-)
14
15 diff --git a/app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild b/app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild
16 index 9a0508821fb..cbd327fef5f 100644
17 --- a/app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild
18 +++ b/app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild
19 @@ -1,9 +1,7 @@
20 -# Copyright 1999-2010 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI="2"
25 -
26 -inherit eutils
27 +EAPI=7
28
29 DESCRIPTION="A fulltext search engine for Tokyo Cabinet"
30 HOMEPAGE="http://fallabs.com/tokyodystopia/"
31 @@ -17,28 +15,27 @@ IUSE="examples"
32 DEPEND="dev-db/tokyocabinet"
33 RDEPEND="${DEPEND}"
34
35 -src_prepare() {
36 - epatch "${FILESDIR}/fix_rpath.patch"
37 - epatch "${FILESDIR}/fix_ldconfig.patch"
38 - epatch "${FILESDIR}/remove_docinst.patch"
39 -}
40 +PATCHES=(
41 + "${FILESDIR}/fix_rpath.patch"
42 + "${FILESDIR}/fix_ldconfig.patch"
43 + "${FILESDIR}/remove_docinst.patch"
44 +)
45
46 src_configure() {
47 - econf --libexecdir=/usr/libexec/${PN} || die
48 + econf --libexecdir="${EPREFIX}"/usr/libexec/${PN}
49 }
50
51 src_install() {
52 - emake DESTDIR="${D}" install || die "Install failed"
53 + HTML_DOCS=( doc/* )
54
55 - dohtml doc/* || die
56 + default
57
58 if use examples; then
59 insinto /usr/share/${PF}/example
60 - doins example/* || die "Install failed"
61 + doins example/*
62 fi
63 -
64 }
65
66 src_test() {
67 - emake -j1 check || die "Tests failed"
68 + emake -j1 check
69 }