1 |
commit: 05ada9b996f7f0cede53d8c5453e1c4506a02724 |
2 |
Author: Kacper KoĆodziej <kacper <AT> kolodziej <DOT> in> |
3 |
AuthorDate: Wed Sep 28 09:13:11 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 21:02:10 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ada9b9 |
7 |
|
8 |
app-text/bact: Upgrade to EAPI=6 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/2409 |
11 |
|
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
.../bact/{bact-0.13.ebuild => bact-0.13-r1.ebuild} | 19 ++++++++----------- |
15 |
1 file changed, 8 insertions(+), 11 deletions(-) |
16 |
|
17 |
diff --git a/app-text/bact/bact-0.13.ebuild b/app-text/bact/bact-0.13-r1.ebuild |
18 |
similarity index 67% |
19 |
rename from app-text/bact/bact-0.13.ebuild |
20 |
rename to app-text/bact/bact-0.13-r1.ebuild |
21 |
index 00cd997..a5b5f5b 100644 |
22 |
--- a/app-text/bact/bact-0.13.ebuild |
23 |
+++ b/app-text/bact/bact-0.13-r1.ebuild |
24 |
@@ -1,10 +1,10 @@ |
25 |
-# Copyright 1999-2012 Gentoo Foundation |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
# $Id$ |
29 |
|
30 |
-EAPI=4 |
31 |
+EAPI=6 |
32 |
|
33 |
-inherit eutils toolchain-funcs |
34 |
+inherit toolchain-funcs |
35 |
|
36 |
DESCRIPTION="Boosting Algorithm for Classification of Trees" |
37 |
HOMEPAGE="http://chasen.org/~taku/software/bact/" |
38 |
@@ -15,12 +15,11 @@ SLOT="0" |
39 |
KEYWORDS="~amd64 ~x86" |
40 |
IUSE="" |
41 |
|
42 |
-DEPEND="" |
43 |
-RDEPEND="${DEPEND}" |
44 |
+RDEPEND="" |
45 |
+DEPEND="${RDEPEND}" |
46 |
|
47 |
-src_prepare() { |
48 |
- epatch "${FILESDIR}/${P}-cpp14.patch" # bug #594312 |
49 |
-} |
50 |
+HTML_DOCS=( index.html bact.css ) |
51 |
+PATCHES=( "${FILESDIR}/${P}-cpp14.patch" ) |
52 |
|
53 |
src_compile() { |
54 |
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" |
55 |
@@ -32,7 +31,5 @@ src_test() { |
56 |
|
57 |
src_install() { |
58 |
dobin bact_learn bact_mkmodel bact_classify |
59 |
- |
60 |
- dohtml index.html bact.css |
61 |
- dodoc README AUTHORS |
62 |
+ einstalldocs |
63 |
} |