summaryrefslogtreecommitdiff
path: root/sci-libs/libqalculate
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libqalculate')
-rw-r--r--sci-libs/libqalculate/Manifest22
-rw-r--r--sci-libs/libqalculate/files/libqalculate-4.5.0-tests.patch81
-rw-r--r--sci-libs/libqalculate/libqalculate-4.5.0.ebuild83
-rw-r--r--sci-libs/libqalculate/libqalculate-4.6.1.ebuild79
-rw-r--r--sci-libs/libqalculate/libqalculate-4.7.0.ebuild79
-rw-r--r--sci-libs/libqalculate/libqalculate-4.8.0.ebuild79
-rw-r--r--sci-libs/libqalculate/libqalculate-5.0.0.ebuild79
-rw-r--r--sci-libs/libqalculate/libqalculate-5.2.0.ebuild2
-rw-r--r--sci-libs/libqalculate/libqalculate-5.3.0-r1.ebuild (renamed from sci-libs/libqalculate/libqalculate-4.8.1.ebuild)32
-rw-r--r--sci-libs/libqalculate/libqalculate-5.3.0.ebuild (renamed from sci-libs/libqalculate/libqalculate-5.0.0b.ebuild)21
-rw-r--r--sci-libs/libqalculate/metadata.xml8
11 files changed, 46 insertions, 519 deletions
diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest
index 53cc2808aa1d..39fe3bf161a3 100644
--- a/sci-libs/libqalculate/Manifest
+++ b/sci-libs/libqalculate/Manifest
@@ -1,18 +1,6 @@
-AUX libqalculate-4.5.0-tests.patch 2864 BLAKE2B a48001da7ac2def7d7f82d5878d078f67a745c4297117d213dc704740dc0096a696371e722a44ded38a6f7fd60acdf8b415d1cede8f2032eeff473114a3a03c7 SHA512 989adf5a716c5dafb62598e3d9a4ddfad1b57b3c839848882df34253dd4b946ff771f97e8358fa8e61e28924222d72846372c6ecc867238d4c2022cd960a7c08
-DIST libqalculate-4.5.0.tar.gz 2603599 BLAKE2B 142790cf89e97c601b08d553b1f9cd6c1bf184a43c2614a07fa91560a875ea3e3124cf29d7652640b1f2fb4fada1519d48e4cb0ebcfb844c26369d3031aee230 SHA512 a123eaa725c6c6badce0eceecd6ef7e37ca281e7de18085d6a28aa6043bb3f1069f9ebba82b29989c9958455aa093ee183fd8013a86b39bd34e56454bdb35770
-DIST libqalculate-4.6.1.tar.gz 2610769 BLAKE2B 02ad7371c537bf40d98bb1b32877f0a39394b0723c45e53b00381df2d0d326b79ab39c66238a8e3a89f10aa093f6c12bcc5ae0457f6d65503fb3712a78bb0dfc SHA512 7f03e0f8cc87918b8ec962ce8c85840b644aad02cdd53037d41602198cdcb6567099d175771ff3752fc99fccbc4b180527da5fef68b0059bd1b259c34c57620e
-DIST libqalculate-4.7.0.tar.gz 2618347 BLAKE2B 1ec01e124d9c96a2651f3e2a82a4eb8ae771b2701d3fd2be0894666e37eccf1e15e779ccfb96ff866c3e3d5a625ca8884961b505f30d34310be1efe69f0ba1d1 SHA512 d72754f00e26daa0afc1357cc30571b5dae28d7f5f79bcdba2f159644216288df20e5a518457fb244fd3057935f7d800a3e95bdf0f04929353841cc8371be138
-DIST libqalculate-4.8.0.tar.gz 2625669 BLAKE2B 957adcc6b5dabee4d9d6a593a4d5c894e6db05856875a241b1090bada49a0c802c94076a347df6b9b60d088edcba6f5e50ffa0d4a4517ead6da9cebc2f02c592 SHA512 db41bf883520d72f5d7c80b78492aba5367e74a6c5c452a420d6ecc79ae8f1dfa208c13bfff96ea699d31189cc49c264cf1b543946e4ec39b9df97a386c215ea
-DIST libqalculate-4.8.1.tar.gz 2625564 BLAKE2B 017188bd43da03c398ed17e883f460637d1af35df9643ac62c938f5aa189431fee49143d517c2d4489c4cca030f1220129f9dfce448969a9601c74273bfdb1a9 SHA512 e4e3f884ac42b706ee79f8fa37fbff69a30dc3f24edbe66b259507723dc3f028243acea4cb29dd68d933e7e357a55207aaf619fe9f66caa118a212de06c2a8d4
-DIST libqalculate-5.0.0.tar.gz 2674322 BLAKE2B 1ae2203c4443b57198a0e7862361f732ae8428cb6b55942f9ff9984f0956c5a2cda3fd9f5a49fa98c10526879e9ce2751a9e5c33d1e6092503640da13844df0d SHA512 d3467e79e1454a76ee0c4d8795241c105d42580f95321e24b0657d99535ed8827809cc7ec0474c9e75cd668158aa84a500e5bd3a92dd0f4a3d1e4fc91811c399
-DIST libqalculate-5.0.0b.tar.gz 2674304 BLAKE2B 8f41f141aedac2f1ccdd8b48182f972b29ae2835b1a4844ba076112754061f06970817ec3e1248c50c3c9792d41927e277b05bd8933b9a63446e0d56d5449a8b SHA512 88bddd961fca48b0c971ba035cd295d642aac009164654b0c6b18e1c72892c69614f3dd90d5b851c05dfab41fda9a6dd18fbaecac9d28bfed387a7063280ebc7
DIST libqalculate-5.2.0.tar.gz 2694752 BLAKE2B 3be1a538c5093ba8915ed1c9a795f11b615a6ed6ef9aaf7539abad411040d8c87709611f6e0367884cfd25cd46356b9237fd9c665796a275d3ecebe4fbef3edb SHA512 d849c315d3c35f97f47572c891bb2284db593d2bb5611d9405a1e7d00e849d35e08392fe6c67e5296311ed99597f76d25c3878cdcedadb2928699c22cba8af41
-EBUILD libqalculate-4.5.0.ebuild 1868 BLAKE2B be2f2f91a02aef7173c8bee825b3bc3f72c182d4226e08112d38af02a60cc34aa33bb5fad5123dec7216cf0f186e743df778aeea1f20936d9c210a7bf9179ada SHA512 337ce33d7e7be2d5a7fb01deeaf30a1f2568cb32e5c4eb17927c1d3be031b94de91c2180def7bd431063dc4fefab601234c7e27346e013941d2a871b5cd0cb1c
-EBUILD libqalculate-4.6.1.ebuild 1823 BLAKE2B 5b24dd124635d4e34d01fa0ba24ba1ebe44561205ed96852e0218cb4b5451795a4720338a84dcdb21e94988ad294eaf9e41f5288b7d5df7a1b1b6d3ce898b8f3 SHA512 4b057ad5c605fd94d56b849f1875bfd020137969789bd0ac6009c29facc8e33c1967f15ae6ace8ee2afdf05cef892f446a6c8d0cc6e76d1a80f04552afd7ddc1
-EBUILD libqalculate-4.7.0.ebuild 1828 BLAKE2B 7bae5fd9d112e633c90eaf935eed82611f9f63fef7cd9aceae641e70869b665b74bdfca475ebb32259fb6eeb0caa0982eac0ef92ad686f0a9ae7e6f4e1f9897c SHA512 4ba41a2696cc1696f48d4dc7ff712438b3799700f19126f444f24a33c7d8df0c01ed7ed1adf9aceaafd8f36d669287029789416f58cfe41f510f60d5f88e84fb
-EBUILD libqalculate-4.8.0.ebuild 1860 BLAKE2B 0d60ec7de319e8cb8ba6ce250df12bc33cb47d5a4d356aa7fdf5699dcda0ee66cd86627063fa64d1e42451f638611e1f32427cb5eeb696d95029e3041b4405f0 SHA512 9608777db978cf50e2d302e95c544166163c1330747efa23c1b054f1f553aa3a08539d0eb5670662fc5fd7f068fdbe53100d72443ee66f2af587fb93e4d92575
-EBUILD libqalculate-4.8.1.ebuild 1855 BLAKE2B 34c5c9aa745c0c1a899663ee864b89170243c0fb15c09dee2510a0e7503c28c74b040edcf30336e97217d2bbb2f5a333d0b2c8a195174471016f3c541434ce9a SHA512 6cf8a595dcd77451d43e6d2d6244124903a34d3b8c769077d64db2c8b78264677766203b604bf7853af405a4a2fee37c4242f54dbaabfe6054555fcd50d12821
-EBUILD libqalculate-5.0.0.ebuild 1861 BLAKE2B 3c1844621f8fb69f261233104f81cecc380c682b1125772c49ae87b893f46575260a59d0864dd96bdd41c4764a65b99e7a553b05b9e2ffae5f11fb46e0d201b4 SHA512 f594dd4b60df4a819d4ece2923d8a164a6831d02b9b3ec1866870f992699f639a446f5225ff24f9170a7b9f7a60988362fbb30f4ca0708bf63e183c1abc92895
-EBUILD libqalculate-5.0.0b.ebuild 1914 BLAKE2B 9b337eae1c9d5eec46ea909757fe272180ed30c6a695534e44781f1db557a5088adb46dbb0d649a27da384a7da84c28047252dd293c71de5dbcebb4a5ef8bb25 SHA512 45f9e71d5b5ee3d298b74a4557f1f577e9411886e24bc4453615c9d014b279e9e519bffdc8f5671afe16895c736cfb1d9d2a11da51a74d31311c181166197607
-EBUILD libqalculate-5.2.0.ebuild 1916 BLAKE2B 1adc34218ce997260ff723b1a14b8c60b0d867167c9df0b6dcf385a77ed21762a43413842c45569cfaf017f5c4d904832c845b98c797aba8b2960a1cb8add131 SHA512 def61a14899755b7c81a90f8d7ea8e89ac79866ae3e67390af12f6d7f3a7d4c61eec49f65c6164aba73e7b4cf7119003bda84530fa1fddc8ce21248498226977
-MISC metadata.xml 538 BLAKE2B 70ee5d15c987169990d2065626a2bb97743bb5373ae4c80ce6d1b90acf1ace0129840f241543ceda9f42d5f19494187afb2fc3e4a12fba72e8cf1fffebdfde00 SHA512 7ae4985f3ae5db901c05d9512f34bb1bd65f3eb1f07abb746971ec086051b0560f5629c2fc0adf6ea0b6222a83acbb171516e5d71c8d406e65893e37f26fed2a
+DIST libqalculate-5.3.0.tar.gz 2705592 BLAKE2B 8a42ab386e6b028c8e8429abedf0606e409c552a722b785bf621ea205fc792d9174fe8f62311fd7587c4a7f5d91fcbf7c1ce99ceb5d0c08ad2b696aba2f6856a SHA512 41aa83a6448158ddfbf6b4e0a88062d20dd199d8bc1fa6f12b704fa0c4085ddac19bc1bc0a7e01e063221e157b1597cf8cc387ee226a90e228723fc0e2e2bed1
+EBUILD libqalculate-5.2.0.ebuild 1904 BLAKE2B 114fe31ee1febe9be145674252823f1635f50c6c7c29351bd1c43d91cc3c9d8b9f390d89fbc254ca6373d6721de98832cc3d57324f10cc5748f1b844aea36ac0 SHA512 4b735e548cedace7b2f345de59fef330cbfeabfde6799ba2f8ae1dc247ebeaaf98f1003c996589f9eacdb359e750f5c4cbe4209c202bad789a50e7c57529ea55
+EBUILD libqalculate-5.3.0-r1.ebuild 2030 BLAKE2B a8c68135617a95f870d188bdf5d6930ba0e6f88797e61109fb4767e31555a1ea10e8f34cd630ebc4b03ef9c43db4667786d48babdff704b37eaac80c5c7ca8a5 SHA512 dfeaeb60112fc043b0dadb7d01cae32033973809283019d4f77e41514eb8776bc3354380818175e54f72cb4c21e0ce6f106279220e7e91e3d0bc772b094e8e0c
+EBUILD libqalculate-5.3.0.ebuild 1941 BLAKE2B 1a79f4f7f53954915f7b1a5c68552f78f9a4321e1ae09af302272fb25f9fa49f93578b6cb572d845dfa4164106080ae9c0b195b1f587b68409cd759fb1c9e93c SHA512 53d64947c12eb0bbf9411d4d3b67db96a6e991307ae5fa927e3e6f8e358b6718e85fd58cbbb5d5c8b4c4cec43c5852110489f4ec2a9edf16e160791faaceddbb
+MISC metadata.xml 807 BLAKE2B 84adb8d9b92f233d93cc630d9dbf89630a9ca1ea839f0d7d5100763c9c6e4a7065753bfe55f013e6aa99370822b4d638e7e788c8cb7bd30cae4b7bed2d7befd9 SHA512 d96812e36a70e9c1a776fe5882e1ded9fe2e7a3d1406a619202af25fc0d20180ed3209ed6df79e147697e450edb42cfcc6f38ee99ecec4e1513949b92576b4fd
diff --git a/sci-libs/libqalculate/files/libqalculate-4.5.0-tests.patch b/sci-libs/libqalculate/files/libqalculate-4.5.0-tests.patch
deleted file mode 100644
index 102b245a56b1..000000000000
--- a/sci-libs/libqalculate/files/libqalculate-4.5.0-tests.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-https://github.com/Qalculate/libqalculate/commit/e4c86b6124a3c8732f03dc1dfc8be9fac14a40eb
-
-From e4c86b6124a3c8732f03dc1dfc8be9fac14a40eb Mon Sep 17 00:00:00 2001
-From: Hanna K <hanna.knutsson@protonmail.com>
-Date: Wed, 28 Dec 2022 09:44:40 +0100
-Subject: [PATCH] Fix unit tests (issue #499); Fix some limits broken by
- countTotalChildren() update
-
---- a/libqalculate/MathStructure-limit.cc
-+++ b/libqalculate/MathStructure-limit.cc
-@@ -595,7 +595,7 @@ bool calculate_limit_sub(MathStructure &mstruct, const MathStructure &x_var, con
- }
- }
- }
-- if(!b_possible_zero && !b_fail && lhop_depth < 5 && !mzero.isOne() && !minfp.isOne() && mzero.countTotalChildren(false) + minfp.countTotalChildren(false) < 50) {
-+ if(!b_possible_zero && !b_fail && lhop_depth < 5 && !mzero.isOne() && !minfp.isOne() && mzero.countTotalChildren(false) + minfp.countTotalChildren(false) < 250) {
- //L'Hôpital's rule
- MathStructure mden, mnum;
- for(size_t i2 = 0; i2 < 2; i2++) {
---- a/tests/calculus.batch
-+++ b/tests/calculus.batch
-@@ -1,7 +1,7 @@
- diff(6x^2)
- 12x
- diff(sinh(x^2)/(5x) + 3xy/sqrt(x))
-- 0.4 * cosh(x^2) - sinh(x^2) / (5x^2) + (3y) / (2 * sqrt(x))
-+ 0.4 * cosh(x^2) + (3y) / (2 * sqrt(x)) - sinh(x^2) / (5x^2)
-
- integrate(6x^2)
- 2x^3 + C
---- a/tests/solver.batch
-+++ b/tests/solver.batch
-@@ -23,37 +23,37 @@ x^(-3x) = 2
- x = e^lambertw(-ln(2) / 3) or x = e^lambertw(-ln(2) / 3, -1)
-
- 1/3 * sin(3x) - 1/3 = 0
-- x = pi / 6 + (2/3) * pi * n
-+ x = (2/3) * pi * n + pi / 6
-
- 2/3 * sin(3x) - 1/3 = 0
-- x = (5/18) * pi + (2/3) * pi * n or x = pi / 18 + (2/3) * pi * n
-+ x = (2/3) * pi * n + (5/18) * pi or x = (2/3) * pi * n + pi / 18
-
- sin(x) + cos(x) = 1
-- x = 2 pi * n or x = pi / 2 + 2 pi * n
-+ x = 2 pi * n or x = 2 pi * n + pi / 2
-
- sin(x) = 1 + cos(x)
-- x = pi + 2 pi * n or x = pi / 2 + 2 pi * n
-+ x = 2 pi * n + pi or x = 2 pi * n + pi / 2
-
- sqrt(2) * cos(3x + pi/6) = 1
-- x = (2/3) * pi * n - (5/36) * pi or x = pi / 36 + (2/3) * pi * n
-+ x = (2/3) * pi * n + pi / 36 or x = (2/3) * pi * n - (5/36) * pi
-
- 2 * sin(3x/4) = 1
-- x = (10/9) * pi + (8/3) * pi * n or x = (2/9) * pi + (8/3) * pi * n
-+ x = (8/3) * pi * n + (10/9) * pi or x = (8/3) * pi * n + (2/9) * pi
-
- tan(x/4 + pi/3) = sqrt(3)
- x = 4 pi * n
-
- sqrt(3) * sin(x) + cos(x) = sqrt(3)
-- x = pi / 2 + 2 pi * n or x = pi / 6 + 2 pi * n
-+ x = 2 pi * n + pi / 2 or x = 2 pi * n + pi / 6
-
- sin(x)^2 = sin(x)^3
-- x = pi * n or x = pi / 2 + 2 pi * n
-+ x = pi * n or x = 2 pi * n + pi / 2
-
- sin(x) = sin(x/2)
-- x = 2 pi * n or x = 4 pi * n - (2/3) * pi or x = (2/3) * pi + 4 pi * n
-+ x = 2 pi * n or x = 4 pi * n + (2/3) * pi or x = 4 pi * n - (2/3) * pi
-
- sin(4x) + cos(2x) = 0
-- x = pi * n - pi / 12 or x = (7/12) * pi + pi * n or x = (pi * n) / 2 - pi / 4
-+ x = pi * n + (7/12) * pi or x = pi * n - pi / 12 or x = (pi * n) / 2 - pi / 4
-
- /set approximation try exact
-
-
diff --git a/sci-libs/libqalculate/libqalculate-4.5.0.ebuild b/sci-libs/libqalculate/libqalculate-4.5.0.ebuild
deleted file mode 100644
index c8003aab4d1f..000000000000
--- a/sci-libs/libqalculate/libqalculate-4.5.0.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Bump with sci-calculators/qalculate-gtk!
-
-inherit toolchain-funcs
-
-DESCRIPTION="A modern multi-purpose calculator library"
-HOMEPAGE="https://qalculate.github.io/"
-SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-# SONAME changes pretty often on bumps. Check!
-SLOT="0/22"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="curl icu gnuplot +hardened readline test"
-RESTRICT="!test? ( test )"
-
-DEPEND="dev-libs/gmp:=
- dev-libs/libxml2:2
- dev-libs/mpfr:=
- virtual/libiconv
- curl? ( net-misc/curl )
- icu? ( dev-libs/icu:= )
- readline? ( sys-libs/readline:= )"
-RDEPEND="${DEPEND}
- gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
-BDEPEND="dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${P}-tests.patch
-)
-
-src_prepare() {
- default
-
- cat >po/POTFILES.skip <<-EOF || die
- # Required by make check
- data/currencies.xml.in
- data/datasets.xml.in
- data/elements.xml.in
- data/functions.xml.in
- data/planets.xml.in
- data/prefixes.xml.in
- data/units.xml.in
- data/variables.xml.in
- src/defs2doc.cc
- EOF
-}
-
-src_configure() {
- # Needed for po-defs/Makefile
- export CXX_FOR_BUILD="$(tc-getBUILD_CXX)"
- export CXXCPP_FOR_BUILD="$(tc-getBUILD_CXX) -E"
-
- # bug #792027
- tc-export CC
-
- econf \
- $(use_enable test tests) \
- $(use_enable test unittests) \
- $(use_with curl libcurl) \
- $(use_with gnuplot gnuplot-call) \
- $(use_enable !hardened insecure) \
- $(use_with icu) \
- $(use_with readline)
-}
-
-src_install() {
- # docs/reference/Makefile.am -> referencedir=
- emake \
- DESTDIR="${D}" \
- referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
- install
-
- einstalldocs
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sci-libs/libqalculate/libqalculate-4.6.1.ebuild b/sci-libs/libqalculate/libqalculate-4.6.1.ebuild
deleted file mode 100644
index f367366c2910..000000000000
--- a/sci-libs/libqalculate/libqalculate-4.6.1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Bump with sci-calculators/qalculate-gtk!
-
-inherit toolchain-funcs
-
-DESCRIPTION="A modern multi-purpose calculator library"
-HOMEPAGE="https://qalculate.github.io/"
-SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-# SONAME changes pretty often on bumps. Check!
-SLOT="0/22"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="curl icu gnuplot +hardened readline test"
-RESTRICT="!test? ( test )"
-
-DEPEND="dev-libs/gmp:=
- dev-libs/libxml2:2
- dev-libs/mpfr:=
- virtual/libiconv
- curl? ( net-misc/curl )
- icu? ( dev-libs/icu:= )
- readline? ( sys-libs/readline:= )"
-RDEPEND="${DEPEND}
- gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
-BDEPEND="dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-src_prepare() {
- default
-
- cat >po/POTFILES.skip <<-EOF || die
- # Required by make check
- data/currencies.xml.in
- data/datasets.xml.in
- data/elements.xml.in
- data/functions.xml.in
- data/planets.xml.in
- data/prefixes.xml.in
- data/units.xml.in
- data/variables.xml.in
- src/defs2doc.cc
- EOF
-}
-
-src_configure() {
- # Needed for po-defs/Makefile
- export CXX_FOR_BUILD="$(tc-getBUILD_CXX)"
- export CXXCPP_FOR_BUILD="$(tc-getBUILD_CXX) -E"
-
- # bug #792027
- tc-export CC
-
- econf \
- $(use_enable test tests) \
- $(use_enable test unittests) \
- $(use_with curl libcurl) \
- $(use_with gnuplot gnuplot-call) \
- $(use_enable !hardened insecure) \
- $(use_with icu) \
- $(use_with readline)
-}
-
-src_install() {
- # docs/reference/Makefile.am -> referencedir=
- emake \
- DESTDIR="${D}" \
- referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
- install
-
- einstalldocs
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sci-libs/libqalculate/libqalculate-4.7.0.ebuild b/sci-libs/libqalculate/libqalculate-4.7.0.ebuild
deleted file mode 100644
index 6bdf2d129d50..000000000000
--- a/sci-libs/libqalculate/libqalculate-4.7.0.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Bump with sci-calculators/qalculate-gtk!
-
-inherit toolchain-funcs
-
-DESCRIPTION="A modern multi-purpose calculator library"
-HOMEPAGE="https://qalculate.github.io/"
-SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-# SONAME changes pretty often on bumps. Check!
-SLOT="0/22"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="curl icu gnuplot +hardened readline test"
-RESTRICT="!test? ( test )"
-
-DEPEND="dev-libs/gmp:=
- dev-libs/libxml2:2
- dev-libs/mpfr:=
- virtual/libiconv
- curl? ( net-misc/curl )
- icu? ( dev-libs/icu:= )
- readline? ( sys-libs/readline:= )"
-RDEPEND="${DEPEND}
- gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
-BDEPEND="dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-src_prepare() {
- default
-
- cat >po/POTFILES.skip <<-EOF || die
- # Required by make check
- data/currencies.xml.in
- data/datasets.xml.in
- data/elements.xml.in
- data/functions.xml.in
- data/planets.xml.in
- data/prefixes.xml.in
- data/units.xml.in
- data/variables.xml.in
- src/defs2doc.cc
- EOF
-}
-
-src_configure() {
- # Needed for po-defs/Makefile
- export CXX_FOR_BUILD="$(tc-getBUILD_CXX)"
- export CXXCPP_FOR_BUILD="$(tc-getBUILD_CXX) -E"
-
- # bug #792027
- tc-export CC
-
- econf \
- $(use_enable test tests) \
- $(use_enable test unittests) \
- $(use_with curl libcurl) \
- $(use_with gnuplot gnuplot-call) \
- $(use_enable !hardened insecure) \
- $(use_with icu) \
- $(use_with readline)
-}
-
-src_install() {
- # docs/reference/Makefile.am -> referencedir=
- emake \
- DESTDIR="${D}" \
- referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
- install
-
- einstalldocs
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sci-libs/libqalculate/libqalculate-4.8.0.ebuild b/sci-libs/libqalculate/libqalculate-4.8.0.ebuild
deleted file mode 100644
index 886c0f5aef07..000000000000
--- a/sci-libs/libqalculate/libqalculate-4.8.0.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Bump with sci-calculators/qalculate-gtk and sci-calculators/qalculate-qt
-
-inherit toolchain-funcs
-
-DESCRIPTION="A modern multi-purpose calculator library"
-HOMEPAGE="https://qalculate.github.io/"
-SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-# SONAME changes pretty often on bumps. Check!
-SLOT="0/22"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="curl icu gnuplot +hardened readline test"
-RESTRICT="!test? ( test )"
-
-DEPEND="dev-libs/gmp:=
- dev-libs/libxml2:2
- dev-libs/mpfr:=
- virtual/libiconv
- curl? ( net-misc/curl )
- icu? ( dev-libs/icu:= )
- readline? ( sys-libs/readline:= )"
-RDEPEND="${DEPEND}
- gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
-BDEPEND="dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-src_prepare() {
- default
-
- cat >po/POTFILES.skip <<-EOF || die
- # Required by make check
- data/currencies.xml.in
- data/datasets.xml.in
- data/elements.xml.in
- data/functions.xml.in
- data/planets.xml.in
- data/prefixes.xml.in
- data/units.xml.in
- data/variables.xml.in
- src/defs2doc.cc
- EOF
-}
-
-src_configure() {
- # Needed for po-defs/Makefile
- export CXX_FOR_BUILD="$(tc-getBUILD_CXX)"
- export CXXCPP_FOR_BUILD="$(tc-getBUILD_CXX) -E"
-
- # bug #792027
- tc-export CC
-
- econf \
- $(use_enable test tests) \
- $(use_enable test unittests) \
- $(use_with curl libcurl) \
- $(use_with gnuplot gnuplot-call) \
- $(use_enable !hardened insecure) \
- $(use_with icu) \
- $(use_with readline)
-}
-
-src_install() {
- # docs/reference/Makefile.am -> referencedir=
- emake \
- DESTDIR="${D}" \
- referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
- install
-
- einstalldocs
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sci-libs/libqalculate/libqalculate-5.0.0.ebuild b/sci-libs/libqalculate/libqalculate-5.0.0.ebuild
deleted file mode 100644
index 685c8d1d9967..000000000000
--- a/sci-libs/libqalculate/libqalculate-5.0.0.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Bump with sci-calculators/qalculate-gtk and sci-calculators/qalculate-qt
-
-inherit toolchain-funcs
-
-DESCRIPTION="A modern multi-purpose calculator library"
-HOMEPAGE="https://qalculate.github.io/"
-SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-# SONAME changes pretty often on bumps. Check!
-SLOT="0/22"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="curl icu gnuplot +hardened readline test"
-RESTRICT="!test? ( test )"
-
-DEPEND="dev-libs/gmp:=
- dev-libs/libxml2:2
- dev-libs/mpfr:=
- virtual/libiconv
- curl? ( net-misc/curl )
- icu? ( dev-libs/icu:= )
- readline? ( sys-libs/readline:= )"
-RDEPEND="${DEPEND}
- gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
-BDEPEND="dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-src_prepare() {
- default
-
- cat >po/POTFILES.skip <<-EOF || die
- # Required by make check
- data/currencies.xml.in
- data/datasets.xml.in
- data/elements.xml.in
- data/functions.xml.in
- data/planets.xml.in
- data/prefixes.xml.in
- data/units.xml.in
- data/variables.xml.in
- src/defs2doc.cc
- EOF
-}
-
-src_configure() {
- # Needed for po-defs/Makefile
- export CXX_FOR_BUILD="$(tc-getBUILD_CXX)"
- export CXXCPP_FOR_BUILD="$(tc-getBUILD_CXX) -E"
-
- # bug #792027
- tc-export CC
-
- econf \
- $(use_enable test tests) \
- $(use_enable test unittests) \
- $(use_with curl libcurl) \
- $(use_with gnuplot gnuplot-call) \
- $(use_enable !hardened insecure) \
- $(use_with icu) \
- $(use_with readline)
-}
-
-src_install() {
- # docs/reference/Makefile.am -> referencedir=
- emake \
- DESTDIR="${D}" \
- referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
- install
-
- einstalldocs
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sci-libs/libqalculate/libqalculate-5.2.0.ebuild b/sci-libs/libqalculate/libqalculate-5.2.0.ebuild
index c77ed2aa9c27..1cf6eae32345 100644
--- a/sci-libs/libqalculate/libqalculate-5.2.0.ebuild
+++ b/sci-libs/libqalculate/libqalculate-5.2.0.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/"${PN}-${MY_PV}"
LICENSE="GPL-2+"
# SONAME changes pretty often on bumps. Check!
SLOT="0/23.2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
IUSE="curl icu gnuplot +hardened readline test"
RESTRICT="!test? ( test )"
diff --git a/sci-libs/libqalculate/libqalculate-4.8.1.ebuild b/sci-libs/libqalculate/libqalculate-5.3.0-r1.ebuild
index 11f18e6d5570..341483a69648 100644
--- a/sci-libs/libqalculate/libqalculate-4.8.1.ebuild
+++ b/sci-libs/libqalculate/libqalculate-5.3.0-r1.ebuild
@@ -5,16 +5,19 @@ EAPI=8
# Bump with sci-calculators/qalculate-gtk and sci-calculators/qalculate-qt
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//b/}"
DESCRIPTION="A modern multi-purpose calculator library"
HOMEPAGE="https://qalculate.github.io/"
-SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
+SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${MY_PV}/${P}.tar.gz"
+S="${WORKDIR}"/"${PN}-${MY_PV}"
LICENSE="GPL-2+"
# SONAME changes pretty often on bumps. Check!
-SLOT="0/22"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
+SLOT="0/23.3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="curl icu gnuplot +hardened readline test"
RESTRICT="!test? ( test )"
@@ -33,7 +36,6 @@ BDEPEND="dev-util/intltool
src_prepare() {
default
-
cat >po/POTFILES.skip <<-EOF || die
# Required by make check
data/currencies.xml.in
@@ -56,14 +58,20 @@ src_configure() {
# bug #792027
tc-export CC
- econf \
- $(use_enable test tests) \
- $(use_enable test unittests) \
- $(use_with curl libcurl) \
- $(use_with gnuplot gnuplot-call) \
- $(use_enable !hardened insecure) \
- $(use_with icu) \
+ # bug #924939
+ use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152
+
+ local myeconfargs=(
+ $(use_enable test tests)
+ $(use_enable test unittests)
+ $(use_with curl libcurl)
+ $(use_with gnuplot gnuplot-call)
+ $(use_enable !hardened insecure)
+ $(use_with icu)
$(use_with readline)
+ )
+
+ econf "${myeconfargs[@]}"
}
src_install() {
diff --git a/sci-libs/libqalculate/libqalculate-5.0.0b.ebuild b/sci-libs/libqalculate/libqalculate-5.3.0.ebuild
index d7ef99549ebe..122fbf1883c0 100644
--- a/sci-libs/libqalculate/libqalculate-5.0.0b.ebuild
+++ b/sci-libs/libqalculate/libqalculate-5.3.0.ebuild
@@ -16,8 +16,8 @@ S="${WORKDIR}"/"${PN}-${MY_PV}"
LICENSE="GPL-2+"
# SONAME changes pretty often on bumps. Check!
-SLOT="0/23"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0/23.3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="curl icu gnuplot +hardened readline test"
RESTRICT="!test? ( test )"
@@ -58,14 +58,17 @@ src_configure() {
# bug #792027
tc-export CC
- econf \
- $(use_enable test tests) \
- $(use_enable test unittests) \
- $(use_with curl libcurl) \
- $(use_with gnuplot gnuplot-call) \
- $(use_enable !hardened insecure) \
- $(use_with icu) \
+ local myeconfargs=(
+ $(use_enable test tests)
+ $(use_enable test unittests)
+ $(use_with curl libcurl)
+ $(use_with gnuplot gnuplot-call)
+ $(use_enable !hardened insecure)
+ $(use_with icu)
$(use_with readline)
+ )
+
+ econf "${myeconfargs[@]}"
}
src_install() {
diff --git a/sci-libs/libqalculate/metadata.xml b/sci-libs/libqalculate/metadata.xml
index 1fc5756c8fef..37c5af587a99 100644
--- a/sci-libs/libqalculate/metadata.xml
+++ b/sci-libs/libqalculate/metadata.xml
@@ -5,6 +5,14 @@
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>csfore@posteo.net</email>
+ <name>Christopher Fore</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<use>
<flag name="hardened">
Disable unsafe functions like 'command' and variables like 'uptime'.