Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/fityk/, profiles/
Date: Sun, 29 Nov 2020 15:11:06
Message-Id: 1606662643.d216c3cff2e2d6eea14b9f2f8061946fe575445f.marecki@gentoo
1 commit: d216c3cff2e2d6eea14b9f2f8061946fe575445f
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 14:24:02 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 15:10:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d216c3cf
7
8 sci-visualization/fityk: migrate to lua-single.eclass
9
10 Builds and tests fine against all three Lua versions upstream Autoconf
11 script accepts.
12
13 Closes: https://bugs.gentoo.org/752852
14 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
15
16 profiles/package.mask | 1 +
17 sci-visualization/fityk/fityk-1.3.1-r100.ebuild | 50 +++++++++++++++++++++++++
18 2 files changed, 51 insertions(+)
19
20 diff --git a/profiles/package.mask b/profiles/package.mask
21 index 2a997cd3adb..c5d108797df 100644
22 --- a/profiles/package.mask
23 +++ b/profiles/package.mask
24 @@ -559,6 +559,7 @@ dev-lua/luacrypto
25 >=net-im/swift-4.0.2-r100
26 >=net-p2p/eiskaltdcpp-2.2.10-r100
27 >=sci-visualization/gnuplot-5.4.0-r100
28 +>=sci-visualization/fityk-1.3.1-r100
29 >=www-apache/mod_security-2.9.3-r100
30 >=www-client/elinks-0.13.5-r100
31 >=www-servers/lighttpd-1.4.55-r100
32
33 diff --git a/sci-visualization/fityk/fityk-1.3.1-r100.ebuild b/sci-visualization/fityk/fityk-1.3.1-r100.ebuild
34 new file mode 100644
35 index 00000000000..fd3cd490339
36 --- /dev/null
37 +++ b/sci-visualization/fityk/fityk-1.3.1-r100.ebuild
38 @@ -0,0 +1,50 @@
39 +# Copyright 1999-2020 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=7
43 +
44 +LUA_COMPAT=( lua5-{1..3} )
45 +WX_GTK_VER=3.0
46 +
47 +inherit lua-single wxwidgets xdg
48 +
49 +DESCRIPTION="General-purpose nonlinear curve fitting and data analysis"
50 +HOMEPAGE="http://fityk.nieto.pl/"
51 +SRC_URI="https://github.com/wojdyr/${PN}/releases/download/v${PV}/${P}.tar.bz2"
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
56 +IUSE="gnuplot nlopt readline wxwidgets"
57 +
58 +REQUIRED_USE="${LUA_REQUIRED_USE}"
59 +
60 +DEPEND="
61 + ${LUA_DEPS}
62 + dev-libs/boost:=
63 + >=sci-libs/xylib-1
64 + nlopt? ( sci-libs/nlopt )
65 + readline? ( sys-libs/readline:0= )
66 + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )"
67 +RDEPEND="${DEPEND}
68 + gnuplot? ( sci-visualization/gnuplot )"
69 +BDEPEND="dev-lang/swig"
70 +
71 +src_configure() {
72 + use wxwidgets && setup-wxwidgets
73 +
74 + econf \
75 + --disable-python \
76 + --disable-static \
77 + $(use_enable nlopt) \
78 + $(use_enable wxwidgets GUI) \
79 + $(use_with readline) \
80 + --with-wx-config="${WX_CONFIG}"
81 +}
82 +
83 +src_install() {
84 + default
85 +
86 + # no static archives
87 + find "${ED}" -name '*.la' -delete || die
88 +}