1 |
commit: 01b3be18dfc5c037b5f39fd73a8b8cbc390b6c8f |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 27 07:04:27 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Sep 27 07:08:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01b3be18 |
7 |
|
8 |
sci-libs/ann: eapi bump, drop old |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
...n-1.1.2_p7-r1.ebuild => ann-1.1.2_p7-r2.ebuild} | 2 +- |
13 |
sci-libs/ann/ann-1.1.2_p7.ebuild | 73 ---------------------- |
14 |
2 files changed, 1 insertion(+), 74 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/ann/ann-1.1.2_p7-r1.ebuild b/sci-libs/ann/ann-1.1.2_p7-r2.ebuild |
17 |
similarity index 99% |
18 |
rename from sci-libs/ann/ann-1.1.2_p7-r1.ebuild |
19 |
rename to sci-libs/ann/ann-1.1.2_p7-r2.ebuild |
20 |
index 794d59bf3..52ec0de6a 100644 |
21 |
--- a/sci-libs/ann/ann-1.1.2_p7-r1.ebuild |
22 |
+++ b/sci-libs/ann/ann-1.1.2_p7-r2.ebuild |
23 |
@@ -1,7 +1,7 @@ |
24 |
# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI="7" |
28 |
+EAPI=8 |
29 |
|
30 |
MY_PV="${PV//_p*/}" |
31 |
MY_P="${PN}-${MY_PV}" |
32 |
|
33 |
diff --git a/sci-libs/ann/ann-1.1.2_p7.ebuild b/sci-libs/ann/ann-1.1.2_p7.ebuild |
34 |
deleted file mode 100644 |
35 |
index b13f224cb..000000000 |
36 |
--- a/sci-libs/ann/ann-1.1.2_p7.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,73 +0,0 @@ |
39 |
-# Copyright 1999-2020 Gentoo Authors |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI="7" |
43 |
- |
44 |
-inherit autotools eutils flag-o-matic |
45 |
- |
46 |
-MY_PV="${PV//_p*/}" |
47 |
-MY_P="${PN}-${MY_PV}" |
48 |
- |
49 |
-DESCRIPTION="A Library for Approximate Nearest Neighbor Searching" |
50 |
-HOMEPAGE="https://www.cs.umd.edu/~mount/ANN/" |
51 |
-SRC_URI="http://cdn-fastly.deb.debian.org/debian/pool/main/a/${PN}/${PN}_${MY_PV}+doc.orig.tar.gz |
52 |
-http://cdn-fastly.deb.debian.org/debian/pool/main/a/${PN}/${PN}_${MY_PV}+doc-${PV##*p}.debian.tar.xz" |
53 |
- |
54 |
-LICENSE="LGPL-2.1" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="~amd64" |
57 |
- |
58 |
-IUSE="debug test" |
59 |
-RESTRICT="!test? ( test )" |
60 |
- |
61 |
-RDEPEND="" |
62 |
-DEPEND="" |
63 |
-BDEPEND="dev-util/quilt" |
64 |
- |
65 |
-S="${WORKDIR}/${MY_P}+doc" |
66 |
- |
67 |
-DOCS=( doc/ANNmanual.pdf doc/ReadMe.txt ) |
68 |
- |
69 |
-src_prepare() { |
70 |
- export QUILT_PATCHES="${WORKDIR}/debian/patches" |
71 |
- export QUILT_SERIES="${QUILT_PATCHES}/series" |
72 |
- quilt push -a || die |
73 |
- eapply_user |
74 |
- |
75 |
- eautoreconf |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- use debug && append-cxxflags -DANN_PERF |
80 |
- econf --disable-static |
81 |
-} |
82 |
- |
83 |
-src_test() { |
84 |
- cd test |
85 |
- ./ann_test < test1.in > /dev/null || die |
86 |
- ./ann_test < test2.in > /dev/null || die |
87 |
- cd .. |
88 |
-} |
89 |
- |
90 |
-src_install() { |
91 |
- default |
92 |
- |
93 |
- insinto /usr/include/ANN |
94 |
- doins -r include/ANN/. |
95 |
- |
96 |
- insinto "/usr/share/${P}/sample" |
97 |
- doins sample/query.pts |
98 |
- doins sample/sample.save |
99 |
- doins sample/data.pts |
100 |
- |
101 |
- cd "${WORKDIR}/debian" |
102 |
- pod2man --center="User Commands" ann2fig.pod ann2fig.1 |
103 |
- pod2man --center="User Commands" ann_sample.pod ann_sample.1 |
104 |
- pod2man --center="User Commands" ann_test.pod ann_test.1 |
105 |
- doman ann_sample.1 |
106 |
- doman ann_test.1 |
107 |
- doman ann2fig.1 |
108 |
- cd "${S}" |
109 |
- |
110 |
- find "${D}" -name '*.la' -delete || die |
111 |
-} |