aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-09-27 09:04:27 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-09-27 09:08:58 +0200
commit01b3be18dfc5c037b5f39fd73a8b8cbc390b6c8f (patch)
treee22f1264f621a16176dd6aebc08f3053ba95c7c3 /sci-libs/ann
parentsys-cluster/clusteringsuite: fix boost threads useflag (diff)
downloadguru-01b3be18dfc5c037b5f39fd73a8b8cbc390b6c8f.tar.gz
guru-01b3be18dfc5c037b5f39fd73a8b8cbc390b6c8f.tar.bz2
guru-01b3be18dfc5c037b5f39fd73a8b8cbc390b6c8f.zip
sci-libs/ann: eapi bump, drop old
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sci-libs/ann')
-rw-r--r--sci-libs/ann/ann-1.1.2_p7-r2.ebuild (renamed from sci-libs/ann/ann-1.1.2_p7-r1.ebuild)2
-rw-r--r--sci-libs/ann/ann-1.1.2_p7.ebuild73
2 files changed, 1 insertions, 74 deletions
diff --git a/sci-libs/ann/ann-1.1.2_p7-r1.ebuild b/sci-libs/ann/ann-1.1.2_p7-r2.ebuild
index 794d59bf3..52ec0de6a 100644
--- a/sci-libs/ann/ann-1.1.2_p7-r1.ebuild
+++ b/sci-libs/ann/ann-1.1.2_p7-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=8
MY_PV="${PV//_p*/}"
MY_P="${PN}-${MY_PV}"
diff --git a/sci-libs/ann/ann-1.1.2_p7.ebuild b/sci-libs/ann/ann-1.1.2_p7.ebuild
deleted file mode 100644
index b13f224cb..000000000
--- a/sci-libs/ann/ann-1.1.2_p7.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit autotools eutils flag-o-matic
-
-MY_PV="${PV//_p*/}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="A Library for Approximate Nearest Neighbor Searching"
-HOMEPAGE="https://www.cs.umd.edu/~mount/ANN/"
-SRC_URI="http://cdn-fastly.deb.debian.org/debian/pool/main/a/${PN}/${PN}_${MY_PV}+doc.orig.tar.gz
-http://cdn-fastly.deb.debian.org/debian/pool/main/a/${PN}/${PN}_${MY_PV}+doc-${PV##*p}.debian.tar.xz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="debug test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=""
-DEPEND=""
-BDEPEND="dev-util/quilt"
-
-S="${WORKDIR}/${MY_P}+doc"
-
-DOCS=( doc/ANNmanual.pdf doc/ReadMe.txt )
-
-src_prepare() {
- export QUILT_PATCHES="${WORKDIR}/debian/patches"
- export QUILT_SERIES="${QUILT_PATCHES}/series"
- quilt push -a || die
- eapply_user
-
- eautoreconf
-}
-
-src_configure() {
- use debug && append-cxxflags -DANN_PERF
- econf --disable-static
-}
-
-src_test() {
- cd test
- ./ann_test < test1.in > /dev/null || die
- ./ann_test < test2.in > /dev/null || die
- cd ..
-}
-
-src_install() {
- default
-
- insinto /usr/include/ANN
- doins -r include/ANN/.
-
- insinto "/usr/share/${P}/sample"
- doins sample/query.pts
- doins sample/sample.save
- doins sample/data.pts
-
- cd "${WORKDIR}/debian"
- pod2man --center="User Commands" ann2fig.pod ann2fig.1
- pod2man --center="User Commands" ann_sample.pod ann_sample.1
- pod2man --center="User Commands" ann_test.pod ann_test.1
- doman ann_sample.1
- doman ann_test.1
- doman ann2fig.1
- cd "${S}"
-
- find "${D}" -name '*.la' -delete || die
-}