sci-mathematics/flint: Drop 2.4.5 and 2.5.2 (r0)

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2020-03-09 21:00:13 +01:00
parent 7f59407871
commit e8ac08fdb4
3 changed files with 0 additions and 141 deletions

View File

@@ -1,3 +1,2 @@
DIST flint-2.4.4.tar.gz 1639262 BLAKE2B 54162a4d2f02c3e8e441b6a96c1e7ba4e5e8d8ad7b2d36bb7ead49bb112cd94403cb503d1e56621a0a6fedad6387e63dc39888ff3757e298aea55bf55acc4e20 SHA512 236997cf64bdc96741740889f450fdbaf7d7e9b58252645f864d28005c9e7bdf87f7187cd17526606c605f0489f026398a1361b8f209f71158ca3b31c42d86d2
DIST flint-2.4.5.tar.gz 1640022 BLAKE2B 1267d81bb0270556614ebc8bff65287e0b3738ba0f3245f066ee7ea6971ab4d9082beb2c0a336dcd5b9c1517261aaf55c0bee519c6f71984834a7920002ad95c SHA512 088ff512ea2330f9323a6ca0dc875e8c0926d755317d6007eba4b333a14d7612e82ebcfeabd26d1ec4b9204c4517dee08f914ad1ec852e37336fe378710a8bfc
DIST flint-2.5.2.tar.gz 2212242 BLAKE2B 36b9b1f2acb1d79534d85884d755fddba3b8b40efbe92aeeecd7d1526cd21f0849054c30d23c565c6a13c609992cf22f56f5b640da15e1c7e6ba6840fc710d47 SHA512 cce36947b558aabecaf780171b4bbc0e1330c3b1a7e3580717584be5cab4991d33b190531c7995b224a3a440e28c4a610d6f781901e29f48ced12a9c5ba960a2

View File

@@ -1,73 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit eutils multilib toolchain-funcs
DESCRIPTION="Fast Library for Number Theory"
HOMEPAGE="http://www.flintlib.org/"
SRC_URI="http://www.flintlib.org/${P}.tar.gz"
RESTRICT="mirror !test? ( test )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc gc ntl static-libs test"
RDEPEND="dev-libs/gmp:0=
dev-libs/mpfr:0
gc? ( dev-libs/boehm-gc )
ntl? ( dev-libs/ntl )"
DEPEND="${RDEPEND}
doc? (
app-text/texlive-core
dev-texlive/texlive-latex
dev-texlive/texlive-latexextra
)"
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.4.3-libdir.patch \
"${FILESDIR}"/${PN}-2.4.3-whitespaces.patch \
"${FILESDIR}"/${PN}-2.4.3-cflags-ldflags.patch \
"${FILESDIR}"/${PN}-2.4.4-test.patch \
"${FILESDIR}"/${PN}-2.4.5-gmp6-compat.patch \
"${FILESDIR}"/${PN}-2.4.5-ntl62.patch \
"${FILESDIR}"/${PN}-2.4.4-PIE-FTBFS.patch
sed -i \
-e '/echo "DLPATH_ADD=/s/\$DLPATH_ADD/\\\$(CURDIR)/' \
./configure || die
}
src_configure() {
./configure \
--prefix="${EPREFIX}/usr" \
--with-gmp="${EPREFIX}/usr" \
--with-mpfr="${EPREFIX}/usr" \
$(usex ntl "--with-ntl=${EPREFIX}/usr" "") \
$(use_enable static-libs static) \
$(usex gc "--with-gc=${EPREFIX}/usr" "") \
CC=$(tc-getCC) \
CXX=$(tc-getCXX) \
AR=$(tc-getAR) \
|| die
}
src_compile() {
emake verbose
if use doc ; then
emake -C doc/latex
fi
}
src_test() {
emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
}
src_install() {
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
einstalldocs
use doc && dodoc doc/latex/flint-manual.pdf
}

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit eutils multilib toolchain-funcs
DESCRIPTION="Fast Library for Number Theory"
HOMEPAGE="http://www.flintlib.org/"
SRC_URI="http://www.flintlib.org/${P}.tar.gz"
RESTRICT="mirror !test? ( test )"
LICENSE="GPL-2"
SLOT="0/13"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="doc gc ntl static-libs test"
RDEPEND="dev-libs/gmp:=
dev-libs/mpfr:=
gc? ( dev-libs/boehm-gc )
ntl? ( dev-libs/ntl:= )"
DEPEND="${RDEPEND}
doc? (
app-text/texlive-core
dev-texlive/texlive-latex
dev-texlive/texlive-latexextra
)"
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.4.4-PIE-FTBFS.patch
sed -i \
-e '/echo "DLPATH_ADD=/s/\$DLPATH_ADD/\\\$(CURDIR)/' \
./configure || die
}
src_configure() {
./configure \
--prefix="${EPREFIX}/usr" \
--with-gmp="${EPREFIX}/usr" \
--with-mpfr="${EPREFIX}/usr" \
$(usex ntl "--with-ntl=${EPREFIX}/usr" "") \
$(use_enable static-libs static) \
$(usex gc "--with-gc=${EPREFIX}/usr" "") \
CC=$(tc-getCC) \
CXX=$(tc-getCXX) \
AR=$(tc-getAR) \
|| die
}
src_compile() {
emake verbose
if use doc ; then
emake -C doc/latex
fi
}
src_test() {
emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
}
src_install() {
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
einstalldocs
use doc && dodoc doc/latex/flint-manual.pdf
}