1 |
commit: 6026d536aa292b0589c2b29cdd2b6a93ba490eb2 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 17 12:24:01 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 17 12:39:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6026d536 |
7 |
|
8 |
sci-libs/flann: EAPI-7 bump, fix unused cmake var |
9 |
|
10 |
Closes: https://bugs.gentoo.org/659756 |
11 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../{flann-9999.ebuild => flann-1.9.1-r2.ebuild} | 32 ++++++++++++---------- |
15 |
sci-libs/flann/flann-9999.ebuild | 26 ++++++++++-------- |
16 |
2 files changed, 31 insertions(+), 27 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/flann/flann-9999.ebuild b/sci-libs/flann/flann-1.9.1-r2.ebuild |
19 |
similarity index 77% |
20 |
copy from sci-libs/flann/flann-9999.ebuild |
21 |
copy to sci-libs/flann/flann-1.9.1-r2.ebuild |
22 |
index e8b80e9f855..73e6a60c52b 100644 |
23 |
--- a/sci-libs/flann/flann-9999.ebuild |
24 |
+++ b/sci-libs/flann/flann-1.9.1-r2.ebuild |
25 |
@@ -1,37 +1,38 @@ |
26 |
-# Copyright 1999-2018 Gentoo Foundation |
27 |
+# Copyright 1999-2019 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
-EAPI=6 |
31 |
+EAPI=7 |
32 |
|
33 |
-inherit cmake-utils cuda flag-o-matic git-r3 toolchain-funcs |
34 |
+inherit cmake-utils cuda flag-o-matic toolchain-funcs |
35 |
|
36 |
DESCRIPTION="Fast approximate nearest neighbor searches in high dimensional spaces" |
37 |
-HOMEPAGE="http://www.cs.ubc.ca/research/flann/" |
38 |
-EGIT_REPO_URI="https://github.com/mariusmuja/flann.git" |
39 |
+HOMEPAGE="https://www.cs.ubc.ca/research/flann/" |
40 |
+SRC_URI="https://github.com/mariusmuja/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
|
42 |
LICENSE="BSD" |
43 |
SLOT="0" |
44 |
-KEYWORDS="" |
45 |
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" |
46 |
IUSE="cuda doc examples mpi openmp octave static-libs" |
47 |
|
48 |
-RDEPEND=" |
49 |
+BDEPEND=" |
50 |
+ app-arch/unzip |
51 |
+ doc? ( dev-tex/latex2html ) |
52 |
+" |
53 |
+DEPEND=" |
54 |
cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) |
55 |
mpi? ( |
56 |
sci-libs/hdf5[mpi] |
57 |
dev-libs/boost:=[mpi] |
58 |
) |
59 |
!mpi? ( !sci-libs/hdf5[mpi] ) |
60 |
- octave? ( >=sci-mathematics/octave-3.6.4-r1 )" |
61 |
-DEPEND="${RDEPEND} |
62 |
- app-arch/unzip |
63 |
- doc? ( dev-tex/latex2html )" |
64 |
+ octave? ( >=sci-mathematics/octave-3.6.4-r1 ) |
65 |
+" |
66 |
+RDEPEND="${DEPEND}" |
67 |
# TODO: |
68 |
# readd dependencies for test suite, |
69 |
# requires multiple ruby dependencies |
70 |
|
71 |
-PATCHES=( |
72 |
- "${FILESDIR}"/flann-1.9.1-cmake-3.11.patch |
73 |
-) |
74 |
+PATCHES=( "${FILESDIR}"/flann-1.9.1-cmake-3.11.patch ) |
75 |
|
76 |
pkg_pretend() { |
77 |
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
78 |
@@ -67,7 +68,6 @@ src_configure() { |
79 |
-DBUILD_C_BINDINGS=ON |
80 |
-DBUILD_PYTHON_BINDINGS=OFF |
81 |
-DPYTHON_EXECUTABLE= |
82 |
- -DDOCDIR=share/doc/${PF} |
83 |
-DBUILD_CUDA_LIB=$(usex cuda) |
84 |
-DBUILD_EXAMPLES=$(usex examples) |
85 |
-DBUILD_DOC=$(usex doc) |
86 |
@@ -79,6 +79,8 @@ src_configure() { |
87 |
use cuda && mycmakeargs+=( |
88 |
-DCUDA_NVCC_FLAGS="${NVCCFLAGS} --linker-options \"-arsch\"" |
89 |
) |
90 |
+ use doc && mycmakeargs+=( -DDOCDIR=share/doc/${PF} ) |
91 |
+ |
92 |
cmake-utils_src_configure |
93 |
} |
94 |
|
95 |
|
96 |
diff --git a/sci-libs/flann/flann-9999.ebuild b/sci-libs/flann/flann-9999.ebuild |
97 |
index e8b80e9f855..04b6a5770ac 100644 |
98 |
--- a/sci-libs/flann/flann-9999.ebuild |
99 |
+++ b/sci-libs/flann/flann-9999.ebuild |
100 |
@@ -1,12 +1,12 @@ |
101 |
-# Copyright 1999-2018 Gentoo Foundation |
102 |
+# Copyright 1999-2019 Gentoo Authors |
103 |
# Distributed under the terms of the GNU General Public License v2 |
104 |
|
105 |
-EAPI=6 |
106 |
+EAPI=7 |
107 |
|
108 |
inherit cmake-utils cuda flag-o-matic git-r3 toolchain-funcs |
109 |
|
110 |
DESCRIPTION="Fast approximate nearest neighbor searches in high dimensional spaces" |
111 |
-HOMEPAGE="http://www.cs.ubc.ca/research/flann/" |
112 |
+HOMEPAGE="https://www.cs.ubc.ca/research/flann/" |
113 |
EGIT_REPO_URI="https://github.com/mariusmuja/flann.git" |
114 |
|
115 |
LICENSE="BSD" |
116 |
@@ -14,24 +14,25 @@ SLOT="0" |
117 |
KEYWORDS="" |
118 |
IUSE="cuda doc examples mpi openmp octave static-libs" |
119 |
|
120 |
-RDEPEND=" |
121 |
+BDEPEND=" |
122 |
+ doc? ( dev-tex/latex2html ) |
123 |
+" |
124 |
+DEPEND=" |
125 |
+ app-arch/lz4:= |
126 |
cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) |
127 |
mpi? ( |
128 |
sci-libs/hdf5[mpi] |
129 |
dev-libs/boost:=[mpi] |
130 |
) |
131 |
!mpi? ( !sci-libs/hdf5[mpi] ) |
132 |
- octave? ( >=sci-mathematics/octave-3.6.4-r1 )" |
133 |
-DEPEND="${RDEPEND} |
134 |
- app-arch/unzip |
135 |
- doc? ( dev-tex/latex2html )" |
136 |
+ octave? ( >=sci-mathematics/octave-3.6.4-r1 ) |
137 |
+" |
138 |
+RDEPEND="${DEPEND}" |
139 |
# TODO: |
140 |
# readd dependencies for test suite, |
141 |
# requires multiple ruby dependencies |
142 |
|
143 |
-PATCHES=( |
144 |
- "${FILESDIR}"/flann-1.9.1-cmake-3.11.patch |
145 |
-) |
146 |
+PATCHES=( "${FILESDIR}"/flann-1.9.1-cmake-3.11.patch ) |
147 |
|
148 |
pkg_pretend() { |
149 |
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
150 |
@@ -67,7 +68,6 @@ src_configure() { |
151 |
-DBUILD_C_BINDINGS=ON |
152 |
-DBUILD_PYTHON_BINDINGS=OFF |
153 |
-DPYTHON_EXECUTABLE= |
154 |
- -DDOCDIR=share/doc/${PF} |
155 |
-DBUILD_CUDA_LIB=$(usex cuda) |
156 |
-DBUILD_EXAMPLES=$(usex examples) |
157 |
-DBUILD_DOC=$(usex doc) |
158 |
@@ -79,6 +79,8 @@ src_configure() { |
159 |
use cuda && mycmakeargs+=( |
160 |
-DCUDA_NVCC_FLAGS="${NVCCFLAGS} --linker-options \"-arsch\"" |
161 |
) |
162 |
+ use doc && mycmakeargs+=( -DDOCDIR=share/doc/${PF} ) |
163 |
+ |
164 |
cmake-utils_src_configure |
165 |
} |