From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/arb/
Date: Tue, 25 Jul 2017 19:45:23 +0000 (UTC) [thread overview]
Message-ID: <1501011889.9f74757ef0d4150ba7607e041201524b1f42a173.bicatali@gentoo> (raw)
commit: 9f74757ef0d4150ba7607e041201524b1f42a173
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 21:02:49 2017 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Jul 25 19:44:49 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f74757e
sci-mathematics/arb: initial import, with help from sage-on-gentoo overlay
Package-Manager: Portage-2.3.6, Repoman-2.3.3
sci-mathematics/arb/Manifest | 1 +
sci-mathematics/arb/arb-2.11.1.ebuild | 55 +++++++++++++++++++++++++++++++++++
sci-mathematics/arb/metadata.xml | 18 ++++++++++++
3 files changed, 74 insertions(+)
diff --git a/sci-mathematics/arb/Manifest b/sci-mathematics/arb/Manifest
new file mode 100644
index 00000000000..6023a2fe954
--- /dev/null
+++ b/sci-mathematics/arb/Manifest
@@ -0,0 +1 @@
+DIST arb-2.11.1.tar.gz 1248835 SHA256 de37f008fd154bd4b9c3fd7f5b0f13928cd109358d01959a98245fe33d08bf63 SHA512 7a014da5208b55f20c7a3cd3eb51070b09ae107b04cbbd6329925780c2ab4d7c38e1fb3619f21456fa806939818370fcae921f59eb013661b6bdd3d0971e3353 WHIRLPOOL 12cd12786e60a5f37da6c1623468e2f8908af2dfa553bc50261f6735e0513ab34400da3e06d99128b2197add6d371a9c1ea732012ae3bd5ab3bd97de6a18520f
diff --git a/sci-mathematics/arb/arb-2.11.1.ebuild b/sci-mathematics/arb/arb-2.11.1.ebuild
new file mode 100644
index 00000000000..bea3d8d89ec
--- /dev/null
+++ b/sci-mathematics/arb/arb-2.11.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="C library for arbitrary-precision interval arithmetic"
+HOMEPAGE="http://fredrikj.net/arb/"
+SRC_URI="https://github.com/fredrik-johansson/arb/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0/2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos"
+IUSE="static-libs"
+
+RDEPEND="
+ dev-libs/gmp:0=
+ dev-libs/mpfr:0=
+ >=sci-mathematics/flint-2.5.0:=
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ # Not an autoconf configure script.
+ # Note that it appears to have been cloned from the flint configure script
+ # and that not all the options offered are valid.
+ tc-export CC AR CXX
+ ./configure \
+ --prefix="${EPREFIX}/usr" \
+ --with-flint="${EPREFIX}/usr" \
+ --with-gmp="${EPREFIX}/usr" \
+ --with-mpfr="${EPREFIX}/usr" \
+ $(use_enable static-libs static) || die
+}
+
+src_compile() {
+ emake verbose
+}
+
+src_test() {
+ # Have to set the library path otherwise a previous install of libarb may be loaded.
+ # This is in part a consequence of setting the soname/installnae I think.
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ DYLD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
+ else
+ LD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
+ use static-libs || prune_libtool_files --all
+ dodoc README.md
+}
diff --git a/sci-mathematics/arb/metadata.xml b/sci-mathematics/arb/metadata.xml
new file mode 100644
index 00000000000..5830a1d45f9
--- /dev/null
+++ b/sci-mathematics/arb/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-mathematics@gentoo.org</email>
+ <name>Gentoo Mathematics Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Arb is a C library for arbitrary-precision interval arithmetic,
+ using a midpoint-radius representation (“ball arithmetic”). It
+ supports real and complex numbers, polynomials, power series,
+ matrices, and evaluation of many transcendental functions. All
+ operations are done with automatic, rigorous error bounds.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">fredrik-johansson/arb</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2017-07-25 19:45 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 19:45 Sebastien Fabbro [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-06-02 5:25 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/arb/ Andrey Grozin
2020-02-27 22:27 Michael Orlitzky
2020-02-27 22:27 Michael Orlitzky
2020-03-09 12:39 Agostino Sarubbo
2020-03-09 12:48 Agostino Sarubbo
2020-08-12 17:33 Michael Orlitzky
2020-10-27 5:11 Sam James
2020-10-27 19:58 Sam James
2021-01-06 15:19 Fabian Groffen
2021-01-27 3:06 Sam James
2021-04-05 14:07 Andreas Sturmlechner
2021-04-09 1:05 Michael Orlitzky
2021-05-04 19:10 Sam James
2021-11-22 3:07 Yixun Lan
2021-12-06 7:08 Agostino Sarubbo
2021-12-06 11:31 Agostino Sarubbo
2021-12-06 21:49 Michael Orlitzky
2022-01-18 21:50 Jakov Smolić
2022-01-18 21:50 Jakov Smolić
2022-02-02 11:30 Andrey Grozin
2022-07-01 21:31 Michael Orlitzky
2022-11-18 17:29 Arthur Zamarin
2023-04-16 12:11 WANG Xuerui
2023-11-25 5:28 Sam James
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=1501011889.9f74757ef0d4150ba7607e041201524b1f42a173.bicatali@gentoo \
--to=bicatali@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