public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/libqalculate/, sci-libs/libqalculate/files/
@ 2016-11-27 12:43 Pacho Ramos
  0 siblings, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2016-11-27 12:43 UTC (permalink / raw
  To: gentoo-commits

commit:     cd79dabf886263db093aa9a15ef98a2d6e954ee5
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 27 12:42:58 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 12:43:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd79dabf

sci-libs/libqalculate: Fix compilation with -readline USE (#590490 by Ryoto Yayame)

Package-Manager: portage-2.3.2

 .../libqalculate/files/libqalculate-0.9.9-readline.patch    | 13 +++++++++++++
 sci-libs/libqalculate/libqalculate-0.9.9.ebuild             |  5 +++++
 2 files changed, 18 insertions(+)

diff --git a/sci-libs/libqalculate/files/libqalculate-0.9.9-readline.patch b/sci-libs/libqalculate/files/libqalculate-0.9.9-readline.patch
new file mode 100644
index 00000000..ab2a5a0
--- /dev/null
+++ b/sci-libs/libqalculate/files/libqalculate-0.9.9-readline.patch
@@ -0,0 +1,13 @@
+diff -ru libqalculate-0.9.9.orig/src/qalc.cc libqalculate-0.9.9/src/qalc.cc
+--- libqalculate-0.9.9.orig/src/qalc.cc	2016-07-26 14:41:40.000000000 +0200
++++ libqalculate-0.9.9/src/qalc.cc	2016-08-04 18:27:36.553906707 +0200
+@@ -3179,7 +3179,9 @@
+ 		if(!file) {
+ 			g_free(gstr_file);
+ 			g_free(gstr_oldfile);
++#ifdef HAVE_LIBREADLINE
+ 			g_free(historyfile);
++#endif
+ 			first_time = true;
+ 			set_saved_mode();
+ 			return;

diff --git a/sci-libs/libqalculate/libqalculate-0.9.9.ebuild b/sci-libs/libqalculate/libqalculate-0.9.9.ebuild
index 513479b..6d6541c 100644
--- a/sci-libs/libqalculate/libqalculate-0.9.9.ebuild
+++ b/sci-libs/libqalculate/libqalculate-0.9.9.ebuild
@@ -27,6 +27,11 @@ RDEPEND="${COMMON_DEPEND}
 	net-misc/wget
 	gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
 
+PATCHES=(
+	# https://github.com/Qalculate/libqalculate/issues/6
+	"${FILESDIR}"/${P}-readline.patch
+)
+
 src_prepare() {
 	default
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/libqalculate/, sci-libs/libqalculate/files/
@ 2021-01-24 21:01 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2021-01-24 21:01 UTC (permalink / raw
  To: gentoo-commits

commit:     c90703159f31caf9092093a517249e9bd377643a
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Jan 24 21:01:43 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 21:01:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9070315

sci-libs/libqalculate: Remove old

Closes: https://github.com/gentoo/gentoo/pull/19199
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/libqalculate/Manifest                     |  2 -
 .../files/libqalculate-0.9.9-readline.patch        | 13 -----
 sci-libs/libqalculate/libqalculate-0.9.9.ebuild    | 66 ----------------------
 sci-libs/libqalculate/libqalculate-2.8.1.ebuild    | 64 ---------------------
 4 files changed, 145 deletions(-)

diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest
index 887d6f31716..0e8cd361b6e 100644
--- a/sci-libs/libqalculate/Manifest
+++ b/sci-libs/libqalculate/Manifest
@@ -1,4 +1,2 @@
-DIST libqalculate-0.9.9.tar.gz 1509180 BLAKE2B 3f309add80ddb6b21730eab25d37c2d8fee163a79768a09ec5e7e5d329aa11ed9dafbf77f4ce194a96c2ac6a3b55a9c0d16755d5e106123cc2a5f931f6872d91 SHA512 c7692dcd91e0a7aea8184ca5366a3caf704b6e716c9e8552f4214ce7fc3157cf127daf7a063196383e4d5a99f8703486f2282c7fb01acafee5e1b3d8993de384
-DIST libqalculate-2.8.1.tar.gz 1961535 BLAKE2B 074d83a44cbc6cb5d8afe5121e4c34cec46f2f6fecf046f6b4e67c6ebc612030ccbd0f42c303cc675267374502ecb3e831c9bbfca0f13d339e31fb8933a99b7a SHA512 a258bf4f67db70263626ac77822afc75fd7a9e5af2feb1930314daff219865b28c43e82fef6ceae4f3f23957447d6eaebdc709e606d28457bca0f47eefb9274a
 DIST libqalculate-3.15.0.tar.gz 1747863 BLAKE2B eed4cf8f11546b80e9556cfdf09e48d8c4c29948e6bdc02b3f9efd9aa6dce8e6c5eecf440bf4b6243ddcdb59cb7176f1eb054a3ef73cc91444d86ed7645f3a37 SHA512 b8f2af83218a3f90326cb7f679b71cac328cf0591178ed718920cd491d682cf7341c702934b3a232bea5a67ec2d2e09b4321a7ac938c5bc1e221bee086ae4c36
 DIST libqalculate-3.16.1.tar.gz 1756176 BLAKE2B b09e06a4d89249bb3e38a47ed47acc7598bc62e966673a1eb175641b1018021199dbbcd38266301ec8b2d3c55747378adfde3db4e25e58771be162905cb493dc SHA512 3cc7ba66493252015b9d33835188c236b10afdce5f23021a5e686609609265aed81d592815ee6a172c269a0f144a3203c954435fea8ddb82637453d5c98cd05a

diff --git a/sci-libs/libqalculate/files/libqalculate-0.9.9-readline.patch b/sci-libs/libqalculate/files/libqalculate-0.9.9-readline.patch
deleted file mode 100644
index ab2a5a0eb3f..00000000000
--- a/sci-libs/libqalculate/files/libqalculate-0.9.9-readline.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ru libqalculate-0.9.9.orig/src/qalc.cc libqalculate-0.9.9/src/qalc.cc
---- libqalculate-0.9.9.orig/src/qalc.cc	2016-07-26 14:41:40.000000000 +0200
-+++ libqalculate-0.9.9/src/qalc.cc	2016-08-04 18:27:36.553906707 +0200
-@@ -3179,7 +3179,9 @@
- 		if(!file) {
- 			g_free(gstr_file);
- 			g_free(gstr_oldfile);
-+#ifdef HAVE_LIBREADLINE
- 			g_free(historyfile);
-+#endif
- 			first_time = true;
- 			set_saved_mode();
- 			return;

diff --git a/sci-libs/libqalculate/libqalculate-0.9.9.ebuild b/sci-libs/libqalculate/libqalculate-0.9.9.ebuild
deleted file mode 100644
index 205d51b8dc7..00000000000
--- a/sci-libs/libqalculate/libqalculate-0.9.9.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-SLOT="0/6"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="gnuplot readline static-libs"
-
-COMMON_DEPEND="
-	dev-libs/glib:2
-	dev-libs/libxml2:2
-	>=sci-libs/cln-1.2
-	sys-libs/zlib
-	readline? ( sys-libs/readline:0= )"
-DEPEND="${COMMON_DEPEND}
-	dev-util/intltool
-	sys-devel/gettext
-	virtual/pkgconfig"
-RDEPEND="${COMMON_DEPEND}
-	net-misc/wget
-	gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
-
-PATCHES=(
-	# https://github.com/Qalculate/libqalculate/issues/6
-	"${FILESDIR}"/${P}-readline.patch
-)
-
-src_prepare() {
-	default
-
-	cat >po/POTFILES.skip <<-EOF
-	# 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/units.xml.in
-	data/variables.xml.in
-	src/defs2doc.cc
-	EOF
-}
-
-src_configure() {
-	econf \
-		$(use_enable static-libs static) \
-		$(use_with readline)
-}
-
-src_install() {
-	# docs/reference/Makefile.am -> referencedir=
-	emake \
-		DESTDIR="${D}" \
-		referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
-		install
-
-	dodoc AUTHORS ChangeLog NEWS README* TODO
-
-	find "${ED}" -name '*.la' -delete || die
-}

diff --git a/sci-libs/libqalculate/libqalculate-2.8.1.ebuild b/sci-libs/libqalculate/libqalculate-2.8.1.ebuild
deleted file mode 100644
index 2cd5124b948..00000000000
--- a/sci-libs/libqalculate/libqalculate-2.8.1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-SLOT="0/20"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="curl icu gnuplot readline static-libs"
-
-COMMON_DEPEND="
-	dev-libs/gmp:0=
-	dev-libs/libxml2:2
-	dev-libs/mpfr:0=
-	virtual/libiconv
-	curl? ( net-misc/curl )
-	icu? ( dev-libs/icu:= )
-	readline? ( sys-libs/readline:0= )"
-DEPEND="${COMMON_DEPEND}
-	dev-util/intltool
-	sys-devel/gettext
-	virtual/pkgconfig"
-RDEPEND="${COMMON_DEPEND}
-	gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
-
-src_prepare() {
-	default
-
-	cat >po/POTFILES.skip <<-EOF
-	# 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/units.xml.in
-	data/variables.xml.in
-	src/defs2doc.cc
-	EOF
-}
-
-src_configure() {
-	econf \
-		$(use_enable static-libs static) \
-		$(use_with curl libcurl) \
-		$(use_with icu) \
-		$(use_with readline)
-}
-
-src_install() {
-	# docs/reference/Makefile.am -> referencedir=
-	emake \
-		DESTDIR="${D}" \
-		referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
-		install
-
-	dodoc AUTHORS ChangeLog NEWS README* TODO
-
-	find "${ED}" -name '*.la' -delete || die
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/libqalculate/, sci-libs/libqalculate/files/
@ 2022-12-29 22:45 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-12-29 22:45 UTC (permalink / raw
  To: gentoo-commits

commit:     40937d5af20e7e4d82592013d254a00d54c245c9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 22:41:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 22:42:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40937d5a

sci-libs/libqalculate: add 4.5.0

Bug: https://bugs.gentoo.org/887369
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/libqalculate/Manifest                     |  1 +
 .../files/libqalculate-4.5.0-tests.patch           | 81 +++++++++++++++++++++
 sci-libs/libqalculate/libqalculate-4.5.0.ebuild    | 83 ++++++++++++++++++++++
 sci-libs/libqalculate/metadata.xml                 |  5 ++
 4 files changed, 170 insertions(+)

diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest
index dfa964a4533d..fa43c41f3e1f 100644
--- a/sci-libs/libqalculate/Manifest
+++ b/sci-libs/libqalculate/Manifest
@@ -3,3 +3,4 @@ DIST libqalculate-3.22.0.tar.gz 2150167 BLAKE2B 2023dc00e516f26d93e6acae66acb621
 DIST libqalculate-4.1.1.tar.gz 2172017 BLAKE2B e9dcc22ad2d102572610ddc103afc5a279cf4f63681750c6165dac40225c7e29ebb4ccdc4f54cb97031ca8684ef17e08e99478c6b200870c7858e832a7588f18 SHA512 7a0f2fac6c96247b40565bdd015f8b52dc250fa74a8d8ed4a52a6f2134fb2b628e469c0253723f22b433a8f575590a28be8c0d4aa6cfb473b58f1b2c63707956
 DIST libqalculate-4.2.0.tar.gz 2215812 BLAKE2B 393bab0d9cf5d4a3158d93bf676805d829a2103ec1dc733e3d98fd7a54ab0c42d3797dadb1cde72b1df2e13cfb691430982f5fbd886ac9f0a906b3884f912202 SHA512 105f567a3b24a1c396df0eb85f299d18228f489e4d989f0fa09cf97321494030e9a85d9cd9fe4b5dd8cc233b4329025788275ba168546929e912598dee8ef6b8
 DIST libqalculate-4.3.0.tar.gz 2230559 BLAKE2B 724dde0bc16e5eaed63420c6dd68ac7c94477c44c007c92bb3b4560d8a2d2062ade4be6d2c8005ff64bf8ffe4c42d95d6990f7900df7a1c1a36cd4cd717bd04d SHA512 234c111435d9461ab65d274030f9a5f6ee401cd81df62b9c2273e921edb8db3bde4254060285dbfaa7b9701a257a5801c8ab8f26b0c2aeeafd2a36042bdeeb84
+DIST libqalculate-4.5.0.tar.gz 2603599 BLAKE2B 142790cf89e97c601b08d553b1f9cd6c1bf184a43c2614a07fa91560a875ea3e3124cf29d7652640b1f2fb4fada1519d48e4cb0ebcfb844c26369d3031aee230 SHA512 a123eaa725c6c6badce0eceecd6ef7e37ca281e7de18085d6a28aa6043bb3f1069f9ebba82b29989c9958455aa093ee183fd8013a86b39bd34e56454bdb35770

diff --git a/sci-libs/libqalculate/files/libqalculate-4.5.0-tests.patch b/sci-libs/libqalculate/files/libqalculate-4.5.0-tests.patch
new file mode 100644
index 000000000000..102b245a56b1
--- /dev/null
+++ b/sci-libs/libqalculate/files/libqalculate-4.5.0-tests.patch
@@ -0,0 +1,81 @@
+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
new file mode 100644
index 000000000000..d967fd779daf
--- /dev/null
+++ b/sci-libs/libqalculate/libqalculate-4.5.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 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/metadata.xml b/sci-libs/libqalculate/metadata.xml
index 284c82a7b616..39ddc8a41c49 100644
--- a/sci-libs/libqalculate/metadata.xml
+++ b/sci-libs/libqalculate/metadata.xml
@@ -5,6 +5,11 @@
     <email>sci@gentoo.org</email>
     <name>Gentoo Science Project</name>
   </maintainer>
+  <use>
+    <flag name="hardened">
+      Disable unsafe functions like 'command' and variables like 'uptime'.
+    </flag>
+  </use>
   <upstream>
     <remote-id type="sourceforge">qalculate-0.9.7</remote-id>
     <remote-id type="github">Qalculate/libqalculate</remote-id>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/libqalculate/, sci-libs/libqalculate/files/
@ 2024-10-04 17:37 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2024-10-04 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     c19b0d1876e98a707bbffa86d193750415440c03
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  4 11:56:24 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct  4 17:36:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19b0d18

sci-libs/libqalculate: drop versions

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/libqalculate/Manifest                     |  7 --
 .../files/libqalculate-4.5.0-tests.patch           | 81 ---------------------
 sci-libs/libqalculate/libqalculate-4.5.0.ebuild    | 83 ----------------------
 sci-libs/libqalculate/libqalculate-4.6.1.ebuild    | 79 --------------------
 sci-libs/libqalculate/libqalculate-4.7.0.ebuild    | 79 --------------------
 sci-libs/libqalculate/libqalculate-4.8.0.ebuild    | 79 --------------------
 sci-libs/libqalculate/libqalculate-4.8.1.ebuild    | 79 --------------------
 sci-libs/libqalculate/libqalculate-5.0.0.ebuild    | 79 --------------------
 sci-libs/libqalculate/libqalculate-5.0.0b.ebuild   | 81 ---------------------
 9 files changed, 647 deletions(-)

diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest
index 2612fa9a3194..d0bfd8d551a6 100644
--- a/sci-libs/libqalculate/Manifest
+++ b/sci-libs/libqalculate/Manifest
@@ -1,8 +1 @@
-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

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 a40bb5d68413..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 ~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 0f0de94998d1..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 ~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 9600c91e1cd8..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 ~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 6e05ea798def..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 ~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.1.ebuild b/sci-libs/libqalculate/libqalculate-4.8.1.ebuild
deleted file mode 100644
index b7b0557eb216..000000000000
--- a/sci-libs/libqalculate/libqalculate-4.8.1.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 ~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 64b95edea4cf..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 ~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.0b.ebuild b/sci-libs/libqalculate/libqalculate-5.0.0b.ebuild
deleted file mode 100644
index 6a626ac17326..000000000000
--- a/sci-libs/libqalculate/libqalculate-5.0.0b.ebuild
+++ /dev/null
@@ -1,81 +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
-
-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${MY_PV}/${P}.tar.gz"
-S="${WORKDIR}"/"${PN}-${MY_PV}"
-
-LICENSE="GPL-2+"
-# SONAME changes pretty often on bumps. Check!
-SLOT="0/23"
-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 )"
-
-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
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-04 17:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-27 12:43 [gentoo-commits] repo/gentoo:master commit in: sci-libs/libqalculate/, sci-libs/libqalculate/files/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2021-01-24 21:01 David Seifert
2022-12-29 22:45 Sam James
2024-10-04 17:37 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox