Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libqalculate/
Date: Mon, 28 Dec 2020 15:50:18
Message-Id: 1609170597.423ae376a2ef83bb60f749cc31ad2b4627ddc6b2.soap@gentoo
1 commit: 423ae376a2ef83bb60f749cc31ad2b4627ddc6b2
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon Dec 28 15:49:57 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 15:49:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423ae376
7
8 sci-libs/libqalculate: Bump to 3.15.0
9
10 Bug: https://bugs.gentoo.org/717622
11 Closes: https://bugs.gentoo.org/754366
12 Closes: https://bugs.gentoo.org/689194
13
14 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
15 Signed-off-by: David Seifert <soap <AT> gentoo.org>
16
17 sci-libs/libqalculate/Manifest | 1 +
18 sci-libs/libqalculate/libqalculate-3.15.0.ebuild | 66 ++++++++++++++++++++++++
19 2 files changed, 67 insertions(+)
20
21 diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest
22 index 969f811ebeb..3ee54c18755 100644
23 --- a/sci-libs/libqalculate/Manifest
24 +++ b/sci-libs/libqalculate/Manifest
25 @@ -1,4 +1,5 @@
26 DIST libqalculate-0.9.9.tar.gz 1509180 BLAKE2B 3f309add80ddb6b21730eab25d37c2d8fee163a79768a09ec5e7e5d329aa11ed9dafbf77f4ce194a96c2ac6a3b55a9c0d16755d5e106123cc2a5f931f6872d91 SHA512 c7692dcd91e0a7aea8184ca5366a3caf704b6e716c9e8552f4214ce7fc3157cf127daf7a063196383e4d5a99f8703486f2282c7fb01acafee5e1b3d8993de384
27 DIST libqalculate-2.2.0.tar.gz 1717207 BLAKE2B 020ca544683ff140ab5f8256a5a955c895a6ea09a581e9e75ab6c0a0657886c352a1ec2d34400057fe80004481d3198998613113ca40fb4feebfca010445dced SHA512 e6f3693e4dba2beffca300b673657b90037a6b7acc5bbd4e659863f4f5aec148d6d385fc3c666b16b2be713d0a8ad1b4d7fda557cef0e2be340ca2435f62aae7
28 DIST libqalculate-2.8.1.tar.gz 1961535 BLAKE2B 074d83a44cbc6cb5d8afe5121e4c34cec46f2f6fecf046f6b4e67c6ebc612030ccbd0f42c303cc675267374502ecb3e831c9bbfca0f13d339e31fb8933a99b7a SHA512 a258bf4f67db70263626ac77822afc75fd7a9e5af2feb1930314daff219865b28c43e82fef6ceae4f3f23957447d6eaebdc709e606d28457bca0f47eefb9274a
29 +DIST libqalculate-3.15.0.tar.gz 1747863 BLAKE2B eed4cf8f11546b80e9556cfdf09e48d8c4c29948e6bdc02b3f9efd9aa6dce8e6c5eecf440bf4b6243ddcdb59cb7176f1eb054a3ef73cc91444d86ed7645f3a37 SHA512 b8f2af83218a3f90326cb7f679b71cac328cf0591178ed718920cd491d682cf7341c702934b3a232bea5a67ec2d2e09b4321a7ac938c5bc1e221bee086ae4c36
30 DIST libqalculate-3.2.0.tar.gz 2035352 BLAKE2B 4ad9f1acaaa34693e3167514d16193b06af5a2d441946e636439cd9374c0061e0f20e72126a2cb020fed2e7c82e7144636a7eb545196bd6879af5a09320c3245 SHA512 6d0e1bbc1c9e4436208cd0ea855cc1d90b8a6d0525cd25bc9414db6e610e1e48aa84a9b552248926bd3c6f91db4997afb60658a5579502bac7194178e36fb857
31
32 diff --git a/sci-libs/libqalculate/libqalculate-3.15.0.ebuild b/sci-libs/libqalculate/libqalculate-3.15.0.ebuild
33 new file mode 100644
34 index 00000000000..52575b8238b
35 --- /dev/null
36 +++ b/sci-libs/libqalculate/libqalculate-3.15.0.ebuild
37 @@ -0,0 +1,66 @@
38 +# Copyright 1999-2019 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +
43 +DESCRIPTION="A modern multi-purpose calculator library"
44 +HOMEPAGE="https://qalculate.github.io/"
45 +SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0/22"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
50 +IUSE="curl icu gnuplot readline"
51 +
52 +DEPEND="
53 + dev-libs/gmp:0=
54 + dev-libs/libxml2:2
55 + dev-libs/mpfr:0=
56 + virtual/libiconv
57 + curl? ( net-misc/curl )
58 + icu? ( dev-libs/icu:= )
59 + readline? ( sys-libs/readline:0= )"
60 +RDEPEND="${DEPEND}
61 + gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
62 +BDEPEND="
63 + dev-util/intltool
64 + sys-devel/gettext
65 + virtual/pkgconfig"
66 +
67 +src_prepare() {
68 + default
69 +
70 + cat >po/POTFILES.skip <<-EOF
71 + # Required by make check
72 + data/currencies.xml.in
73 + data/datasets.xml.in
74 + data/elements.xml.in
75 + data/functions.xml.in
76 + data/planets.xml.in
77 + data/prefixes.xml.in
78 + data/units.xml.in
79 + data/variables.xml.in
80 + src/defs2doc.cc
81 + EOF
82 +}
83 +
84 +src_configure() {
85 + econf \
86 + --disable-static \
87 + $(use_with curl libcurl) \
88 + $(use_with gnuplot gnuplot-call) \
89 + $(use_with icu) \
90 + $(use_with readline)
91 +}
92 +
93 +src_install() {
94 + # docs/reference/Makefile.am -> referencedir=
95 + emake \
96 + DESTDIR="${D}" \
97 + referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
98 + install
99 +
100 + dodoc AUTHORS ChangeLog NEWS README* TODO
101 +
102 + find "${ED}" -name '*.la' -delete || die
103 +}