Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/matio/
Date: Wed, 03 Jul 2019 22:00:42
Message-Id: 1562191174.541520a33341a2578264f3c8d3a9789341939a46.radhermit@gentoo
1 commit: 541520a33341a2578264f3c8d3a9789341939a46
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 3 20:19:30 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 3 21:59:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541520a3
7
8 sci-libs/matio: version bump to 1.5.16
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 sci-libs/matio/Manifest | 1 +
13 sci-libs/matio/matio-1.5.16.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/sci-libs/matio/Manifest b/sci-libs/matio/Manifest
17 index 45a48713a1e..7777e4029b6 100644
18 --- a/sci-libs/matio/Manifest
19 +++ b/sci-libs/matio/Manifest
20 @@ -1,4 +1,5 @@
21 DIST matio-1.5.1.tar.gz 8160893 BLAKE2B 50b1d5204fb4717fedb341f0a69a53a770bb4c6d46c7721b9c455745716b1b3d3142155c26adb7d019ede5703ac5fac7196c2ca15ddc22fdb93c1b1172dcc10a SHA512 bd1e49bcbfe3e073d2339bc3dff803b222c007aad19759ee9b666438fa59ec2b2750b52ffb3b5e911145cf2977538447f5db977fc056a624c5878ddbcf564b26
22 DIST matio-1.5.10.tar.gz 8630185 BLAKE2B 8bb5040c3863ca7eea3069d0ee71d79c588e19a1fde253f7305534a2239dfecae1d877082454b475c1d4d1a3a60f81710002cd14ed5def3c23b4d0aa8dc8531c SHA512 93c40d344fd8282e64cae6104bc6a485cd4ce65c948333c95127cfd54e57166c5e24d7a8d36a50dd896f11615a0274ddd303d8fdb4d3e41b34d4eacb7fc866af
23 DIST matio-1.5.13.tar.gz 10037903 BLAKE2B 8817fa3a1c050a84951c706922b32c5ed082ec057a35cb7fa20cc4d977316208a61604fcb6c0e09c96f592294a65d57a8a95844d15821987bdd337564345e778 SHA512 2db430dd47b8ceed850aaadf36c0fd3b405ba32db3eb2d5be320d007754983e2538ab99338d3ae8d69e8a531818c3bde0807c1f4a505eff7dd25d4a77934b737
24 +DIST matio-1.5.16.tar.gz 10050153 BLAKE2B de643c11371a931853c2d60347431a1fc3c46f80d5e3083376e634999ea9d10bb1f5f547ed9844654dcb8ff6ff9492d037b26f693cbced04228a6c5d603c0a86 SHA512 38039ddc897b9e44677af08d996dde960355b6d8c5598000fbb23dda5501361d1c2a9e82f0f3e6c1309f0784943976259e5d39d1030f00db323e1756e5bd144a
25 DIST matio-1.5.2.tar.gz 8179926 BLAKE2B 6ac78b09a6874a505984fd75f5a4fd7223c0947d32588a8ca426117b945fbfb550d419b552b9a1d6c88b40d96c99d6c35b7ede780a29afe5f4485dec76f1df0d SHA512 47ee7457db3f2138ecb1db9d7a04bf91d8277024631694e5f5a49b77829d60ce9dd95a1db33cd8eeaa8271e942acf60b522f40e4d7f4cae90f0a7caee7eb6efc
26
27 diff --git a/sci-libs/matio/matio-1.5.16.ebuild b/sci-libs/matio/matio-1.5.16.ebuild
28 new file mode 100644
29 index 00000000000..d9f308de950
30 --- /dev/null
31 +++ b/sci-libs/matio/matio-1.5.16.ebuild
32 @@ -0,0 +1,46 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +DESCRIPTION="Library for reading and writing matlab files"
39 +HOMEPAGE="https://sourceforge.net/projects/matio/"
40 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
41 +
42 +SLOT="0/4" # subslot = soname version
43 +LICENSE="BSD-2"
44 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
45 +IUSE="doc examples hdf5 sparse static-libs"
46 +
47 +RDEPEND="
48 + sys-libs/zlib
49 + hdf5? ( sci-libs/hdf5 )"
50 +DEPEND="${RDEPEND}
51 + sys-devel/libtool
52 + doc? ( virtual/latex-base )"
53 +
54 +src_configure() {
55 + econf \
56 + $(use_enable hdf5 mat73) \
57 + $(use_enable sparse extended-sparse) \
58 + $(use_enable static-libs static)
59 +}
60 +
61 +src_compile() {
62 + default
63 + use doc && emake -C documentation pdf
64 +}
65 +
66 +src_install() {
67 + default
68 +
69 + use doc && dodoc documentation/matio_user_guide.pdf
70 + if use examples; then
71 + docinto examples
72 + dodoc test/test*
73 + insinto /usr/share/${PN}
74 + doins share/test*
75 + fi
76 +
77 + find "${D}" -name "*.la" -delete || die
78 +}