commit: b1ea7bea808d672502c8e59dbedcf5f48dc8b8e5 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Tue Apr 29 00:44:43 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Tue Apr 29 00:45:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ea7bea
sci-libs/givaro: add 4.2.1 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-libs/givaro/Manifest | 1 + sci-libs/givaro/givaro-4.2.1.ebuild | 47 +++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/sci-libs/givaro/Manifest b/sci-libs/givaro/Manifest index 1b16b256a854..f0f5a4c135d8 100644 --- a/sci-libs/givaro/Manifest +++ b/sci-libs/givaro/Manifest @@ -1 +1,2 @@ DIST givaro-4.2.0.tar.gz 969595 BLAKE2B 07c9f08269ee60c06b1589e56ccf61870df6c7cab93fb8ebf27791d9231b153a2da9aed296105fd6dcd52aaa7d27ea03eacd6f2066d29de267455c9ca3747995 SHA512 1a3280563181710d364b77e1efe8c8f52ce3119a08b35f329cfd98136a742431b7e9d102289448d337797f815439682d0cfce1567a5a88d5851b244673a84486 +DIST givaro-4.2.1.tar.gz 1036238 BLAKE2B 875ce705a319e4c19b7662cd9e147313924315d49d53d4199d24fe7356859f735b22d73d2694a3a4958a9132493ad9deae60197c80b3249615c716c6212e8cc2 SHA512 120eaf61e820398bd9eb9df325a18241be4563cf654cf244f0a2b8b54347e8ea45da1d61979b0fc527e2f7f238d79ea493216a25c02d9d7e504f7443d05162d4 diff --git a/sci-libs/givaro/givaro-4.2.1.ebuild b/sci-libs/givaro/givaro-4.2.1.ebuild new file mode 100644 index 000000000000..b249b8515c81 --- /dev/null +++ b/sci-libs/givaro/givaro-4.2.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 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 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + app-text/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_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable doc) +} + +src_install() { + default + find "${ED}" -type f -name '*.la' -delete || die +}
