1 |
commit: 19b328d5a86e55060e6d9198569c6b77f9c22262 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 5 19:18:19 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 5 19:19:52 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19b328d5 |
7 |
|
8 |
media-libs/vigra: Drop 1.11.1-r1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/665380 |
11 |
Closes: https://bugs.gentoo.org/671636 |
12 |
Package-Manager: Portage-2.3.67, Repoman-2.3.14 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
media-libs/vigra/vigra-1.11.1.ebuild | 149 ----------------------------------- |
16 |
1 file changed, 149 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/vigra/vigra-1.11.1.ebuild b/media-libs/vigra/vigra-1.11.1.ebuild |
19 |
deleted file mode 100644 |
20 |
index b2db9b985bc..00000000000 |
21 |
--- a/media-libs/vigra/vigra-1.11.1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,149 +0,0 @@ |
24 |
-# Copyright 1999-2019 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=6 |
28 |
-MY_P="${P}-src" |
29 |
-MY_V="${PV//\./-}" |
30 |
-PYTHON_COMPAT=( python2_7 ) |
31 |
-PYTHON_REQ_USE="threads,xml" |
32 |
- |
33 |
-inherit cmake-utils python-r1 |
34 |
- |
35 |
-DESCRIPTION="C++ computer vision library emphasizing customizable algorithms and structures" |
36 |
-HOMEPAGE="https://ukoethe.github.io/vigra/" |
37 |
- |
38 |
-if [[ ${PV} == *9999 ]] ; then |
39 |
- EGIT_REPO_URI="https://github.com/ukoethe/${PN}.git" |
40 |
- inherit git-r3 |
41 |
-else |
42 |
- SRC_URI="https://github.com/ukoethe/${PN}/releases/download/Version-${MY_V}/${MY_P}.tar.gz" |
43 |
- KEYWORDS="amd64 ~sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" |
44 |
-fi |
45 |
- |
46 |
-LICENSE="MIT" |
47 |
-SLOT="0" |
48 |
-IUSE="doc +fftw +hdf5 +jpeg mpi openexr +png +python test +tiff valgrind" |
49 |
- |
50 |
-# runtime dependency on python:2.7 is required by the vigra-config script |
51 |
-RDEPEND=" |
52 |
- dev-lang/python:2.7 |
53 |
- >=dev-libs/boost-1.52.0-r6:=[python?,${PYTHON_USEDEP}] |
54 |
- fftw? ( sci-libs/fftw:3.0 ) |
55 |
- hdf5? ( >=sci-libs/hdf5-1.8.0:=[mpi?] ) |
56 |
- jpeg? ( virtual/jpeg:0 ) |
57 |
- openexr? ( media-libs/openexr:= ) |
58 |
- png? ( media-libs/libpng:0= ) |
59 |
- python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] ) |
60 |
- tiff? ( media-libs/tiff:0= ) |
61 |
- valgrind? ( dev-util/valgrind )" |
62 |
- |
63 |
-DEPEND="${RDEPEND} |
64 |
- doc? ( |
65 |
- app-doc/doxygen |
66 |
- python? ( >=dev-python/sphinx-1.1.3-r5[${PYTHON_USEDEP}] ) |
67 |
- ) |
68 |
- test? ( >=dev-python/nose-1.1.2-r1[${PYTHON_USEDEP}] )" |
69 |
- |
70 |
-REQUIRED_USE=" |
71 |
- doc? ( hdf5 fftw ) |
72 |
- python? ( hdf5 ${PYTHON_REQUIRED_USE} ) |
73 |
- test? ( hdf5 python fftw )" |
74 |
- |
75 |
-# Severely broken, also disabled in Fedora, bugs #390447, #653442 |
76 |
-RESTRICT="test" |
77 |
- |
78 |
-DOCS=( README.md ) |
79 |
- |
80 |
-PATCHES=( |
81 |
- "${FILESDIR}/${P}-fix-incorrect-template-parameter-type.patch" |
82 |
-) |
83 |
- |
84 |
-pkg_setup() { |
85 |
- use python && python_setup |
86 |
-} |
87 |
- |
88 |
-src_prepare() { |
89 |
- einfo "Removing shipped docs and VCS files" |
90 |
- rm -rf doc || die |
91 |
- rm .git* .travis.yml || die |
92 |
- |
93 |
- cmake-utils_src_prepare |
94 |
- |
95 |
- # Don't use python_fix_shebang because we can't put this behind USE="python" |
96 |
- sed -i -e '/env/s:python:python2:' config/vigra-config.in || die |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- vigra_configure() { |
101 |
- local libdir="$(get_libdir)" |
102 |
- |
103 |
- local mycmakeargs=( |
104 |
- -DAUTOEXEC_TESTS=OFF |
105 |
- -DDOCDIR="${BUILD_DIR}/doc" |
106 |
- -DDOCINSTALL="share/doc/${P}" |
107 |
- -DLIBDIR_SUFFIX="${libdir/lib}" |
108 |
- -DUSE_DOC=$(usex doc ON OFF) # unused |
109 |
- -DUSE_FFTW3=$(usex fftw ON OFF) # unused |
110 |
- -DUSE_JPEG=$(usex jpeg ON OFF) # unused |
111 |
- -DUSE_MPI=$(usex mpi ON OFF) # unused |
112 |
- -DUSE_PNG=$(usex png ON OFF) # unused |
113 |
- -DUSE_TIFF=$(usex tiff ON OFF) # unused |
114 |
- -DWITH_HDF5=$(usex hdf5 ON OFF) |
115 |
- -DWITH_OPENEXR=$(usex openexr ON OFF) |
116 |
- -DWITH_VALGRIND=$(usex valgrind ON OFF) |
117 |
- -DWITH_VIGRANUMPY=$(usex python ON OFF) |
118 |
- -DBUILD_TESTING=$(usex test ON OFF) # unused |
119 |
- -DUSE_AUTOBUILD_TESTS=$(usex test ON OFF) # unused |
120 |
- -DUSE_CREATE_CTEST_TARGETS=$(usex test ON OFF) # unused |
121 |
- ) |
122 |
- cmake-utils_src_configure |
123 |
- } |
124 |
- |
125 |
- if use python; then |
126 |
- python_foreach_impl vigra_configure |
127 |
- else |
128 |
- # required for docdir |
129 |
- _cmake_check_build_dir init |
130 |
- vigra_configure |
131 |
- fi |
132 |
-} |
133 |
- |
134 |
-src_compile() { |
135 |
- local VIGRA_BUILD_DIR |
136 |
- vigra_compile() { |
137 |
- cmake-utils_src_compile |
138 |
- VIGRA_BUILD_DIR="${BUILD_DIR}" |
139 |
- } |
140 |
- if use python; then |
141 |
- python_foreach_impl vigra_compile |
142 |
- else |
143 |
- vigra_compile |
144 |
- fi |
145 |
- |
146 |
- if use doc; then |
147 |
- einfo "Generating Documentation" |
148 |
- # use build dir from last compile command |
149 |
- VARTEXFONTS="${T}/fonts" BUILD_DIR="${VIGRA_BUILD_DIR}" cmake-utils_src_make doc |
150 |
- fi |
151 |
-} |
152 |
- |
153 |
-src_install() { |
154 |
- if use python; then |
155 |
- python_foreach_impl cmake-utils_src_install |
156 |
- python_optimize |
157 |
- else |
158 |
- cmake-utils_src_install |
159 |
- fi |
160 |
-} |
161 |
- |
162 |
-src_test() { |
163 |
- # perhaps disable tests (see #390447) |
164 |
- vigra_test() { |
165 |
- PYTHONPATH="${BUILD_DIR}/vigranumpy/vigra" cmake-utils_src_test |
166 |
- } |
167 |
- if use python; then |
168 |
- python_foreach_impl vigra_test |
169 |
- else |
170 |
- vigra_test |
171 |
- fi |
172 |
-} |