Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/octave/
Date: Mon, 17 Jan 2022 17:28:43
Message-Id: 1642440272.207456b03f58406323fe450ddb780ae898b93173.mjo@gentoo
1 commit: 207456b03f58406323fe450ddb780ae898b93173
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 17 17:21:27 2022 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 17 17:24:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=207456b0
7
8 sci-mathematics/octave: remove old "unused" ebuilds.
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 sci-mathematics/octave/Manifest | 2 -
14 sci-mathematics/octave/octave-6.2.0.ebuild | 198 -----------------------------
15 sci-mathematics/octave/octave-6.3.0.ebuild | 194 ----------------------------
16 3 files changed, 394 deletions(-)
17
18 diff --git a/sci-mathematics/octave/Manifest b/sci-mathematics/octave/Manifest
19 index f38fe7346ca7..1b45de02c2e9 100644
20 --- a/sci-mathematics/octave/Manifest
21 +++ b/sci-mathematics/octave/Manifest
22 @@ -1,4 +1,2 @@
23 DIST octave-5.2.0.tar.gz 33360285 BLAKE2B 6d53a48a7fbe929e372fd51d084c0269befd3140341f3f3a1f2cae02f9f085ed434c3336c770c9a856081197c93ee306f481dd116b958685175bc294e4db62ae SHA512 fa2076fb22415e0797964c66cfb8d24643f178f45eb9c14ebb4c082767e0a53509fde550f579fa4a816348bd0f7cbc74f24144f9a30a5b9c09ebe1b3949db498
24 -DIST octave-6.2.0.tar.gz 32620419 BLAKE2B 55fd06336263b43f921ef30cac4fb82951a6be19aa60b6c24f24bcf3884923d824b6e4e6a8ad2983c394f541e556f7830922b34f8565bff3d07a7830c5df3cb0 SHA512 4039b68ffa77e599c63aa5748411603e86943be63ce96b6810547ba9776fe400939957fd8c40b2f212dfe244c76e58fdbbc4025179c9785b773da9bbb9fedaf2
25 -DIST octave-6.3.0.tar.gz 32859335 BLAKE2B 032f0e74b2fcd41358db1adc7f7274f6c8e327f5f86a32739864078bf236af26544f5988e774ebdd2ed28a6906e86556ce44ecd4bc5d3e710d839ecf5dcad9d9 SHA512 9582d7a7d84beef2a22d3dfaf45aee4778fc0dfc0ec1831c5bcb863dd0062e996e5b7aaaa40519c23d2c730c3408e26745b9dbf73db5127ebae22da0b2532788
26 DIST octave-6.4.0.tar.gz 32873157 BLAKE2B afa729c3c9917f724e7d97fe3af42986f323d3ff849e0a33ac9f183237e68d989d4f3dacd644405b648ec050ad07d8973abddbd8657b810de6f65d5b5ae37c02 SHA512 91ff031f6dfff8506fa738fd4f1f07276501fdfe003f8ed992cccf91da14d9d33da6d08923322b0dae5f5b696b49856b0f5c5065e26b0701b0d1630173807435
27
28 diff --git a/sci-mathematics/octave/octave-6.2.0.ebuild b/sci-mathematics/octave/octave-6.2.0.ebuild
29 deleted file mode 100644
30 index f38aa0631f6a..000000000000
31 --- a/sci-mathematics/octave/octave-6.2.0.ebuild
32 +++ /dev/null
33 @@ -1,198 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit autotools flag-o-matic fortran-2 gnome2-utils java-pkg-opt-2 pax-utils toolchain-funcs xdg-utils
40 -
41 -DESCRIPTION="High-level interactive language for numerical computations"
42 -LICENSE="GPL-3"
43 -HOMEPAGE="https://www.gnu.org/software/octave/"
44 -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
45 -
46 -SLOT="0/${PV}"
47 -IUSE="curl doc fftw +glpk gnuplot gui hdf5 java opengl
48 - portaudio postscript +qhull +qrupdate readline sndfile +sparse
49 - ssl static-libs sundials X zlib"
50 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
51 -
52 -# Although it is listed in INSTALL.OCTAVE as a build tool, Octave runs
53 -# "makeinfo" from sys-apps/texinfo at runtime to convert its texinfo
54 -# documentation to text (see scripts/help/help.m).
55 -RDEPEND="
56 - app-arch/bzip2
57 - app-text/ghostscript-gpl
58 - sys-apps/texinfo
59 - dev-libs/libpcre:3=
60 - sys-libs/ncurses:0=
61 - sys-libs/zlib
62 - virtual/blas
63 - virtual/lapack
64 - curl? ( net-misc/curl:0= )
65 - fftw? ( sci-libs/fftw:3.0= )
66 - glpk? ( sci-mathematics/glpk:0= )
67 - gnuplot? ( sci-visualization/gnuplot )
68 - gui? (
69 - dev-qt/qtcore:5
70 - dev-qt/qtgui:5
71 - dev-qt/qthelp:5
72 - dev-qt/qtnetwork:5
73 - dev-qt/qtopengl:5
74 - dev-qt/qtprintsupport:5
75 - dev-qt/qtwidgets:5
76 - x11-libs/qscintilla:=
77 - )
78 - hdf5? ( sci-libs/hdf5:0= )
79 - java? ( >=virtual/jre-1.6.0:* )
80 - opengl? (
81 - media-libs/freetype:2=
82 - media-libs/fontconfig:1.0=
83 - virtual/glu
84 - >=x11-libs/fltk-1.3:1=[opengl,xft]
85 - x11-libs/gl2ps:0=
86 - )
87 - portaudio? ( media-libs/portaudio )
88 - postscript? (
89 - app-text/epstool
90 - media-gfx/pstoedit
91 - media-gfx/transfig
92 - )
93 - qhull? ( media-libs/qhull:0= )
94 - qrupdate? ( sci-libs/qrupdate:0= )
95 - readline? ( sys-libs/readline:0= )
96 - sndfile? ( media-libs/libsndfile )
97 - sparse? (
98 - sci-libs/arpack:0=
99 - sci-libs/camd:0=
100 - sci-libs/ccolamd:0=
101 - sci-libs/cholmod:0=
102 - sci-libs/colamd:0=
103 - sci-libs/cxsparse:0=
104 - sci-libs/umfpack:0=
105 - )
106 - ssl? (
107 - dev-libs/openssl:0=
108 - )
109 - sundials? ( >=sci-libs/sundials-4:0= )
110 - X? ( x11-libs/libX11:0= )"
111 -DEPEND="${RDEPEND}
112 - dev-util/gperf
113 - virtual/pkgconfig
114 - doc? (
115 - dev-texlive/texlive-fontsrecommended
116 - dev-texlive/texlive-plaingeneric
117 - dev-texlive/texlive-metapost
118 - virtual/latex-base
119 - )
120 - gui? ( dev-qt/linguist-tools:5 )
121 - java? ( >=virtual/jdk-1.6.0 )
122 - qrupdate? ( app-misc/pax-utils )
123 - sparse? ( app-misc/pax-utils )"
124 -
125 -# I'm not sure what the getcwd patch is intended to fix. That macro is
126 -# part of gnulib, though, so if it's a serious problem then we should
127 -# consult upstream about it.
128 -PATCHES=(
129 - "${FILESDIR}"/${PN}-4.2.0-disable-getcwd-path-max-test-as-it-is-too-slow.patch
130 - "${FILESDIR}"/${PN}-5.1.0-pkgbuilddir.patch
131 - "${FILESDIR}"/${PN}-4.2.2-ncurses-pkgconfig.patch
132 -)
133 -
134 -src_prepare() {
135 - # nasty prefix hacks for fltk:1 linking
136 - if use prefix; then
137 - use opengl && append-ldflags -Wl,-rpath,"${EPREFIX}/usr/$(get_libdir)/fltk-1"
138 - fi
139 -
140 - # occasional fail on install, force regeneration (bug #401189)
141 - rm doc/interpreter/contributors.texi || die
142 -
143 - default
144 - eautoreconf
145 -}
146 -
147 -src_configure() {
148 - # unfortunate dependency on mpi from hdf5 (bug #302621)
149 - use hdf5 && has_version sci-libs/hdf5[mpi] && \
150 - export CXX=mpicxx CC=mpicc FC=mpif77 F77=mpif77
151 -
152 - # Some of these use_with flags are a bit mismatched. The configure
153 - # script offers only --without-foo, and detects "foo" automatically
154 - # unless --without-foo is specified. Passing --with-foo is not an
155 - # error, however, so it kind of works. We wind up with, for example,
156 - #
157 - # --with-sundials_ida (no-op) with USE="sundials"
158 - # --without-sundials_ida (disables it) with USE="-sundials"
159 - #
160 - econf \
161 - --localstatedir="${EPREFIX}/var/state/octave" \
162 - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
163 - --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \
164 - --disable-64 \
165 - --disable-jit \
166 - --enable-shared \
167 - --with-z \
168 - --with-bz2 \
169 - $(use_enable static-libs static) \
170 - $(use_enable doc docs) \
171 - $(use_enable java) \
172 - $(use_enable readline) \
173 - $(use_with curl) \
174 - $(use_with fftw fftw3) \
175 - $(use_with fftw fftw3f) \
176 - $(use_enable fftw fftw-threads) \
177 - $(use_with glpk) \
178 - $(use_with hdf5) \
179 - $(use_with opengl) \
180 - $(use_with opengl fltk) \
181 - $(use_with ssl openssl) \
182 - $(use_with portaudio) \
183 - $(use_with qhull) \
184 - $(use_with qrupdate) \
185 - $(use_with gui qt 5) \
186 - $(use_with sndfile) \
187 - $(use_with sparse arpack) \
188 - $(use_with sparse umfpack) \
189 - $(use_with sparse colamd) \
190 - $(use_with sparse ccolamd) \
191 - $(use_with sparse cholmod) \
192 - $(use_with sparse cxsparse) \
193 - $(use_with sundials sundials_ida) \
194 - $(use_with X x)
195 -}
196 -
197 -src_compile() {
198 - export VARTEXFONTS="${T}/fonts" # otherwise it will write to /var/cache/fonts/ and trip sandbox
199 - default
200 - if use java; then
201 - pax-mark m "${S}/src/.libs/octave-cli"
202 - fi
203 -}
204 -
205 -src_install() {
206 - default
207 - if use doc; then
208 - dodoc $(find doc -name '*.pdf')
209 - else
210 - # bug 566134, macros.texi is installed by make install if use doc
211 - insinto /usr/share/${PN}/${PV}/etc
212 - doins doc/interpreter/macros.texi
213 - fi
214 - [[ -e test/fntests.log ]] && dodoc test/fntests.log
215 - use java && \
216 - java-pkg_regjar "${ED%/}/usr/share/${PN}/${PV}/m/java/octave.jar"
217 - echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}/${PV}" > 99octave || die
218 - doenvd 99octave
219 -}
220 -
221 -pkg_postinst() {
222 - gnome2_icon_cache_update
223 - xdg_mimeinfo_database_update
224 - xdg_desktop_database_update
225 -}
226 -
227 -pkg_postrm() {
228 - gnome2_icon_cache_update
229 - xdg_mimeinfo_database_update
230 - xdg_desktop_database_update
231 -}
232
233 diff --git a/sci-mathematics/octave/octave-6.3.0.ebuild b/sci-mathematics/octave/octave-6.3.0.ebuild
234 deleted file mode 100644
235 index 5c1ff358633d..000000000000
236 --- a/sci-mathematics/octave/octave-6.3.0.ebuild
237 +++ /dev/null
238 @@ -1,194 +0,0 @@
239 -# Copyright 1999-2021 Gentoo Authors
240 -# Distributed under the terms of the GNU General Public License v2
241 -
242 -EAPI=6
243 -
244 -inherit autotools flag-o-matic fortran-2 gnome2-utils java-pkg-opt-2 pax-utils toolchain-funcs xdg-utils
245 -
246 -DESCRIPTION="High-level interactive language for numerical computations"
247 -LICENSE="GPL-3"
248 -HOMEPAGE="https://www.gnu.org/software/octave/"
249 -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
250 -
251 -SLOT="0/${PV}"
252 -IUSE="curl doc fftw +glpk gnuplot gui hdf5 java opengl
253 - portaudio postscript +qhull +qrupdate readline sndfile +sparse
254 - ssl static-libs sundials X zlib"
255 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
256 -
257 -# Although it is listed in INSTALL.OCTAVE as a build tool, Octave runs
258 -# "makeinfo" from sys-apps/texinfo at runtime to convert its texinfo
259 -# documentation to text (see scripts/help/help.m).
260 -RDEPEND="
261 - app-arch/bzip2
262 - app-text/ghostscript-gpl
263 - sys-apps/texinfo
264 - dev-libs/libpcre:3=
265 - sys-libs/ncurses:0=
266 - sys-libs/zlib
267 - virtual/blas
268 - virtual/lapack
269 - curl? ( net-misc/curl:0= )
270 - fftw? ( sci-libs/fftw:3.0= )
271 - glpk? ( sci-mathematics/glpk:0= )
272 - gnuplot? ( sci-visualization/gnuplot )
273 - gui? (
274 - dev-qt/qtcore:5
275 - dev-qt/qtgui:5
276 - dev-qt/qthelp:5
277 - dev-qt/qtnetwork:5
278 - dev-qt/qtopengl:5
279 - dev-qt/qtprintsupport:5
280 - dev-qt/qtwidgets:5
281 - x11-libs/qscintilla:=
282 - )
283 - hdf5? ( sci-libs/hdf5:0= )
284 - java? ( >=virtual/jre-1.6.0:* )
285 - opengl? (
286 - media-libs/freetype:2=
287 - media-libs/fontconfig:1.0=
288 - virtual/glu
289 - >=x11-libs/fltk-1.3:1=[opengl,xft]
290 - x11-libs/gl2ps:0=
291 - )
292 - portaudio? ( media-libs/portaudio )
293 - postscript? (
294 - app-text/epstool
295 - media-gfx/pstoedit
296 - media-gfx/transfig
297 - )
298 - qhull? ( media-libs/qhull:0= )
299 - qrupdate? ( sci-libs/qrupdate:0= )
300 - readline? ( sys-libs/readline:0= )
301 - sndfile? ( media-libs/libsndfile )
302 - sparse? (
303 - sci-libs/arpack:0=
304 - sci-libs/camd:0=
305 - sci-libs/ccolamd:0=
306 - sci-libs/cholmod:0=
307 - sci-libs/colamd:0=
308 - sci-libs/cxsparse:0=
309 - sci-libs/umfpack:0=
310 - )
311 - ssl? (
312 - dev-libs/openssl:0=
313 - )
314 - sundials? ( >=sci-libs/sundials-4:0= )
315 - X? ( x11-libs/libX11:0= )"
316 -DEPEND="${RDEPEND}
317 - dev-util/gperf
318 - virtual/pkgconfig
319 - doc? (
320 - dev-texlive/texlive-fontsrecommended
321 - dev-texlive/texlive-plaingeneric
322 - dev-texlive/texlive-metapost
323 - virtual/latex-base
324 - )
325 - gui? ( dev-qt/linguist-tools:5 )
326 - java? ( >=virtual/jdk-1.6.0 )
327 - qrupdate? ( app-misc/pax-utils )
328 - sparse? ( app-misc/pax-utils )"
329 -
330 -PATCHES=(
331 - "${FILESDIR}"/${PN}-5.1.0-pkgbuilddir.patch
332 - "${FILESDIR}"/${PN}-4.2.2-ncurses-pkgconfig.patch
333 -)
334 -
335 -src_prepare() {
336 - # nasty prefix hacks for fltk:1 linking
337 - if use prefix; then
338 - use opengl && append-ldflags -Wl,-rpath,"${EPREFIX}/usr/$(get_libdir)/fltk-1"
339 - fi
340 -
341 - # occasional fail on install, force regeneration (bug #401189)
342 - rm doc/interpreter/contributors.texi || die
343 -
344 - default
345 - eautoreconf
346 -}
347 -
348 -src_configure() {
349 - # unfortunate dependency on mpi from hdf5 (bug #302621)
350 - use hdf5 && has_version sci-libs/hdf5[mpi] && \
351 - export CXX=mpicxx CC=mpicc FC=mpif77 F77=mpif77
352 -
353 - # Some of these use_with flags are a bit mismatched. The configure
354 - # script offers only --without-foo, and detects "foo" automatically
355 - # unless --without-foo is specified. Passing --with-foo is not an
356 - # error, however, so it kind of works. We wind up with, for example,
357 - #
358 - # --with-sundials_ida (no-op) with USE="sundials"
359 - # --without-sundials_ida (disables it) with USE="-sundials"
360 - #
361 - econf \
362 - --localstatedir="${EPREFIX}/var/state/octave" \
363 - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
364 - --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \
365 - --disable-64 \
366 - --disable-jit \
367 - --enable-shared \
368 - --with-z \
369 - --with-bz2 \
370 - $(use_enable static-libs static) \
371 - $(use_enable doc docs) \
372 - $(use_enable java) \
373 - $(use_enable readline) \
374 - $(use_with curl) \
375 - $(use_with fftw fftw3) \
376 - $(use_with fftw fftw3f) \
377 - $(use_enable fftw fftw-threads) \
378 - $(use_with glpk) \
379 - $(use_with hdf5) \
380 - $(use_with opengl) \
381 - $(use_with opengl fltk) \
382 - $(use_with ssl openssl) \
383 - $(use_with portaudio) \
384 - $(use_with qhull) \
385 - $(use_with qrupdate) \
386 - $(use_with gui qt 5) \
387 - $(use_with sndfile) \
388 - $(use_with sparse arpack) \
389 - $(use_with sparse umfpack) \
390 - $(use_with sparse colamd) \
391 - $(use_with sparse ccolamd) \
392 - $(use_with sparse cholmod) \
393 - $(use_with sparse cxsparse) \
394 - $(use_with sundials sundials_ida) \
395 - $(use_with X x)
396 -}
397 -
398 -src_compile() {
399 - export VARTEXFONTS="${T}/fonts" # otherwise it will write to /var/cache/fonts/ and trip sandbox
400 - default
401 - if use java; then
402 - pax-mark m "${S}/src/.libs/octave-cli"
403 - fi
404 -}
405 -
406 -src_install() {
407 - default
408 - if use doc; then
409 - dodoc $(find doc -name '*.pdf')
410 - else
411 - # bug 566134, macros.texi is installed by make install if use doc
412 - insinto /usr/share/${PN}/${PV}/etc
413 - doins doc/interpreter/macros.texi
414 - fi
415 - [[ -e test/fntests.log ]] && dodoc test/fntests.log
416 - use java && \
417 - java-pkg_regjar "${ED%/}/usr/share/${PN}/${PV}/m/java/octave.jar"
418 - echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}/${PV}" > 99octave || die
419 - doenvd 99octave
420 -}
421 -
422 -pkg_postinst() {
423 - gnome2_icon_cache_update
424 - xdg_mimeinfo_database_update
425 - xdg_desktop_database_update
426 -}
427 -
428 -pkg_postrm() {
429 - gnome2_icon_cache_update
430 - xdg_mimeinfo_database_update
431 - xdg_desktop_database_update
432 -}