Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nexus/
Date: Mon, 28 Sep 2020 00:46:50
Message-Id: 1601253851.06351d3139be034f67c6446819b8298fcd5e9bf1.epsilon-0@gentoo
1 commit: 06351d3139be034f67c6446819b8298fcd5e9bf1
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Mon Sep 28 00:43:02 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Mon Sep 28 00:44:11 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=06351d31
7
8 sci-libs/nexus: version bump
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 sci-libs/nexus/nexus-4.4.3_p20200126.ebuild | 58 +++++++++++++++++++++++++++++
14 1 file changed, 58 insertions(+)
15
16 diff --git a/sci-libs/nexus/nexus-4.4.3_p20200126.ebuild b/sci-libs/nexus/nexus-4.4.3_p20200126.ebuild
17 new file mode 100644
18 index 000000000..b19a65fbe
19 --- /dev/null
20 +++ b/sci-libs/nexus/nexus-4.4.3_p20200126.ebuild
21 @@ -0,0 +1,58 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit cmake java-pkg-opt-2
28 +
29 +DESCRIPTION="Data format for neutron and x-ray scattering data"
30 +HOMEPAGE="http://nexusformat.org/"
31 +COMMIT=5b803b3a0014bd9759b3d846da3cd3c1cfafd7d5
32 +SRC_URI="https://github.com/nexusformat/code/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
33 +
34 +S="${WORKDIR}"/code-${COMMIT}
35 +
36 +LICENSE="LGPL-2.1"
37 +SLOT="0"
38 +KEYWORDS="~amd64"
39 +IUSE="cxx hdf4 +hdf5 java xml"
40 +
41 +REQUIRED_USE=" || ( hdf4 hdf5 xml ) "
42 +
43 +RDEPEND="
44 + dev-libs/libxml2
45 + sys-libs/readline
46 + sys-libs/libtermcap-compat
47 + xml? ( dev-libs/mxml )
48 + hdf4? ( sci-libs/hdf )
49 + hdf5? ( sci-libs/hdf5[zlib] )
50 +"
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="
53 + app-doc/doxygen[dot]
54 +"
55 +
56 +pkg_setup() {
57 + java-pkg-opt-2_pkg_setup
58 +}
59 +
60 +src_prepare() {
61 + java-pkg-opt-2_src_prepare
62 + cmake_src_prepare
63 +}
64 +
65 +src_configure() {
66 + # no fortran, doesn't compile
67 + local mycmakeargs=(
68 + -DENABLE_APPS=ON
69 + -DENABLE_CONTRIB=ON
70 + -DENABLE_HDF4=$(usex hdf4)
71 + -DENABLE_HDF5=$(usex hdf5)
72 + -DENABLE_MXML=$(usex xml)
73 + -DENABLE_CXX=$(usex cxx)
74 + -DENABLE_FORTRAN90=NO
75 + -DENABLE_FORTRAN77=NO
76 + -DENABLE_JAVA=$(usex java)
77 + )
78 + cmake_src_configure
79 +}