Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/labplot/
Date: Sun, 05 Sep 2021 09:06:16
Message-Id: 1630832763.02e0204b0f0ca608b56f4d5cdae06667405a116f.asturm@gentoo
1 commit: 02e0204b0f0ca608b56f4d5cdae06667405a116f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 5 07:30:18 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 5 09:06:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02e0204b
7
8 sci-visualization/labplot: EAPI-8 bump, add IUSE=markdown,matio,origin
9
10 Upstream commits:
11 25bad33ab8cf30343fad9143412e8b238cb1bf32
12 06cefc9dc23a8f8896b9741ffc7704b9e2c2445b
13 c9a155efaded430915d9770a72849a601d9f6a08
14
15 Update HOMEPAGE
16
17 Package-Manager: Portage-3.0.22, Repoman-3.0.3
18 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
19
20 sci-visualization/labplot/labplot-9999.ebuild | 20 +++++++++++++-------
21 sci-visualization/labplot/metadata.xml | 3 +++
22 2 files changed, 16 insertions(+), 7 deletions(-)
23
24 diff --git a/sci-visualization/labplot/labplot-9999.ebuild b/sci-visualization/labplot/labplot-9999.ebuild
25 index 03cc30d425b..6f96d8bbb4d 100644
26 --- a/sci-visualization/labplot/labplot-9999.ebuild
27 +++ b/sci-visualization/labplot/labplot-9999.ebuild
28 @@ -11,7 +11,7 @@ VIRTUALX_REQUIRED="test"
29 inherit ecm kde.org
30
31 DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
32 -HOMEPAGE="https://labplot.kde.org/ https://apps.kde.org/en/labplot2"
33 +HOMEPAGE="https://labplot.kde.org/ https://apps.kde.org/labplot2/"
34 if [[ ${KDE_BUILD_TYPE} = release ]]; then
35 SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
36 KEYWORDS="~amd64 ~x86"
37 @@ -19,13 +19,8 @@ fi
38
39 LICENSE="GPL-2"
40 SLOT="5"
41 -IUSE="cantor fftw fits hdf5 libcerf netcdf root serial telemetry"
42 +IUSE="cantor fftw fits hdf5 libcerf markdown matio netcdf origin root serial telemetry"
43
44 -# not packaged: dev-qt/qtmqtt, bug 683994
45 -BDEPEND="
46 - sys-devel/bison
47 - sys-devel/gettext
48 -"
49 DEPEND="
50 >=dev-qt/qtconcurrent-${QTMIN}:5
51 >=dev-qt/qtgui-${QTMIN}:5
52 @@ -58,7 +53,10 @@ DEPEND="
53 fits? ( sci-libs/cfitsio:= )
54 hdf5? ( sci-libs/hdf5:= )
55 libcerf? ( sci-libs/libcerf )
56 + markdown? ( app-text/discount )
57 + matio? ( sci-libs/matio:= )
58 netcdf? ( sci-libs/netcdf:= )
59 + origin? ( sci-libs/liborigin:2 )
60 root? (
61 app-arch/lz4
62 sys-libs/zlib
63 @@ -67,6 +65,11 @@ DEPEND="
64 telemetry? ( dev-libs/kuserfeedback:5 )
65 "
66 RDEPEND="${DEPEND}"
67 +# not packaged: dev-qt/qtmqtt, bug 683994
68 +BDEPEND="
69 + sys-devel/bison
70 + sys-devel/gettext
71 +"
72
73 src_configure() {
74 local mycmakeargs=(
75 @@ -77,7 +80,10 @@ src_configure() {
76 -DENABLE_FITS=$(usex fits)
77 -DENABLE_HDF5=$(usex hdf5)
78 -DENABLE_LIBCERF=$(usex libcerf)
79 + -DENABLE_DISCOUNT=$(usex markdown)
80 + -DENABLE_MATIO=$(usex matio)
81 -DENABLE_NETCDF=$(usex netcdf)
82 + -DENABLE_LIBORIGIN=$(usex origin)
83 -DENABLE_ROOT=$(usex root)
84 -DENABLE_QTSERIALPORT=$(usex serial)
85 $(cmake_use_find_package telemetry KUserFeedback)
86
87 diff --git a/sci-visualization/labplot/metadata.xml b/sci-visualization/labplot/metadata.xml
88 index 44b4cb39dc3..1625558de1e 100644
89 --- a/sci-visualization/labplot/metadata.xml
90 +++ b/sci-visualization/labplot/metadata.xml
91 @@ -20,6 +20,9 @@
92 <flag name="cantor">Enable support for different open-source computer algebra systems via <pkg>kde-apps/cantor</pkg></flag>
93 <flag name="fits">Enable support for NASA's <pkg>sci-libs/cfitsio</pkg> library</flag>
94 <flag name="libcerf">Enable special functions from <pkg>sci-libs/libcerf</pkg></flag>
95 + <flag name="markdown">Enable Markdown support via <pkg>app-text/discount</pkg></flag>
96 + <flag name="matio">Enable support for matio (<pkg>sci-libs/matio</pkg>)</flag>
97 + <flag name="origin">Enable support for reading OriginLab OPJ project files through <pkg>sci-libs/liborigin</pkg></flag>
98 <flag name="root">Enable support for CERN's ROOT file type</flag>
99 <flag name="serial">Enable support for RS232 serial ports using <pkg>dev-qt/qtserialport</pkg></flag>
100 </use>