sci-libs/fplll: new version 5.3.2.
authorMichael Orlitzky <mjo@gentoo.org>
Tue, 4 Feb 2020 18:46:57 +0000 (13:46 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Tue, 4 Feb 2020 18:48:53 +0000 (13:48 -0500)
This new version is based on François's v5.3.1 ebuild in the
sage-on-gentoo overlay. I investigated adding support for the
sci-libs/qd package, but the build system is a bit weird about it at
the moment, so ultimately there's only one important change: I've
bumped the subslot to match the first component (6) of the soname.
The EAPI was also updated to 7 uneventfully.

Closes: https://bugs.gentoo.org/708198
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
sci-libs/fplll/Manifest
sci-libs/fplll/fplll-5.3.2.ebuild [new file with mode: 0644]

index 5f37068f156ee9f17729fe747928712cf60cf722..ea33ec4e94bcb6a273c14fc53683f4b4d1fdb7ca 100644 (file)
@@ -1 +1,2 @@
+DIST fplll-5.3.2.tar.gz 1284989 BLAKE2B 66d022c1a6acb3f029c871bebf4925ec5f9447af71829c6d52f2065155bf75f075965a41918722d095546ca18e8e87a85f181a76f5e42abd20c8de8165210bab SHA512 eacd990c468b1d919e1d6cc04f99656d982d5a3807970e0a1dd910a2703eb5b8eff913bc5c0e45790a547bb7aa71189fb9022024186bb84ee04d8602c9980ac2
 DIST libfplll-4.0.4.tar.gz 413519 BLAKE2B afeea5a813d3d5b1b7fe3e81d5a8e9bce66ee4f8a3d265dacaa0ba7ff2f632f0f533182027322e2fd17645f5bc5816b266b167da0e36a00a38f73e794e22a522 SHA512 81cf61118f0dadca8fd82cc58df2fb5f0dc3ddd15a9b5de95a7777e0ece77d8f6a6d50d14ba7fdd6be6697cf375fac2e60792c94cc65f5a181c427dea84d552d
diff --git a/sci-libs/fplll/fplll-5.3.2.ebuild b/sci-libs/fplll/fplll-5.3.2.ebuild
new file mode 100644 (file)
index 0000000..13f7fa2
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Implementations of the floating-point LLL reduction algorithm"
+HOMEPAGE="https://github.com/fplll/fplll"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0/6"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+BDEPEND=""
+DEPEND="dev-libs/gmp:0
+       dev-libs/mpfr:0"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       # Support for --with-qd is problematic at the moment.
+       # https://github.com/fplll/fplll/issues/405
+       econf $(use_enable static-libs static)
+}
+
+src_install(){
+       default
+       find "${ED}" -name '*.la' -delete || die
+}