Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libqalculate/
Date: Wed, 07 Feb 2018 00:54:57
Message-Id: 1517964862.7e5da8074cbce28ae6a7da1eefa43d6650c2e301.tamiko@gentoo
1 commit: 7e5da8074cbce28ae6a7da1eefa43d6650c2e301
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 7 00:39:29 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 7 00:54:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5da807
7
8 sci-libs/libqalculate: version bump to 2.2.0
9
10 Closes: https://bugs.gentoo.org/637022
11 Package-Manager: Portage-2.3.24, Repoman-2.3.6
12
13 sci-libs/libqalculate/Manifest | 1 +
14 sci-libs/libqalculate/libqalculate-2.2.0.ebuild | 61 +++++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16
17 diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest
18 index db446891936..32acb8c9cef 100644
19 --- a/sci-libs/libqalculate/Manifest
20 +++ b/sci-libs/libqalculate/Manifest
21 @@ -1,2 +1,3 @@
22 DIST libqalculate-0.9.7.tar.gz 1256271 BLAKE2B 47481d3288d04211dd060b87a723fd93fccb2bb34b3111a2f5ea4071db5cac59454d28e717638a1cb86fe51c86be6d6793f41d9c3446aad5a845a452e378cb22 SHA512 9aae8540481df4aa1cb24b1c6e8e9424e87758444f0b9689cd809bdf4230c4b5257c74363e6f084cea4e3be1935f45c53e7fc592f76d25d709ad88c97884bc42
23 DIST libqalculate-0.9.9.tar.gz 1509180 BLAKE2B 3f309add80ddb6b21730eab25d37c2d8fee163a79768a09ec5e7e5d329aa11ed9dafbf77f4ce194a96c2ac6a3b55a9c0d16755d5e106123cc2a5f931f6872d91 SHA512 c7692dcd91e0a7aea8184ca5366a3caf704b6e716c9e8552f4214ce7fc3157cf127daf7a063196383e4d5a99f8703486f2282c7fb01acafee5e1b3d8993de384
24 +DIST libqalculate-2.2.0.tar.gz 1717207 BLAKE2B 020ca544683ff140ab5f8256a5a955c895a6ea09a581e9e75ab6c0a0657886c352a1ec2d34400057fe80004481d3198998613113ca40fb4feebfca010445dced SHA512 e6f3693e4dba2beffca300b673657b90037a6b7acc5bbd4e659863f4f5aec148d6d385fc3c666b16b2be713d0a8ad1b4d7fda557cef0e2be340ca2435f62aae7
25
26 diff --git a/sci-libs/libqalculate/libqalculate-2.2.0.ebuild b/sci-libs/libqalculate/libqalculate-2.2.0.ebuild
27 new file mode 100644
28 index 00000000000..4b479906352
29 --- /dev/null
30 +++ b/sci-libs/libqalculate/libqalculate-2.2.0.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +DESCRIPTION="A modern multi-purpose calculator library"
38 +HOMEPAGE="https://qalculate.github.io/"
39 +SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0/7"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
44 +IUSE="gnuplot readline static-libs"
45 +
46 +COMMON_DEPEND="
47 + dev-libs/glib:2
48 + dev-libs/libxml2:2
49 + >=sci-libs/cln-1.2
50 + sys-libs/zlib
51 + readline? ( sys-libs/readline:0= )"
52 +DEPEND="${COMMON_DEPEND}
53 + dev-util/intltool
54 + sys-devel/gettext
55 + virtual/pkgconfig"
56 +RDEPEND="${COMMON_DEPEND}
57 + net-misc/wget
58 + gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
59 +
60 +src_prepare() {
61 + default
62 +
63 + cat >po/POTFILES.skip <<-EOF
64 + # Required by make check
65 + data/currencies.xml.in
66 + data/datasets.xml.in
67 + data/elements.xml.in
68 + data/functions.xml.in
69 + data/planets.xml.in
70 + data/units.xml.in
71 + data/variables.xml.in
72 + src/defs2doc.cc
73 + EOF
74 +}
75 +
76 +src_configure() {
77 + econf \
78 + $(use_enable static-libs static) \
79 + $(use_with readline)
80 +}
81 +
82 +src_install() {
83 + # docs/reference/Makefile.am -> referencedir=
84 + emake \
85 + DESTDIR="${D}" \
86 + referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
87 + install
88 +
89 + dodoc AUTHORS ChangeLog NEWS README* TODO
90 +
91 + find "${ED}" -name '*.la' -delete || die
92 +}