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