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:49
Message-Id: 1601253998.d65e9fc0f39654fc2ef5cc96e021a99edc2e6b95.epsilon-0@gentoo
1 commit: d65e9fc0f39654fc2ef5cc96e021a99edc2e6b95
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Mon Sep 28 00:46:38 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Mon Sep 28 00:46:38 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d65e9fc0
7
8 sci-libs/nexus: drop old version
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/metadata.xml | 17 +++++-------
14 sci-libs/nexus/nexus-4.4.1.ebuild | 56 ---------------------------------------
15 2 files changed, 7 insertions(+), 66 deletions(-)
16
17 diff --git a/sci-libs/nexus/metadata.xml b/sci-libs/nexus/metadata.xml
18 index ef8f9fd1a..f4859bfa6 100644
19 --- a/sci-libs/nexus/metadata.xml
20 +++ b/sci-libs/nexus/metadata.xml
21 @@ -2,26 +2,23 @@
22 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
23 <pkgmetadata>
24 <maintainer type="person">
25 - <email>c.kerr@××××××××××××.de</email>
26 - <name>Chris Kerr</name>
27 - <description>I occasionally submit patches to NeXus</description>
28 + <email>gentoo@×××××.cc</email>
29 + <name>Aisha Tammy</name>
30 </maintainer>
31 <maintainer type="project">
32 <email>sci@g.o</email>
33 <name>Gentoo Science Project</name>
34 </maintainer>
35 - <longdescription>Libraries and tools for the NeXus data format, developed
36 -collaboratively by scientists from major scientific facilities to facilitate
37 -analysis and visualisation of neutron, x-ray and muon data.
38 -NeXus is based on HDF5.</longdescription>
39 + <longdescription>
40 + Libraries and tools for the NeXus data format, developed
41 + collaboratively by scientists from major scientific facilities to facilitate
42 + analysis and visualisation of neutron, x-ray and muon data.
43 + NeXus is based on HDF5.</longdescription>
44 <use>
45 <flag name="xml">Allow using the verbose XML representation of NeXus data</flag>
46 <flag name="hdf4">Support the old HDF4 representation</flag>
47 <flag name="hdf5">Support the standard representation (HDF5)</flag>
48 - <flag name="doc">Generate library documentation with <pkg>app-doc/doxygen</pkg></flag>
49 - <flag name="fortran">Build the Fortran bindings</flag>
50 <flag name="java">Build the Java bindings</flag>
51 - <flag name="utils">Build optional utility applications</flag>
52 </use>
53 <upstream>
54 <remote-id type="github">nexusformat/code</remote-id>
55
56 diff --git a/sci-libs/nexus/nexus-4.4.1.ebuild b/sci-libs/nexus/nexus-4.4.1.ebuild
57 deleted file mode 100644
58 index 253a81115..000000000
59 --- a/sci-libs/nexus/nexus-4.4.1.ebuild
60 +++ /dev/null
61 @@ -1,56 +0,0 @@
62 -# Copyright 1999-2016 Gentoo Foundation
63 -# Distributed under the terms of the GNU General Public License v2
64 -
65 -EAPI=5
66 -
67 -FORTRAN_NEEDED=fortran
68 -FORTRAN_STANDARD="77 90"
69 -inherit cmake-utils fortran-2 java-pkg-opt-2
70 -
71 -DESCRIPTION="Data format for neutron and x-ray scattering data"
72 -HOMEPAGE="http://nexusformat.org/"
73 -SRC_URI="https://github.com/nexusformat/code/archive/v${PV}.tar.gz -> ${P}.tar.gz"
74 -
75 -LICENSE="LGPL-2.1"
76 -SLOT="0"
77 -KEYWORDS="~amd64"
78 -IUSE="doc cxx fortran -hdf4 +hdf5 java utils xml"
79 -
80 -REQUIRED_USE=" || ( hdf4 hdf5 xml ) "
81 -
82 -RDEPEND="
83 - xml? ( dev-libs/mxml )
84 - hdf4? ( sci-libs/hdf )
85 - hdf5? ( sci-libs/hdf5[zlib] )
86 - utils? ( sys-libs/readline:0 sys-libs/libtermcap-compat dev-libs/libxml2 )
87 -"
88 -
89 -DEPEND="${RDEPEND}
90 - doc? ( app-doc/doxygen dev-tex/xcolor )
91 -"
92 -
93 -S="${WORKDIR}/code-${PV}"
94 -
95 -pkg_setup() {
96 - # Handling of dependencies between Fortran module files doesn't play well with parallel make
97 - use fortran && export MAKEOPTS="${MAKEOPTS} -j1 "
98 - use fortran && fortran-2_pkg_setup
99 - java-pkg-opt-2_pkg_setup
100 -}
101 -
102 -src_configure() {
103 - # Linking between Fortran libraries gives a relocation error, using workaround suggested at:
104 - # http://www.gentoo.org/proj/en/base/amd64/howtos/?part=1&chap=3
105 - use fortran && append-fflags -fPIC
106 -
107 - cmake-utils_src_configure \
108 - $(cmake-utils_use_enable hdf4) \
109 - $(cmake-utils_use_enable hdf5) \
110 - $(cmake-utils_use_enable xml MXML) \
111 - $(cmake-utils_use_enable cxx) \
112 - $(cmake-utils_use_enable fortran FORTRAN90) \
113 - $(cmake-utils_use_enable fortran FORTRAN77) \
114 - $(cmake-utils_use_enable java) \
115 - $(cmake-utils_use_enable utils APPS) \
116 - $(cmake-utils_use_enable utils CONTRIB)
117 -}