From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87FE3158086 for ; Sun, 7 Nov 2021 15:42:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC7D8E09C6; Sun, 7 Nov 2021 15:42:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 701A8E0391 for ; Sun, 7 Nov 2021 15:42:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15B40342EAA for ; Sun, 7 Nov 2021 15:42:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AAF31BF for ; Sun, 7 Nov 2021 15:41:57 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1636299701.535129904c2663195386eb41bd676ed3100fc0bd.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/flann/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/flann/flann-9999.ebuild X-VCS-Directories: sci-libs/flann/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 535129904c2663195386eb41bd676ed3100fc0bd X-VCS-Branch: master Date: Sun, 7 Nov 2021 15:41:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5635ba39-5066-4b40-a81a-cc3b020c6807 X-Archives-Hash: e3e7f901cc59e33c866c50a623ef65b6 commit: 535129904c2663195386eb41bd676ed3100fc0bd Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Nov 7 12:17:17 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Nov 7 15:41:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53512990 sci-libs/flann: Drop unmaintained 9999 ebuild Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/flann/flann-9999.ebuild | 92 ---------------------------------------- 1 file changed, 92 deletions(-) diff --git a/sci-libs/flann/flann-9999.ebuild b/sci-libs/flann/flann-9999.ebuild deleted file mode 100644 index 04b6a5770ac..00000000000 --- a/sci-libs/flann/flann-9999.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-utils cuda flag-o-matic git-r3 toolchain-funcs - -DESCRIPTION="Fast approximate nearest neighbor searches in high dimensional spaces" -HOMEPAGE="https://www.cs.ubc.ca/research/flann/" -EGIT_REPO_URI="https://github.com/mariusmuja/flann.git" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="" -IUSE="cuda doc examples mpi openmp octave static-libs" - -BDEPEND=" - doc? ( dev-tex/latex2html ) -" -DEPEND=" - app-arch/lz4:= - cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) - mpi? ( - sci-libs/hdf5[mpi] - dev-libs/boost:=[mpi] - ) - !mpi? ( !sci-libs/hdf5[mpi] ) - octave? ( >=sci-mathematics/octave-3.6.4-r1 ) -" -RDEPEND="${DEPEND}" -# TODO: -# readd dependencies for test suite, -# requires multiple ruby dependencies - -PATCHES=( "${FILESDIR}"/flann-1.9.1-cmake-3.11.patch ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - # bug #302621 - use mpi && export CXX=mpicxx - # 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 - use cuda && cuda_src_prepare - - cmake-utils_src_prepare -} - -src_configure() { - append-cxxflags -std=c++11 - - # python bindings are split - # off into dev-python/pyflann - local mycmakeargs=( - -DBUILD_C_BINDINGS=ON - -DBUILD_PYTHON_BINDINGS=OFF - -DPYTHON_EXECUTABLE= - -DBUILD_CUDA_LIB=$(usex cuda) - -DBUILD_EXAMPLES=$(usex examples) - -DBUILD_DOC=$(usex doc) - -DBUILD_TESTS=OFF - -DBUILD_MATLAB_BINDINGS=$(usex octave) - -DUSE_MPI=$(usex mpi) - -DUSE_OPENMP=$(usex openmp) - ) - use cuda && mycmakeargs+=( - -DCUDA_NVCC_FLAGS="${NVCCFLAGS} --linker-options \"-arsch\"" - ) - use doc && mycmakeargs+=( -DDOCDIR=share/doc/${PF} ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - if ! use static-libs; then - find "${D}" -name 'lib*.a' -delete || die - fi -}