From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/
Date: Wed, 1 Jan 2020 19:35:58 +0000 (UTC) [thread overview]
Message-ID: <1577906936.f55ae9efddb800bf890f4b52ff0e0e11a118d8a5.mjo@gentoo> (raw)
commit: f55ae9efddb800bf890f4b52ff0e0e11a118d8a5
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 1 15:08:14 2020 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Jan 1 19:28:56 2020 +0000
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 <mjo <AT> 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 00000000000..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 00000000000..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 00000000000..e1c0c3cbd9c
--- /dev/null
+++ b/sci-libs/givaro/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mjo@gentoo.org</email>
+ </maintainer>
+ <!--
+ mjo: François maintained this package in the sage-on-gentoo overlay
+ long before I moved it into ::gentoo. You don't need an ACK from me
+ to merge his changes.
+ -->
+ <maintainer type="person">
+ <email>frp.bissey@gmail.com</email>
+ <name>François Bissey</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+
+ <upstream>
+ <remote-id type="github">linbox-team/givaro</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2020-01-01 19:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-01 19:35 Michael Orlitzky [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-21 15:57 [gentoo-commits] repo/gentoo:master commit in: sci-libs/givaro/ Agostino Sarubbo
2020-02-24 12:50 Agostino Sarubbo
2020-03-01 18:36 Matthias Maier
2021-01-06 15:17 Fabian Groffen
2021-06-18 13:15 David Seifert
2021-11-02 15:47 Sam James
2021-11-02 15:47 Sam James
2021-11-02 18:11 Michael Orlitzky
2022-10-24 7:19 Joonas Niilola
2022-10-24 7:19 Joonas Niilola
2022-10-24 13:39 Michael Orlitzky
2024-04-09 17:32 Arthur Zamarin
2024-08-25 21:36 Michael Orlitzky
2025-04-28 11:02 Michael Orlitzky
2025-04-28 11:02 Michael Orlitzky
2025-04-29 0:45 Michael Orlitzky
2025-06-22 19:27 Arthur Zamarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1577906936.f55ae9efddb800bf890f4b52ff0e0e11a118d8a5.mjo@gentoo \
--to=mjo@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox