public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/flint/
Date: Thu, 30 Sep 2021 11:57:37 +0000 (UTC)	[thread overview]
Message-ID: <1633002639.5d6befa9534be892fb80ff06818f4d867d89590c.mjo@gentoo> (raw)

commit:     5d6befa9534be892fb80ff06818f4d867d89590c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 29 19:42:12 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Sep 30 11:50:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d6befa9

sci-mathematics/flint: new upstream version 2.8.0.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/flint/Manifest           |  1 +
 sci-mathematics/flint/flint-2.8.0.ebuild | 68 ++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/sci-mathematics/flint/Manifest b/sci-mathematics/flint/Manifest
index bf41b8b7db5..04321071c43 100644
--- a/sci-mathematics/flint/Manifest
+++ b/sci-mathematics/flint/Manifest
@@ -1 +1,2 @@
 DIST flint-2.7.1.tar.gz 4945081 BLAKE2B 9dcc4b0062be08778cd8ada1794a73237ea091a7bff4a4673aa59eac9b414ed90e0291b9547bdf72aa30e48da11f98ff983267ea2e3dd1d75fcec00b24c86ca9 SHA512 abea97228e91089d82a9a44714e719064bef261c45f5f5b24700955bb841cc98a8182e04e6054fcbcaa3bd92f2f95a82bd5d168ec2171af6a58d4f71eb0a479a
+DIST flint-2.8.0.tar.gz 5209922 BLAKE2B 801c6130b3e8119998c3288d243358f567a843597c425cf5edcd37f6dd0f71a5d796e5dc3c8f3ffb8407f8e6dc01a3f4c62daa758e62eee2bbbf6ed07f1721e0 SHA512 91125f7c3aaccb40768091c36c11b5fb5d1e5010e7cb71145d18d348606baa1e72aeae27baa826c00c4a190c39ef19af9488357d0d5634a7c5774e9aeeaef3fc

diff --git a/sci-mathematics/flint/flint-2.8.0.ebuild b/sci-mathematics/flint/flint-2.8.0.ebuild
new file mode 100644
index 00000000000..c0196d38a19
--- /dev/null
+++ b/sci-mathematics/flint/flint-2.8.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja doesn't like "-lcblas" so using make.
+CMAKE_MAKEFILE_GENERATOR="emake"
+PYTHON_COMPAT=( python3_{7..9} )
+inherit cmake python-any-r1
+
+DESCRIPTION="Fast Library for Number Theory"
+HOMEPAGE="http://www.flintlib.org/"
+SRC_URI="http://www.flintlib.org/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+
+# Based off the soname, e.g. /usr/lib64/libflint.so -> libflint.so.15
+SLOT="0/16"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="doc ntl test"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="doc? (
+	dev-python/sphinx
+	app-text/texlive-core
+	dev-texlive/texlive-latex
+	dev-texlive/texlive-latexextra
+	dev-tex/latexmk
+	)
+	${PYTHON_DEPS}"
+DEPEND="dev-libs/gmp:=
+	dev-libs/mpfr:=
+	ntl? ( dev-libs/ntl:= )
+	virtual/cblas"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DWITH_NTL="$(usex ntl)"
+		-DBUILD_TESTING="$(usex test)"
+		-DBUILD_DOCS="$(usex doc)"
+		-DCBLAS_INCLUDE_DIRS="${EPREFIX}/usr/include"
+		-DCBLAS_LIBRARIES="-lcblas"
+	)
+
+	cmake_src_configure
+
+	if use doc ; then
+		HTML_DOCS="${BUILD_DIR}/html/*"
+		DOCS=(
+			"${S}"/README
+			"${S}"/AUTHORS
+			"${S}"/NEWS
+			"${BUILD_DIR}"/latex/Flint.pdf
+		)
+	fi
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use doc ; then
+		cmake_build html
+		cmake_build pdf
+	fi
+}


             reply	other threads:[~2021-09-30 11:57 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 11:57 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-19  0:19 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/flint/ Michael Orlitzky
2024-08-03  6:14 Joonas Niilola
2024-08-02 16:19 Sam James
2024-05-29 12:15 Sam James
2024-05-29  5:55 Joonas Niilola
2023-11-24 17:04 Arthur Zamarin
2023-07-15 22:09 Michael Orlitzky
2023-04-16 12:11 WANG Xuerui
2022-11-18 17:29 Arthur Zamarin
2022-07-01 21:31 Michael Orlitzky
2022-05-26 22:20 Michael Orlitzky
2022-01-18 21:50 Jakov Smolić
2022-01-18 21:50 Jakov Smolić
2021-11-22  3:07 Yixun Lan
2021-11-18 23:50 Georgy Yakovlev
2021-11-17 23:59 Michael Orlitzky
2021-11-03 21:04 Michael Orlitzky
2021-10-02 15:01 Michael Orlitzky
2021-08-02  0:43 Sam James
2021-05-31 20:45 David Seifert
2021-05-29  8:53 Agostino Sarubbo
2021-05-29  8:41 Agostino Sarubbo
2021-05-04 19:10 Sam James
2021-04-02 14:04 Sam James
2021-03-15 17:47 Michael Orlitzky
2021-01-27  3:06 Sam James
2021-01-25 14:07 Sam James
2021-01-23 15:33 Michael Orlitzky
2021-01-23 15:33 Michael Orlitzky
2021-01-23 15:33 Michael Orlitzky
2021-01-23 15:33 Michael Orlitzky
2020-12-18 22:48 Michael Orlitzky
2020-10-27 19:58 Sam James
2020-08-12 17:33 Michael Orlitzky
2020-04-06  7:34 Agostino Sarubbo
2020-04-04 10:52 Sergei Trofimovich
2020-03-09 20:22 Andreas Sturmlechner
2020-03-09 12:48 Agostino Sarubbo
2020-03-09 12:39 Agostino Sarubbo
2019-12-12 16:46 Michał Górny
2017-09-24 19:17 Thomas Deutschmann
2017-09-24 19:17 Thomas Deutschmann
2016-03-02 19:38 Markus Meier
2016-01-05  9:42 Patrick Lauer
2015-11-12 10:11 Agostino Sarubbo

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=1633002639.5d6befa9534be892fb80ff06818f4d867d89590c.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