[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: a8cf31e00ceeff8f002fa1fe9d686cfe92baeca2 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Apr 9 17:32:31 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Apr 9 17:32:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8cf31e0 sci-libs/givaro: Stabilize 4.2.0 amd64, #929008 Signed-off-by: Arthur Zamarin gentoo.org> sci-libs/givaro/givaro-4.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/givaro/givaro-4.2.0.ebuild b/sci-libs/givaro/givaro-4.2.0.ebuild index ab621bfb5ab1..d657e0e4660f 100644 --- a/sci-libs/givaro/givaro-4.2.0.ebuild +++ b/sci-libs/givaro/givaro-4.2.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar LICENSE="CeCILL-B" SLOT="0/9" # soname major -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="doc test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/, sci-libs/givaro/files/
commit: 8baa80698652b2b41bd4ce005e257dc36be28436 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Mar 30 14:39:03 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Mar 30 14:40:30 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8baa8069 sci-libs/givaro: fix build with gcc-14 There was already an upstream patch for this that I missed. Closes: https://bugs.gentoo.org/928020 Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/givaro/files/givaro-4.2.0-gcc14.patch | 31 ++ sci-libs/givaro/givaro-4.2.0.ebuild| 1 + 2 files changed, 32 insertions(+) diff --git a/sci-libs/givaro/files/givaro-4.2.0-gcc14.patch b/sci-libs/givaro/files/givaro-4.2.0-gcc14.patch new file mode 100644 index ..83d7256abfd5 --- /dev/null +++ b/sci-libs/givaro/files/givaro-4.2.0-gcc14.patch @@ -0,0 +1,31 @@ +From 20caba1b549fe46b483f120f8eec6ec4e9f4572d Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Thu, 25 Jan 2024 08:29:17 -0500 +Subject: [PATCH] Temporary GCC 14 workaround +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes https://github.com/linbox-team/givaro/issues/226 “GCC 14: No match +for operator= for Givaro::ZRing” + +Recommended in +https://github.com/linbox-team/givaro/issues/226#issuecomment-1908853755 +--- + src/kernel/integer/random-integer.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/kernel/integer/random-integer.h b/src/kernel/integer/random-integer.h +index f9361d33..ea189a36 100644 +--- a/src/kernel/integer/random-integer.h b/src/kernel/integer/random-integer.h +@@ -87,7 +87,6 @@ namespace Givaro + if (this != ) { + _bits = R._bits; + _integer = R._integer; +-const_cast(_ring)=R._ring; + } + return *this; + } +-- +2.43.0 diff --git a/sci-libs/givaro/givaro-4.2.0.ebuild b/sci-libs/givaro/givaro-4.2.0.ebuild index 327d439ec727..ab621bfb5ab1 100644 --- a/sci-libs/givaro/givaro-4.2.0.ebuild +++ b/sci-libs/givaro/givaro-4.2.0.ebuild @@ -34,6 +34,7 @@ PATCHES=( "${FILESDIR}/givaro-4.1.1-fix-pc-libdir.patch" "${FILESDIR}/${P}-configure.ac-fix-a-bashism.patch" "${FILESDIR}/${P}-cstdint.patch" + "${FILESDIR}/${P}-gcc14.patch" ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/, sci-libs/givaro/files/
commit: b6a4255e399509b3af74cfa28bd18b9516e2db37 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Feb 10 01:10:46 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Feb 10 22:36:29 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a4255e sci-libs/givaro: add 4.2.0 Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/givaro/Manifest | 1 + .../givaro-4.2.0-configure.ac-fix-a-bashism.patch | 32 + sci-libs/givaro/files/givaro-4.2.0-cstdint.patch | 46 +++ sci-libs/givaro/givaro-4.2.0.ebuild| 53 ++ 4 files changed, 132 insertions(+) diff --git a/sci-libs/givaro/Manifest b/sci-libs/givaro/Manifest index 6682189b6b2d..20cac6206f66 100644 --- a/sci-libs/givaro/Manifest +++ b/sci-libs/givaro/Manifest @@ -1 +1,2 @@ DIST givaro-4.1.1.tar.gz 1008358 BLAKE2B 246fd1a263174f58d96dd66fa79e6113368b6c318c33d68858a339bd9cb778dfda84636c683ee9d02f2ac72ccff8ac22d395b92741448a8ed2ce08c041ac8ba9 SHA512 7ad15ac24f55ad65c9c5d0d48ff4388d0494e75dc7b66d1e139195cd086ff2371259bdb5df940fead1db2fd378bb76289f2327a8d6f41575d99d424a74cf644c +DIST givaro-4.2.0.tar.gz 969595 BLAKE2B 07c9f08269ee60c06b1589e56ccf61870df6c7cab93fb8ebf27791d9231b153a2da9aed296105fd6dcd52aaa7d27ea03eacd6f2066d29de267455c9ca3747995 SHA512 1a3280563181710d364b77e1efe8c8f52ce3119a08b35f329cfd98136a742431b7e9d102289448d337797f815439682d0cfce1567a5a88d5851b244673a84486 diff --git a/sci-libs/givaro/files/givaro-4.2.0-configure.ac-fix-a-bashism.patch b/sci-libs/givaro/files/givaro-4.2.0-configure.ac-fix-a-bashism.patch new file mode 100644 index ..f8d942191040 --- /dev/null +++ b/sci-libs/givaro/files/givaro-4.2.0-configure.ac-fix-a-bashism.patch @@ -0,0 +1,32 @@ +From 1132161483e756902c86c190855e260164c025fd Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Fri, 9 Feb 2024 16:41:03 -0500 +Subject: [PATCH] configure.ac: fix a bashism + +There's one instance of VAR+=" value" in the configure script, but +that only works in bash. With dash, for example, it results in + + checking whether gmp version is at least 4... yes + ./configure: 17953: REQUIRED_FLAGS+= : not found + +We change it to a VAR="${VAR} value" instead. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index b03e5e4d..a94286ac 100644 +--- a/configure.ac b/configure.ac +@@ -121,7 +121,7 @@ AS_ECHO([---]) + + # Look for GMP and add flags if necessary + GIV_CHECK_GMP(4) +-REQUIRED_FLAGS+=" ${GMP_CFLAGS}" ++REQUIRED_FLAGS="${REQUIRED_FLAGS} ${GMP_CFLAGS}" + + GIV_DOC + +-- +2.43.0 + diff --git a/sci-libs/givaro/files/givaro-4.2.0-cstdint.patch b/sci-libs/givaro/files/givaro-4.2.0-cstdint.patch new file mode 100644 index ..0fc532220da7 --- /dev/null +++ b/sci-libs/givaro/files/givaro-4.2.0-cstdint.patch @@ -0,0 +1,46 @@ +From a6b370873e406f9921a50359ed8ebf4714776411 Mon Sep 17 00:00:00 2001 +From: Jean-Guillaume Dumas +Date: Wed, 11 Oct 2023 14:19:52 +0200 +Subject: [PATCH] cstdint required for uint64_t + +--- + src/kernel/system/givpower.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/kernel/system/givpower.h b/src/kernel/system/givpower.h +index 5644264d..080e114d 100644 +--- a/src/kernel/system/givpower.h b/src/kernel/system/givpower.h +@@ -16,6 +16,8 @@ + #ifndef __GIVARO_power_H + #define __GIVARO_power_H + ++#include ++ + namespace Givaro { + + // - + +From c7744bb133496cd7ac04688f345646d505e1bf52 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Thu, 19 Jan 2023 09:12:22 -0500 +Subject: [PATCH] Add missing #include for (u)int64_t + +Fixes failure to compile on GCC 13. +--- + src/library/poly1/givdegree.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/library/poly1/givdegree.h b/src/library/poly1/givdegree.h +index 3753a425..eb85a0dd 100644 +--- a/src/library/poly1/givdegree.h b/src/library/poly1/givdegree.h +@@ -19,6 +19,8 @@ + #ifndef __GIVARO_poly1degree_H + #define __GIVARO_poly1degree_H + ++#include ++ + #include + + namespace Givaro { diff --git a/sci-libs/givaro/givaro-4.2.0.ebuild b/sci-libs/givaro/givaro-4.2.0.ebuild new file mode 100644 index ..327d439ec727 --- /dev/null +++ b/sci-libs/givaro/givaro-4.2.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="C++ library for arithmetic and algebraic computations" +HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/; +SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz; + +LICENSE="CeCILL-B" +SLOT="0/9" # soname major +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="doc test" +RESTRICT="!test?
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/, sci-libs/givaro/files/
commit: 9c983f905d8b655af9803d3b1fbf2308a3ef4bb1 Author: Michael Orlitzky gentoo org> AuthorDate: Mon Jun 12 19:40:03 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Jun 12 19:40:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c983f90 sci-libs/givaro: fix build with gcc-13. This is an "obviously correct" one-line build fix from upstream. Closes: https://bugs.gentoo.org/908399 Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/givaro/files/givaro-4.1.1-gcc-13.patch | 23 +++ sci-libs/givaro/givaro-4.1.1-r3.ebuild | 1 + 2 files changed, 24 insertions(+) diff --git a/sci-libs/givaro/files/givaro-4.1.1-gcc-13.patch b/sci-libs/givaro/files/givaro-4.1.1-gcc-13.patch new file mode 100644 index ..15178289ca84 --- /dev/null +++ b/sci-libs/givaro/files/givaro-4.1.1-gcc-13.patch @@ -0,0 +1,23 @@ +From c7744bb133496cd7ac04688f345646d505e1bf52 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Thu, 19 Jan 2023 09:12:22 -0500 +Subject: [PATCH] Add missing #include for (u)int64_t + +Fixes failure to compile on GCC 13. +--- + src/library/poly1/givdegree.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/library/poly1/givdegree.h b/src/library/poly1/givdegree.h +index 3753a425..eb85a0dd 100644 +--- a/src/library/poly1/givdegree.h b/src/library/poly1/givdegree.h +@@ -19,6 +19,8 @@ + #ifndef __GIVARO_poly1degree_H + #define __GIVARO_poly1degree_H + ++#include ++ + #include + + namespace Givaro { diff --git a/sci-libs/givaro/givaro-4.1.1-r3.ebuild b/sci-libs/givaro/givaro-4.1.1-r3.ebuild index 86922d8736ca..e072eb6ffbe7 100644 --- a/sci-libs/givaro/givaro-4.1.1-r3.ebuild +++ b/sci-libs/givaro/givaro-4.1.1-r3.ebuild @@ -30,6 +30,7 @@ DOCS=( AUTHORS ChangeLog README.md ) PATCHES=( "${FILESDIR}/givaro-4.1.1-gcc-10.patch" + "${FILESDIR}/givaro-4.1.1-gcc-13.patch" "${FILESDIR}/givaro-4.1.1-fix-pc-libdir.patch" )
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: 734c29330fb8d74496abde7ec30107e73a3445cb Author: Michael Orlitzky gentoo org> AuthorDate: Mon Oct 24 13:38:26 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Oct 24 13:38:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=734c2933 sci-libs/givaro: drop 4.1.1-r2 Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/givaro/givaro-4.1.1-r2.ebuild | 56 -- 1 file changed, 56 deletions(-) diff --git a/sci-libs/givaro/givaro-4.1.1-r2.ebuild b/sci-libs/givaro/givaro-4.1.1-r2.ebuild deleted file mode 100644 index 06e829557472.. --- a/sci-libs/givaro/givaro-4.1.1-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="C++ library for arithmetic and algebraic computations" -HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/; -SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz; - -LICENSE="CeCILL-B" -SLOT="0/9" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" -RESTRICT="!test? ( test )" - -BDEPEND=" - doc? ( - app-doc/doxygen[dot] - dev-texlive/texlive-bibtexextra - dev-texlive/texlive-fontsextra - dev-texlive/texlive-fontutils - dev-texlive/texlive-latex - dev-texlive/texlive-latexextra - ) -" -DEPEND="dev-libs/gmp:0[cxx(+)]" -RDEPEND="${DEPEND}" - -DOCS=( AUTHORS ChangeLog README.md ) - -PATCHES=( "${FILESDIR}/givaro-4.1.1-gcc-10.patch" ) - -src_configure() { - # Passing "--disable-doc" also accidentally enables building - # the documentation, so we can't just $(use_enable doc) here. - # https://github.com/linbox-team/givaro/issues/148 - econf \ - $(usex doc --enable-doc "" "" "") \ - --with-docdir="/usr/share/doc/${PF}/html" \ - $(use_enable static-libs static) \ - $(use_enable cpu_flags_x86_fma3 fma) \ - $(use_enable cpu_flags_x86_fma4 fma4) \ - $(use_enable cpu_flags_x86_sse sse) \ - $(use_enable cpu_flags_x86_sse2 sse2) \ - $(use_enable cpu_flags_x86_sse3 sse3) \ - $(use_enable cpu_flags_x86_ssse3 ssse3) \ - $(use_enable cpu_flags_x86_sse4_1 sse41) \ - $(use_enable cpu_flags_x86_sse4_2 sse42) \ - $(use_enable cpu_flags_x86_avx avx) \ - $(use_enable cpu_flags_x86_avx2 avx2) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: c8bf95d47cf041e888a71a66fcd24985e4751324 Author: Joonas Niilola gentoo org> AuthorDate: Mon Oct 24 07:16:31 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 24 07:16:31 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8bf95d4 sci-libs/givaro: Stabilize 4.1.1-r3 amd64, #877783 Signed-off-by: Joonas Niilola gentoo.org> sci-libs/givaro/givaro-4.1.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/givaro/givaro-4.1.1-r3.ebuild b/sci-libs/givaro/givaro-4.1.1-r3.ebuild index f1ac1cd50f83..0256f40e0513 100644 --- a/sci-libs/givaro/givaro-4.1.1-r3.ebuild +++ b/sci-libs/givaro/givaro-4.1.1-r3.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar LICENSE="CeCILL-B" SLOT="0/9" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: ae7a811cfb39b21747d6e70fc76ac9165070e59c Author: Joonas Niilola gentoo org> AuthorDate: Mon Oct 24 07:17:06 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 24 07:17:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7a811c sci-libs/givaro: Stabilize 4.1.1-r3 x86, #877783 Signed-off-by: Joonas Niilola gentoo.org> sci-libs/givaro/givaro-4.1.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/givaro/givaro-4.1.1-r3.ebuild b/sci-libs/givaro/givaro-4.1.1-r3.ebuild index 0256f40e0513..9a656f56f2a1 100644 --- a/sci-libs/givaro/givaro-4.1.1-r3.ebuild +++ b/sci-libs/givaro/givaro-4.1.1-r3.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar LICENSE="CeCILL-B" SLOT="0/9" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/, sci-libs/givaro/files/
commit: f6bc01c6dc39ae282df30c969c06e39b5751db32 Author: Michael Orlitzky gentoo org> AuthorDate: Fri Sep 2 11:06:36 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Fri Sep 2 11:09:04 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6bc01c6 sci-libs/givaro: fix pkg-config libdir, update EAPI 7 -> 8 Apply François Bissey's upstream patch in a new revision. Closes: https://bugs.gentoo.org/862753 Signed-off-by: Michael Orlitzky gentoo.org> .../givaro/files/givaro-4.1.1-fix-pc-libdir.patch | 21 sci-libs/givaro/givaro-4.1.1-r3.ebuild | 59 ++ 2 files changed, 80 insertions(+) diff --git a/sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch b/sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch new file mode 100644 index ..35a536c04ad8 --- /dev/null +++ b/sci-libs/givaro/files/givaro-4.1.1-fix-pc-libdir.patch @@ -0,0 +1,21 @@ +From f5cbcebd7fcc2b68d6e1e9f1ba3aa53b9ed17b56 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= +Date: Sun, 7 Aug 2022 13:25:24 +1200 +Subject: [PATCH] Fix givaro.pc.in file for issue #200 + +--- + givaro.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/givaro.pc.in b/givaro.pc.in +index a480..9487ef8c 100644 +--- a/givaro.pc.in b/givaro.pc.in +@@ -1,6 +1,6 @@ + prefix=@prefix@ + exec_prefix=@prefix@ +-libdir=@prefix@/lib ++libdir=@libdir@ + includedir=@prefix@/include + + Name: Givaro diff --git a/sci-libs/givaro/givaro-4.1.1-r3.ebuild b/sci-libs/givaro/givaro-4.1.1-r3.ebuild new file mode 100644 index ..f1ac1cd50f83 --- /dev/null +++ b/sci-libs/givaro/givaro-4.1.1-r3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="C++ library for arithmetic and algebraic computations" +HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/; +SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz; + +LICENSE="CeCILL-B" +SLOT="0/9" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + app-doc/doxygen[dot] + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + ) +" +DEPEND="dev-libs/gmp:0[cxx(+)]" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README.md ) + +PATCHES=( + "${FILESDIR}/givaro-4.1.1-gcc-10.patch" + "${FILESDIR}/givaro-4.1.1-fix-pc-libdir.patch" +) + +src_configure() { + # Passing "--disable-doc" also accidentally enables building + # the documentation, so we can't just $(use_enable doc) here. + # https://github.com/linbox-team/givaro/issues/148 + econf \ + $(usex doc --enable-doc "" "" "") \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable static-libs static) \ + $(use_enable cpu_flags_x86_fma3 fma) \ + $(use_enable cpu_flags_x86_fma4 fma4) \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable cpu_flags_x86_sse3 sse3) \ + $(use_enable cpu_flags_x86_ssse3 ssse3) \ + $(use_enable cpu_flags_x86_sse4_1 sse41) \ + $(use_enable cpu_flags_x86_sse4_2 sse42) \ + $(use_enable cpu_flags_x86_avx avx) \ + $(use_enable cpu_flags_x86_avx2 avx2) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: 8cbd812f5514ae0b4a29ef5ab13b97bbdcd2a11b Author: Michael Orlitzky gentoo org> AuthorDate: Tue Nov 2 18:01:25 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Nov 2 18:01:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cbd812f sci-libs/givaro: remove old "unused" givaro-4.1.1-r1.ebuild. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/givaro/givaro-4.1.1-r1.ebuild | 54 -- 1 file changed, 54 deletions(-) diff --git a/sci-libs/givaro/givaro-4.1.1-r1.ebuild b/sci-libs/givaro/givaro-4.1.1-r1.ebuild deleted file mode 100644 index 6a3e28a1f14..000 --- a/sci-libs/givaro/givaro-4.1.1-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="C++ library for arithmetic and algebraic computations" -HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/; -SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz; - -LICENSE="CeCILL-B" -SLOT="0/9" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" -RESTRICT="!test? ( test )" - -BDEPEND=" - doc? ( - app-doc/doxygen[dot] - dev-texlive/texlive-bibtexextra - dev-texlive/texlive-fontsextra - dev-texlive/texlive-fontutils - dev-texlive/texlive-latex - dev-texlive/texlive-latexextra - ) -" -DEPEND="dev-libs/gmp:0[cxx(+)]" -RDEPEND="${DEPEND}" - -DOCS=( AUTHORS ChangeLog README.md ) - -src_configure() { - # Passing "--disable-doc" also accidentally enables building - # the documentation, so we can't just $(use_enable doc) here. - # https://github.com/linbox-team/givaro/issues/148 - econf \ - $(usex doc --enable-doc "" "" "") \ - --with-docdir="/usr/share/doc/${PF}/html" \ - $(use_enable static-libs static) \ - $(use_enable cpu_flags_x86_fma3 fma) \ - $(use_enable cpu_flags_x86_fma4 fma4) \ - $(use_enable cpu_flags_x86_sse sse) \ - $(use_enable cpu_flags_x86_sse2 sse2) \ - $(use_enable cpu_flags_x86_sse3 sse3) \ - $(use_enable cpu_flags_x86_ssse3 ssse3) \ - $(use_enable cpu_flags_x86_sse4_1 sse41) \ - $(use_enable cpu_flags_x86_sse4_2 sse42) \ - $(use_enable cpu_flags_x86_avx avx) \ - $(use_enable cpu_flags_x86_avx2 avx2) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: 016cecf23d9567948631b1e49567e7b14ff2b1d5 Author: Sam James gentoo org> AuthorDate: Tue Nov 2 15:46:57 2021 + Commit: Sam James gentoo org> CommitDate: Tue Nov 2 15:46:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=016cecf2 sci-libs/givaro: Stabilize 4.1.1-r2 x86, #821331 Signed-off-by: Sam James gentoo.org> sci-libs/givaro/givaro-4.1.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/givaro/givaro-4.1.1-r2.ebuild b/sci-libs/givaro/givaro-4.1.1-r2.ebuild index 6be59f9eb1e..06e82955747 100644 --- a/sci-libs/givaro/givaro-4.1.1-r2.ebuild +++ b/sci-libs/givaro/givaro-4.1.1-r2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar LICENSE="CeCILL-B" SLOT="0/9" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: f1f675908e4654490c72147387dee4ad373f35b7 Author: Sam James gentoo org> AuthorDate: Tue Nov 2 15:46:31 2021 + Commit: Sam James gentoo org> CommitDate: Tue Nov 2 15:46:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f67590 sci-libs/givaro: Stabilize 4.1.1-r2 amd64, #821331 Signed-off-by: Sam James gentoo.org> sci-libs/givaro/givaro-4.1.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/givaro/givaro-4.1.1-r2.ebuild b/sci-libs/givaro/givaro-4.1.1-r2.ebuild index 2e76210dd2e..6be59f9eb1e 100644 --- a/sci-libs/givaro/givaro-4.1.1-r2.ebuild +++ b/sci-libs/givaro/givaro-4.1.1-r2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar LICENSE="CeCILL-B" SLOT="0/9" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/files/, sci-libs/givaro/
commit: ae6b26acdfebbf19c8f8855a63fd86bab3e63b5d Author: Michael Orlitzky gentoo org> AuthorDate: Sat Aug 7 16:08:09 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Aug 7 16:35:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae6b26ac sci-libs/givaro: new revision to eliminate -fabi-version=6. This is just a quick hack directly to the ./configure script to ensure that the current version of givaro doesn't erroneously detect gcc-4.x where none exists. A real fix is already upstreamed, but not in a release, and is not easy to backport. Bug: https://bugs.gentoo.org/741434 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/givaro/files/givaro-4.1.1-gcc-10.patch | 36 sci-libs/givaro/givaro-4.1.1-r2.ebuild | 56 + 2 files changed, 92 insertions(+) diff --git a/sci-libs/givaro/files/givaro-4.1.1-gcc-10.patch b/sci-libs/givaro/files/givaro-4.1.1-gcc-10.patch new file mode 100644 index 000..0564c7f94fe --- /dev/null +++ b/sci-libs/givaro/files/givaro-4.1.1-gcc-10.patch @@ -0,0 +1,36 @@ +From 5ba9fa4930b347aea8817da444bea5a88971079a Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Sat, 7 Aug 2021 11:43:29 -0400 +Subject: [PATCH 1/1] configure: hack out old GCC-4.x test. + +The Givaro ./configure script fails to detect modern versions of GCC, +instead deciding that they must be gcc-4.8. As a result, we wind up +with "-fabi-version=6" in CXXFLAGS, which then gets propagated to +users of "givaro-config --cflags", like fflas-ffpack. + +This is already fixed upstream, but not in a release, and not in a +way that I care to backport. Here we just hack the configure script +directly since the change is so trivial. +--- + configure | 5 - + 1 file changed, 5 deletions(-) + +diff --git a/configure b/configure +index 1eb75b0..f3bbb52 100755 +--- a/configure b/configure +@@ -17172,11 +17172,6 @@ fi + + echo "---" + +-if test "x$CCNAM" = "xgcc48"; then : +- REQUIRED_FLAGS="${REQUIRED_FLAGS} -fabi-version=6" +-fi +- +- + + # Machine characteristics + +-- +2.31.1 + diff --git a/sci-libs/givaro/givaro-4.1.1-r2.ebuild b/sci-libs/givaro/givaro-4.1.1-r2.ebuild new file mode 100644 index 000..2e76210dd2e --- /dev/null +++ b/sci-libs/givaro/givaro-4.1.1-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="C++ library for arithmetic and algebraic computations" +HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/; +SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz; + +LICENSE="CeCILL-B" +SLOT="0/9" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + app-doc/doxygen[dot] + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + ) +" +DEPEND="dev-libs/gmp:0[cxx(+)]" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README.md ) + +PATCHES=( "${FILESDIR}/givaro-4.1.1-gcc-10.patch" ) + +src_configure() { + # Passing "--disable-doc" also accidentally enables building + # the documentation, so we can't just $(use_enable doc) here. + # https://github.com/linbox-team/givaro/issues/148 + econf \ + $(usex doc --enable-doc "" "" "") \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable static-libs static) \ + $(use_enable cpu_flags_x86_fma3 fma) \ + $(use_enable cpu_flags_x86_fma4 fma4) \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable cpu_flags_x86_sse3 sse3) \ + $(use_enable cpu_flags_x86_ssse3 ssse3) \ + $(use_enable cpu_flags_x86_sse4_1 sse41) \ + $(use_enable cpu_flags_x86_sse4_2 sse42) \ + $(use_enable cpu_flags_x86_avx avx) \ + $(use_enable cpu_flags_x86_avx2 avx2) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: d7881de70e3450e62eb3c93dda1e7ec7f5f78247 Author: David Seifert gentoo org> AuthorDate: Fri Jun 18 13:15:15 2021 + Commit: David Seifert gentoo org> CommitDate: Fri Jun 18 13:15:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7881de7 sci-libs/givaro: Depend on dev-libs/gmp[cxx(+)] Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: David Seifert gentoo.org> sci-libs/givaro/{givaro-4.1.1.ebuild => givaro-4.1.1-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/givaro/givaro-4.1.1.ebuild b/sci-libs/givaro/givaro-4.1.1-r1.ebuild similarity index 98% rename from sci-libs/givaro/givaro-4.1.1.ebuild rename to sci-libs/givaro/givaro-4.1.1-r1.ebuild index 82c862d823f..6a3e28a1f14 100644 --- a/sci-libs/givaro/givaro-4.1.1.ebuild +++ b/sci-libs/givaro/givaro-4.1.1-r1.ebuild @@ -23,7 +23,7 @@ BDEPEND=" dev-texlive/texlive-latexextra ) " -DEPEND="dev-libs/gmp:0[cxx]" +DEPEND="dev-libs/gmp:0[cxx(+)]" RDEPEND="${DEPEND}" DOCS=( AUTHORS ChangeLog README.md )
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: e01281320eb76887b1791a1bdd4776dcfb6a2cd8 Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 6 15:15:00 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 6 15:15:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0128132 sci-libs/givaro: drop x86-macos Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> sci-libs/givaro/givaro-4.1.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-libs/givaro/givaro-4.1.1.ebuild b/sci-libs/givaro/givaro-4.1.1.ebuild index 935649abda6..82c862d823f 100644 --- a/sci-libs/givaro/givaro-4.1.1.ebuild +++ b/sci-libs/givaro/givaro-4.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar LICENSE="CeCILL-B" SLOT="0/9" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: 24ec5bf3e8e9bfa2a4adaec9bc7359e6e32e5ec0 Author: Matthias Maier gentoo org> AuthorDate: Sun Mar 1 18:20:42 2020 + Commit: Matthias Maier gentoo org> CommitDate: Sun Mar 1 18:35:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ec5bf3 sci-libs/givaro: remove app-doc/doxygen[latex] dependency Bug: https://bugs.gentoo.org/430914 Bug: https://bugs.gentoo.org/709316 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Matthias Maier gentoo.org> sci-libs/givaro/givaro-4.1.1.ebuild | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sci-libs/givaro/givaro-4.1.1.ebuild b/sci-libs/givaro/givaro-4.1.1.ebuild index dbf9f885019..935649abda6 100644 --- a/sci-libs/givaro/givaro-4.1.1.ebuild +++ b/sci-libs/givaro/givaro-4.1.1.ebuild @@ -13,7 +13,16 @@ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" RESTRICT="!test? ( test )" -BDEPEND="doc? ( app-doc/doxygen[dot,latex] )" +BDEPEND=" + doc? ( + app-doc/doxygen[dot] + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + ) +" DEPEND="dev-libs/gmp:0[cxx]" RDEPEND="${DEPEND}"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: a420b8501ce29a7dfb0659db52054c0fd9a42644 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 24 12:49:35 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 24 12:49:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a420b850 sci-libs/givaro: x86 stable wrt bug #710352 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sci-libs/givaro/givaro-4.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/givaro/givaro-4.1.1.ebuild b/sci-libs/givaro/givaro-4.1.1.ebuild index 855ef5115ac..dbf9f885019 100644 --- a/sci-libs/givaro/givaro-4.1.1.ebuild +++ b/sci-libs/givaro/givaro-4.1.1.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar LICENSE="CeCILL-B" SLOT="0/9" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: befb36b53a92f58d13571de746ceef46e4dde9db Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Feb 21 15:56:41 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Feb 21 15:56:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=befb36b5 sci-libs/givaro: amd64 stable wrt bug #710352 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sci-libs/givaro/givaro-4.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/givaro/givaro-4.1.1.ebuild b/sci-libs/givaro/givaro-4.1.1.ebuild index 68976e9c194..69b4607b940 100644 --- a/sci-libs/givaro/givaro-4.1.1.ebuild +++ b/sci-libs/givaro/givaro-4.1.1.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar LICENSE="CeCILL-B" SLOT="0/9" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
commit: f55ae9efddb800bf890f4b52ff0e0e11a118d8a5 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Jan 1 15:08:14 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Jan 1 19:28:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55ae9ef sci-libs/givaro: new C++ library for arithmetic/algebraic computing. The latest version givaro-4.1.1 was imported from the sage-on-gentoo overlay with the following changes: * The homepage (which was redirecting) was updated. * The obsolete "bindist" flag was dropped. * The test suite was enabled; it passes without incident for me. * Support for the sse/sse2 CPU flags was added. * USE=doc will now build the API documentation. The SageMath project can detect and use the system copy of givaro, so having this installed will help Gentoo users avoid pointless rebuilds of givaro. Closes: https://bugs.gentoo.org/704458 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/givaro/Manifest| 1 + sci-libs/givaro/givaro-4.1.1.ebuild | 45 + sci-libs/givaro/metadata.xml| 24 3 files changed, 70 insertions(+) diff --git a/sci-libs/givaro/Manifest b/sci-libs/givaro/Manifest new file mode 100644 index 000..6682189b6b2 --- /dev/null +++ b/sci-libs/givaro/Manifest @@ -0,0 +1 @@ +DIST givaro-4.1.1.tar.gz 1008358 BLAKE2B 246fd1a263174f58d96dd66fa79e6113368b6c318c33d68858a339bd9cb778dfda84636c683ee9d02f2ac72ccff8ac22d395b92741448a8ed2ce08c041ac8ba9 SHA512 7ad15ac24f55ad65c9c5d0d48ff4388d0494e75dc7b66d1e139195cd086ff2371259bdb5df940fead1db2fd378bb76289f2327a8d6f41575d99d424a74cf644c diff --git a/sci-libs/givaro/givaro-4.1.1.ebuild b/sci-libs/givaro/givaro-4.1.1.ebuild new file mode 100644 index 000..68976e9c194 --- /dev/null +++ b/sci-libs/givaro/givaro-4.1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="C++ library for arithmetic and algebraic computations" +HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/; +SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz; + +LICENSE="CeCILL-B" +SLOT="0/9" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-doc/doxygen[dot,latex] )" +DEPEND="dev-libs/gmp:0[cxx]" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README.md ) + +src_configure(){ + # Passing "--disable-doc" also accidentally enables building + # the documentation, so we can't just $(use_enable doc) here. + # https://github.com/linbox-team/givaro/issues/148 + econf \ + $(usex doc --enable-doc "" "" "") \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable static-libs static) \ + $(use_enable cpu_flags_x86_fma3 fma) \ + $(use_enable cpu_flags_x86_fma4 fma4) \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable cpu_flags_x86_sse3 sse3) \ + $(use_enable cpu_flags_x86_ssse3 ssse3) \ + $(use_enable cpu_flags_x86_sse4_1 sse41) \ + $(use_enable cpu_flags_x86_sse4_2 sse42) \ + $(use_enable cpu_flags_x86_avx avx) \ + $(use_enable cpu_flags_x86_avx2 avx2) +} + +src_install(){ + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/sci-libs/givaro/metadata.xml b/sci-libs/givaro/metadata.xml new file mode 100644 index 000..e1c0c3cbd9c --- /dev/null +++ b/sci-libs/givaro/metadata.xml @@ -0,0 +1,24 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +m...@gentoo.org + + + +frp.bis...@gmail.com +François Bissey + + +proxy-ma...@gentoo.org +Proxy Maintainers + + + +linbox-team/givaro + +