summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-04-19 15:56:25 +0000
committerMichael Palimaka <kensington@gentoo.org>2015-04-19 15:56:25 +0000
commitbaaa7e480aeb23210822b8f4217c3504c4b8df64 (patch)
treeacf55acd04b2617ff6698b179cc32404fed2ba53 /sci-libs/flann
parentRemove local USE flags descriptions added by error. (diff)
downloadgentoo-2-baaa7e480aeb23210822b8f4217c3504c4b8df64.tar.gz
gentoo-2-baaa7e480aeb23210822b8f4217c3504c4b8df64.tar.bz2
gentoo-2-baaa7e480aeb23210822b8f4217c3504c4b8df64.zip
Remove old.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'sci-libs/flann')
-rw-r--r--sci-libs/flann/ChangeLog5
-rw-r--r--sci-libs/flann/flann-1.7.1.ebuild84
2 files changed, 4 insertions, 85 deletions
diff --git a/sci-libs/flann/ChangeLog b/sci-libs/flann/ChangeLog
index 1f303e47f9cd..433f288127e7 100644
--- a/sci-libs/flann/ChangeLog
+++ b/sci-libs/flann/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/flann
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/flann/ChangeLog,v 1.25 2015/04/19 10:05:00 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/flann/ChangeLog,v 1.26 2015/04/19 15:56:25 kensington Exp $
+
+ 19 Apr 2015; Michael Palimaka <kensington@gentoo.org> -flann-1.7.1.ebuild:
+ Remove old.
19 Apr 2015; Agostino Sarubbo <ago@gentoo.org> flann-1.8.4-r1.ebuild:
Stable for x86, wrt bug #545528
diff --git a/sci-libs/flann/flann-1.7.1.ebuild b/sci-libs/flann/flann-1.7.1.ebuild
deleted file mode 100644
index 1e3669b93853..000000000000
--- a/sci-libs/flann/flann-1.7.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/flann/flann-1.7.1.ebuild,v 1.5 2013/12/07 19:10:22 jlec Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2:2.5"
-
-inherit cmake-utils eutils python
-
-DESCRIPTION="Library for performing fast approximate nearest neighbor searches in high dimensional spaces"
-HOMEPAGE="http://www.cs.ubc.ca/research/flann/"
-SRC_URI="http://people.cs.ubc.ca/~mariusm/uploads/FLANN/${P}-src.zip
- test? ( http://dev.gentoo.org/~dilfridge/distfiles/${PN}-1.6.10-testdata.tar.xz )"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
-IUSE="doc mpi octave python static-libs test"
-# cuda needs to be implemented!
-
-RDEPEND="sci-libs/hdf5[mpi?]
- mpi? ( dev-libs/boost[mpi] )
- octave? ( sci-mathematics/octave )
- python? ( dev-python/numpy )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- test? ( dev-cpp/gtest )"
-
-S="${WORKDIR}"/${P}-src
-
-src_prepare() {
- # bug #302621
- has_version sci-libs/hdf5[mpi] && export CXX=mpicxx
- # gentoo doc directory respected
- sed -i \
- -e "s:share/doc/flann:share/doc/${PF}:" \
- doc/CMakeLists.txt || die
- # python standard installation directory respected
- sed -i \
- -e "/share/d" \
- -e "/COMMAND/s:install:install --root="${D}" --no-compile:" \
- src/python/CMakeLists.txt || die
- # produce pure octave files
- # octave gentoo installation for .m files respected
- sed -i \
- -e 's/--mex//' \
- -e 's/\.mex/\.oct/' \
- -e '/FILES/s/${MEX_FILE}//' \
- -e 's:share/flann/octave:share/octave/site/m:' \
- -e "/CUSTOM_TARGET/a\INSTALL(FILES \${MEX_FILE} DESTINATION libexec/octave/site/oct/${CHOST})" \
- src/matlab/CMakeLists.txt || die
- # do not compile examples by default
- sed -i \
- -e '/add_subdirectory.*examples/d' \
- CMakeLists.txt || die
- # compile tests only when requested
- use test || sed -i -e '/add_subdirectory.*test/d' CMakeLists.txt
- # avoid automatic installation of pdf
- use doc || sed -i -e '/doc/d' CMakeLists.txt
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DBUILD_C_BINDINGS=ON"
- "-DBUILD_CUDA_LIB=OFF"
- $(cmake-utils_use_build octave MATLAB_BINDINGS)
- $(cmake-utils_use_build python PYTHON_BINDINGS)
- $(cmake-utils_use_use mpi)
- )
- cmake-utils_src_configure
-}
-
-src_test() {
- cd "${CMAKE_BUILD_DIR}"
- LD_LIBRARY_PATH="${PWD}/lib" PYTHONPATH="${S}/src/python" \
- emake test
-}
-
-src_install() {
- cmake-utils_src_install
- dodoc README.md
- use static-libs || find "${ED}" -name 'lib*.a' -exec rm -rf '{}' '+'
-}