Gentoo Archives: gentoo-commits

From: "Matthias Maier (tamiko)" <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/vigra: vigra-1.10.0.ebuild vigra-1.9.0.ebuild ChangeLog
Date: Fri, 31 Oct 2014 00:07:01
Message-Id: 20141031000654.5723291AC@oystercatcher.gentoo.org
1 tamiko 14/10/31 00:06:54
2
3 Modified: vigra-1.9.0.ebuild ChangeLog
4 Added: vigra-1.10.0.ebuild
5 Log:
6 version bump, bug 494214 ; original patches and ebuild modifications by J. M. Gottfried
7
8 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key BD3A97A3)
9
10 Revision Changes Path
11 1.4 media-libs/vigra/vigra-1.9.0.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/vigra-1.9.0.ebuild?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/vigra-1.9.0.ebuild?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/vigra-1.9.0.ebuild?r1=1.3&r2=1.4
16
17 Index: vigra-1.9.0.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.9.0.ebuild,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- vigra-1.9.0.ebuild 16 Sep 2013 09:42:55 -0000 1.3
24 +++ vigra-1.9.0.ebuild 31 Oct 2014 00:06:54 -0000 1.4
25 @@ -1,6 +1,6 @@
26 -# Copyright 1999-2013 Gentoo Foundation
27 +# Copyright 1999-2014 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.9.0.ebuild,v 1.3 2013/09/16 09:42:55 scarabeus Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.9.0.ebuild,v 1.4 2014/10/31 00:06:54 tamiko Exp $
31
32 EAPI=5
33
34
35
36
37 1.64 media-libs/vigra/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/ChangeLog?rev=1.64&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/ChangeLog?rev=1.64&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/ChangeLog?r1=1.63&r2=1.64
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v
46 retrieving revision 1.63
47 retrieving revision 1.64
48 diff -u -r1.63 -r1.64
49 --- ChangeLog 16 Sep 2013 09:42:55 -0000 1.63
50 +++ ChangeLog 31 Oct 2014 00:06:54 -0000 1.64
51 @@ -1,6 +1,15 @@
52 # ChangeLog for media-libs/vigra
53 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v 1.63 2013/09/16 09:42:55 scarabeus Exp $
55 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
56 +# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v 1.64 2014/10/31 00:06:54 tamiko Exp $
57 +
58 +*vigra-1.10.0 (31 Oct 2014)
59 +
60 + 31 Oct 2014; Matthias Maier <tamiko@g.o>
61 + +files/vigra-1.10.0-automagicness.patch,
62 + +files/vigra-1.10.0-cmake-scripts.patch, +files/vigra-1.10.0-mpi-fixes.patch,
63 + +vigra-1.10.0.ebuild, vigra-1.9.0.ebuild:
64 + version bump, bug 494214 ; original patches and ebuild modifications by J. M.
65 + Gottfried
66
67 16 Sep 2013; Tomáš Chvátal <scarabeus@g.o> vigra-1.9.0.ebuild:
68 Subslot dep on boost is must to trigger rebuilds properly.
69
70
71
72 1.1 media-libs/vigra/vigra-1.10.0.ebuild
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/vigra-1.10.0.ebuild?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/vigra-1.10.0.ebuild?rev=1.1&content-type=text/plain
76
77 Index: vigra-1.10.0.ebuild
78 ===================================================================
79 # Copyright 1999-2014 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.10.0.ebuild,v 1.1 2014/10/31 00:06:54 tamiko Exp $
82
83 EAPI=5
84 MY_P=${P}-src-with-docu
85 MY_V=${PV//\./-}
86 PYTHON_COMPAT=( python2_7 )
87 PYTHON_REQ_USE="threads,xml"
88 inherit cmake-utils python-r1
89
90 DESCRIPTION="C++ computer vision library with emphasize on customizable algorithms and data structures"
91 HOMEPAGE="http://hci.iwr.uni-heidelberg.de/vigra/"
92 SRC_URI="https://github.com/ukoethe/vigra/releases/download/Version-${MY_V}/${MY_P}.tar.gz"
93
94 LICENSE="MIT"
95 SLOT="0"
96 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
97 IUSE="doc +fftw +hdf5 +jpeg mpi openexr +png +python test +tiff"
98
99 # runtime dependency on python:2.7 is required by the vigra-config script
100 RDEPEND="
101 dev-lang/python:2.7
102 >=dev-libs/boost-1.52.0-r6:=[python?,${PYTHON_USEDEP}]
103 fftw? ( sci-libs/fftw:3.0 )
104 hdf5? ( >=sci-libs/hdf5-1.8.0[mpi?] )
105 jpeg? ( virtual/jpeg )
106 openexr? ( media-libs/openexr:= )
107 png? ( media-libs/libpng:0= )
108 python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] )
109 tiff? ( media-libs/tiff:0= )"
110
111 DEPEND="${RDEPEND}
112 doc? (
113 app-doc/doxygen
114 python? ( >=dev-python/sphinx-1.1.3-r5[${PYTHON_USEDEP}] )
115 )
116 test? ( >=dev-python/nose-1.1.2-r1[${PYTHON_USEDEP}] )"
117
118 REQUIRED_USE="
119 doc? ( hdf5 fftw )
120 python? ( hdf5 ${PYTHON_REQUIRED_USE} )
121 test? ( hdf5 python fftw )"
122
123 PATCHES=(
124 "${FILESDIR}/${P}-automagicness.patch"
125 "${FILESDIR}/${P}-cmake-scripts.patch"
126 "${FILESDIR}/${P}-mpi-fixes.patch"
127 )
128 DOCS=( README.md )
129
130 pkg_setup() {
131 use python && python_setup
132 }
133
134 src_prepare() {
135 einfo "Removing shipped doc, Win32 dependencies and VCS files"
136 rm -rf doc
137 rm vigra-dependencies-win32-vs8.zip
138 rm .git* .hg* .travis.yml
139
140 cmake-utils_src_prepare
141
142 # Don't use python_fix_shebang because we can't put this behind USE="python"
143 sed -i -e '/env/s:python:python2:' config/vigra-config.in || die
144 }
145
146 src_configure() {
147 vigra_configure() {
148 local libdir="$(get_libdir)"
149
150 local mycmakeargs=(
151 -DAUTOEXEC_TESTS=OFF
152 -DDOCDIR="${BUILD_DIR}/doc"
153 -DDOCINSTALL="share/doc/${PV}"
154 -DLIBDIR_SUFFIX="${libdir/lib}"
155 -DWITH_VALGRIND=OFF
156 $(cmake-utils_use_enable doc DOC)
157 $(cmake-utils_use_with fftw FFTW3)
158 $(cmake-utils_use_with hdf5 HDF5)
159 $(cmake-utils_use_with jpeg JPEG)
160 $(cmake-utils_use_with mpi MPI)
161 $(cmake-utils_use_with png PNG)
162 $(cmake-utils_use_with openexr OPENEXR)
163 $(cmake-utils_use_with python VIGRANUMPY)
164 $(cmake-utils_use_with tiff TIFF)
165 $(cmake-utils_use_build test TESTING)
166 $(cmake-utils_use test CREATE_CTEST_TARGETS)
167 $(cmake-utils_use test AUTOBUILD_TESTS)
168 )
169 cmake-utils_src_configure
170 }
171
172 if use python; then
173 python_foreach_impl vigra_configure
174 else
175 # required for docdir
176 _check_build_dir init
177 vigra_configure
178 fi
179 }
180
181 src_compile() {
182 local VIGRA_BUILD_DIR
183 vigra_compile() {
184 cmake-utils_src_compile
185 VIGRA_BUILD_DIR="${BUILD_DIR}"
186 }
187 if use python; then
188 python_foreach_impl vigra_compile
189 else
190 vigra_compile
191 fi
192
193 if use doc; then
194 einfo "Generating Documentation"
195 # use build dir from last compile command
196 BUILD_DIR="${VIGRA_BUILD_DIR}" cmake-utils_src_make doc
197 fi
198 }
199
200 src_install() {
201 if use python; then
202 python_foreach_impl cmake-utils_src_install
203 python_optimize
204 else
205 cmake-utils_src_install
206 fi
207 }
208
209 src_test() {
210 # perhaps disable tests (see #390447)
211 vigra_test() {
212 PYTHONPATH="${BUILD_DIR}/vigranumpy/vigra" cmake-utils_src_test
213 }
214 if use python; then
215 python_foreach_impl vigra_test
216 else
217 vigra_test
218 fi
219 }