summaryrefslogtreecommitdiff
path: root/sci-mathematics/flint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
commitd7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch)
tree1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /sci-mathematics/flint
parentabaa75b10f899ada8dd05b23cc03205064394bc6 (diff)
gentoo resync : 29.01.2021
Diffstat (limited to 'sci-mathematics/flint')
-rw-r--r--sci-mathematics/flint/Manifest8
-rw-r--r--sci-mathematics/flint/flint-2.6.3.ebuild63
-rw-r--r--sci-mathematics/flint/flint-2.7.1.ebuild (renamed from sci-mathematics/flint/flint-2.7.0.ebuild)11
-rw-r--r--sci-mathematics/flint/metadata.xml38
4 files changed, 102 insertions, 18 deletions
diff --git a/sci-mathematics/flint/Manifest b/sci-mathematics/flint/Manifest
index 406ba3b3423b..cc16de767f02 100644
--- a/sci-mathematics/flint/Manifest
+++ b/sci-mathematics/flint/Manifest
@@ -4,7 +4,9 @@ AUX flint-2.5.2-utf8.patch 625 BLAKE2B ab76e01125f0f483b09c22a30656019963a98629c
AUX flint-2.6.0-multilib-strict.patch 622 BLAKE2B d383ce45fb82fabd62530cc15a8bda65f1b088a115985469cd5bfd13d96d0bb9a21d9a073d78aa7ee98f08bd3f75f81445f274777562bca8f317b553cb8483cd SHA512 d360d3d57427d66dedb2f12b2dad03dbbe8530b0bec4184829eed7d8ba534eb8d6e24b302b149dfb852e0415d2612ec9e6312f8f2ac6f0f6a264b8a1f0a66a78
AUX flintxx-include.patch 507 BLAKE2B 250e54de1ab5b70cffdac7348b78db543cbdb366efa419dea62ffed2b0b5f95b787019e96fb95b9253b5289d58a2322b41f660f1719516e410e4245b09accb7b SHA512 144dc23d8706e22c6ac5d50bc2ce6c9e2eb8016155bec48a809bceec435d07781105c073b669302132963f063ab1c311e7381f78cc29a0141ca78eceb25aa0dc
DIST flint-2.5.2.tar.gz 2212242 BLAKE2B 36b9b1f2acb1d79534d85884d755fddba3b8b40efbe92aeeecd7d1526cd21f0849054c30d23c565c6a13c609992cf22f56f5b640da15e1c7e6ba6840fc710d47 SHA512 cce36947b558aabecaf780171b4bbc0e1330c3b1a7e3580717584be5cab4991d33b190531c7995b224a3a440e28c4a610d6f781901e29f48ced12a9c5ba960a2
-DIST flint-2.7.0.tar.gz 4943210 BLAKE2B a23b79195c71ef4691a450a82daded3de56eb51df1b3c850e13200527fff08da668281f350d7278ff52187eba8b7d9b27f4e69fafcaf771d8a01d72c6925b062 SHA512 6eac3d6fc306cacf482379074cba0d109aae4fbe8f907c17bcfe0afc2e8603c0fbe80e88a1ac374d9fa6d87aa59eb2b973f225a69da6dcc647255f060ad8711f
+DIST flint-2.6.3.tar.gz 4526340 BLAKE2B d663b44166cd857f83c2752eb4d4f6dc45eb8de535089e5dbe9939ac1464f1d69f66b62184644fff1ecd1d171f389d5ab874873def670c702733a0eba17bfd13 SHA512 8e71570364c789b1d4eaaa5f5adf10212cab47bf1a9f45c333211035ed021a86bb7b1de1feec51e83b2e113e8168853e370f127d2d2b1e941a12aec71fe8ae9e
+DIST flint-2.7.1.tar.gz 4945081 BLAKE2B 9dcc4b0062be08778cd8ada1794a73237ea091a7bff4a4673aa59eac9b414ed90e0291b9547bdf72aa30e48da11f98ff983267ea2e3dd1d75fcec00b24c86ca9 SHA512 abea97228e91089d82a9a44714e719064bef261c45f5f5b24700955bb841cc98a8182e04e6054fcbcaa3bd92f2f95a82bd5d168ec2171af6a58d4f71eb0a479a
EBUILD flint-2.5.2-r1.ebuild 1714 BLAKE2B e1e6770c375f95ac1bb5d4284ffc205ba4a95d9933799718862ab31a12c87c3da9ed0c46509b808856a3663eef1d4bbd0c7334d9b1f76a192d66e196a2eb1683 SHA512 4ee441362d871807a93a9e9ab8d5a4d261f1c87ae0802525a780855ceb93666f3ca721a0fcbfc7d341522a0c8d81e3b28765ba6a1246a3535881e35e20ec24dd
-EBUILD flint-2.7.0.ebuild 1190 BLAKE2B 58b110471c0df4a259995a710b692ff4552e55e0e6e0b12e23421557a6773443115388b17a90bc5ba86e42f5007edf22797e582d5fb9ee0570537b92c77639bf SHA512 140c49b72df14f36c01f6e6c51f2fc370b33ca65c4716932022996afdec4a0ed10edee67b1fddd8a51f8a0ba5986ad7f94fa02e704cedbc3864281f01280bb64
-MISC metadata.xml 481 BLAKE2B f0d2cbeda37050bec654c0cba3c45b7340f37b29aa570c744d0a882f662481e7d8d777f48b0530fa23090807d9ad0a913733f4d55a3661f82322cfe544b90508 SHA512 63b38afaf08270df42d3a26cca9f5f491562dd89d8e9c43def3849a624d6694343147e47a602d75e44a656a8db1f7cb06885534fe39917cb46f2f895efc8ff16
+EBUILD flint-2.6.3.ebuild 1153 BLAKE2B db2e757d09fcd7754dff05c0da465d295fe26753e29282c2ca949bb80e74513fc879cf5ee664114988f44205b2d9c2fc1935581af5aede60c5a40900ca361c3b SHA512 69d392cbe82164d023084bde97fd18bff00f35a6497b05ce1adedc45713c60d028248e972f01342a9a22abc8cbe668a59e346f6c4afea107af4325893f969a0c
+EBUILD flint-2.7.1.ebuild 1319 BLAKE2B 8accb1c103114794494780952c1efa638554045f52a7ecb3e54d9849b0fa98700605efd12aa4ef8aa4b0cce50dfbafff0b28988fe0b12841227ac76c8d0fc81b SHA512 f2022e7d4d486be80105c72d4f8a856a9eb5be9edc1be5ec4f59466cbf1dca573da09d84760b19735644e47e2d789eb5262bf0277c0e03d8acb9901d2783c008
+MISC metadata.xml 822 BLAKE2B b18146ba57c33f056943afee0473c917bea562fc970294aa7b09228f56aca29c8df1a59d4b706139397e61ace23de7cdad48856d71a433e15412a9e18e1276d3 SHA512 62c12622e265f00206c60a97c6ff53491c62c80acccb339f57e837741995c6452802395476dd19b8a73170dcf66ffce6795553471379a5113d8330786b123a14
diff --git a/sci-mathematics/flint/flint-2.6.3.ebuild b/sci-mathematics/flint/flint-2.6.3.ebuild
new file mode 100644
index 000000000000..74e214a6f88b
--- /dev/null
+++ b/sci-mathematics/flint/flint-2.6.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} )
+inherit cmake-utils 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+"
+SLOT="0/14"
+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
+ )
+ ${PYTHON_DEPS}"
+DEPEND="dev-libs/gmp:=
+ dev-libs/mpfr:=
+ ntl? ( dev-libs/ntl:= )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.6.0-multilib-strict.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_NTL="$(usex ntl)"
+ -DBUILD_TESTING="$(usex test)"
+ -DBUILD_DOCS="$(usex doc)"
+ )
+
+ cmake-utils_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-utils_src_compile
+
+ if use doc ; then
+ cmake-utils_src_make html
+ cmake-utils_src_make pdf
+ fi
+}
diff --git a/sci-mathematics/flint/flint-2.7.0.ebuild b/sci-mathematics/flint/flint-2.7.1.ebuild
index d61fd70522a9..1afcfef9754b 100644
--- a/sci-mathematics/flint/flint-2.7.0.ebuild
+++ b/sci-mathematics/flint/flint-2.7.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
@@ -25,20 +25,25 @@ BDEPEND="doc? (
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:= )"
+ ntl? ( dev-libs/ntl:= )
+ virtual/cblas"
RDEPEND="${DEPEND}"
-PATCHES=( "${FILESDIR}/${PN}-2.6.0-multilib-strict.patch" )
+# ninja doesn't like "-lcblas" so using make.
+CMAKE_MAKEFILE_GENERATOR="emake"
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
diff --git a/sci-mathematics/flint/metadata.xml b/sci-mathematics/flint/metadata.xml
index d455fe29d0e2..d07a5a09b6d3 100644
--- a/sci-mathematics/flint/metadata.xml
+++ b/sci-mathematics/flint/metadata.xml
@@ -1,16 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
- <upstream>
- <remote-id type="github">wbhart/flint2</remote-id>
- </upstream>
- <use>
- <flag name="gc">Enable garbage collection
- support via <pkg>dev-libs/boehm-gc</pkg></flag>
- <flag name="ntl">Build NTL interface</flag>
- </use>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+
+ <maintainer type="person">
+ <email>mjo@gentoo.org</email>
+ </maintainer>
+
+ <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">wbhart/flint2</remote-id>
+ </upstream>
+ <use>
+ <flag name="gc">Enable garbage collection
+ support via <pkg>dev-libs/boehm-gc</pkg></flag>
+ <flag name="ntl">Build NTL interface</flag>
+ </use>
</pkgmetadata>