diff options
Diffstat (limited to 'sci-libs/arprec')
-rw-r--r-- | sci-libs/arprec/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/arprec/arprec-2.2.18.ebuild | 80 | ||||
-rw-r--r-- | sci-libs/arprec/files/arprec-2.2.18-fix-c++14.patch | 13 | ||||
-rw-r--r-- | sci-libs/arprec/files/arprec-2.2.18-gold.patch | 15 |
4 files changed, 0 insertions, 112 deletions
diff --git a/sci-libs/arprec/Manifest b/sci-libs/arprec/Manifest index 63a3c3b008b7..7dfd2db2069e 100644 --- a/sci-libs/arprec/Manifest +++ b/sci-libs/arprec/Manifest @@ -1,8 +1,4 @@ -AUX arprec-2.2.18-fix-c++14.patch 368 BLAKE2B 021af8127ec3d139ec3e5ab00b35296a9e0321b3f6a99aff5d853ed3cf5666a47cbacd11817ff4aa0ae835b229d7cdd10d342c06edc250a75789b589b0847501 SHA512 9763bd97dd8b678195c3967296deaf4b2d9c3853c5f35b4b9c31a02bbd1ba810809585c46a9bdf42f5b56dc6abf4e326f5d3ab0665cd3aff0f363a77598ec029 -AUX arprec-2.2.18-gold.patch 545 BLAKE2B 26ec85a03bb693bdc484fa14d360e90b5571d172d9d696f71363a7f7805d957c14597ddb221f827c2752b89680b6c4382935dd84874a3887f2df11ba5e31ca5c SHA512 09368abacb24ea28e7ff32f1638526e17a0928e3f37f3d216b6918666ac86df8cd447400e2aa3bae6e81c6037ac43ce4b2af9c3dae79b322fa934b36f727a032 AUX arprec-2.2.19-gold.patch 477 BLAKE2B 128d84824143a6af222f92462efd58d22ae014e359555b59380bd0060faea249a879244baca3cf7c2d81510070647c49414c4589efce5ce40328a6f3871e387f SHA512 f8a6408916b26a395832a6bd55f43de7153ceab5a343df1f974a2dd9e6ae3eec1b2533db36a11061e74f15f471dcff52a3247681e8872b15dfb8115f9b406cf6 -DIST arprec-2.2.18.tar.gz 1751743 BLAKE2B de9a9a37bbe03357ad17d9d10d8bb42f73b9c9464643a35d4d1e209d049c205f967266dcae1af8972fc8c029f03053b298a4c85fdc48fb3f66d152aca8623a25 SHA512 372eb0a0c3aceac0d222679058f47c4d1037b5a51524b752b87f1b61c1b25101c34d4e56d9da45b4075ea7040dd59a597e0add4f34be902955dcf209423a6579 DIST arprec-2.2.19.tar.gz 1962133 BLAKE2B a2fccc1908e791fd4759e61ff52b180fcaccbfbfa831ee1beca9b22a1a745d17d21040974ffe02ea21397a2339c819a30cd93a247738564a2b433f7cef14c9e4 SHA512 97cf090398aa169e31711077efd26dc6da1f62291ab37b241b133634838bdd44743f85b86b861a3be18d2696ae9132afb6cd1871502bedb9cc17dfb63fde2632 -EBUILD arprec-2.2.18.ebuild 1532 BLAKE2B 0c237b7fa23540281cd631fffe19aba2f174b477230b79e3f78ecfe00523bef7555bb3e58fb1c9fabdf97161389271ff225401265c6730b145c3d27c93d1e43c SHA512 a0caa72eb9ba891b1b420985c569bd928f3b4602b062082fdf354db7c6c66a400fc7941396798531792cc73a491221b4c20dfc1b491ec2136fb28cd7b4e5a798 EBUILD arprec-2.2.19.ebuild 1569 BLAKE2B 842a8e76f459fef164ecc204e8437a4143cc33567a035243d6540a3aaae9c693ba2d1142fb81a02b422095ef5fee8e5e4fa36dea41cdf405e1081b70a3de534d SHA512 23333b1466a36adf24ce851491c4416b5fa71267fd730e82c8c39636f992a851191ca0469670b3442b49bed27bb06cfa267c064aeef29a77feaf6fcce90bf369 MISC metadata.xml 355 BLAKE2B c5006c21c956f46147334ca6f850d103f510292cbc7507cb4c8f6ec4ccdfca6fb61dba75f76321095c9668359e80f333d084e6aa5629aa9bd939def140b0f98e SHA512 2c381deb8c4759173c528fc3b86dd031f10b9094201257950c4a90d8ab6276fed3d5ec15a01e2154904313945b63c1854f7b213d8eaec7a62c927c5b3ed16ce8 diff --git a/sci-libs/arprec/arprec-2.2.18.ebuild b/sci-libs/arprec/arprec-2.2.18.ebuild deleted file mode 100644 index 8c4069fcd8da..000000000000 --- a/sci-libs/arprec/arprec-2.2.18.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD=90 - -inherit autotools fortran-2 - -DESCRIPTION="Arbitrary precision float arithmetics and functions" -HOMEPAGE="https://crd-legacy.lbl.gov/~dhbailey/mpdist/" -SRC_URI="https://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran qd static-libs" - -DEPEND="qd? ( sci-libs/qd[fortran=] )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.2.18-fix-c++14.patch - "${FILESDIR}"/${P}-gold.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --enable-shared \ - $(use_enable static-libs static) \ - $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) \ - $(use_enable fortran) \ - $(use_enable qd) -} - -src_compile() { - default - - if use fortran; then - emake toolkit - cd toolkit || die - ./mathinit || die "mathinit failed" - fi -} - -src_install() { - default - - if use fortran; then - cd toolkit || die - - exeinto /usr/libexec/${PN} - doexe mathtool - - insinto /usr/libexec/${PN} - doins *.dat - - cat > mathtool.exe <<- _EOF_ || die - #!/usr/bin/env sh - cd "${EPREFIX}/usr/libexec/${PN}" && exec ./mathtool - _EOF_ - - newbin mathtool.exe mathtool - newdoc README README.mathtool - fi - - if ! use doc; then - rm "${ED%/}"/usr/share/doc/${PF}/*.pdf || die - fi - - if ! use static-libs; then - find "${D}" -name '*.la' -delete || die - fi -} diff --git a/sci-libs/arprec/files/arprec-2.2.18-fix-c++14.patch b/sci-libs/arprec/files/arprec-2.2.18-fix-c++14.patch deleted file mode 100644 index 680e921d6807..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.18-fix-c++14.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix compiling with C++14, due to changed operator T* -> operator bool semantics. -See also: https://bugs.gentoo.org/show_bug.cgi?id=593872 - ---- a/src/write.cpp -+++ b/src/write.cpp -@@ -196,6 +196,6 @@ - - string str = to_string(precision, width, expn_width, - fmt, showpos, uppercase, fill); -- return (s << str) != 0; -+ return static_cast<bool>(s << str); - } - diff --git a/sci-libs/arprec/files/arprec-2.2.18-gold.patch b/sci-libs/arprec/files/arprec-2.2.18-gold.patch deleted file mode 100644 index 293b495f10a7..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.18-gold.patch +++ /dev/null @@ -1,15 +0,0 @@ - fortran/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/fortran/Makefile.am b/fortran/Makefile.am -index 8eb4d19..91a125c 100644 ---- a/fortran/Makefile.am -+++ b/fortran/Makefile.am -@@ -4,6 +4,7 @@ LDADD = libarprec_f_main.la libarprecmod.la $(top_builddir)/src/libarprec.la $(F - - lib_LTLIBRARIES = libarprecmod.la libarprec_f_main.la - libarprecmod_la_SOURCES = f_mp.cpp mp_mod.f mp_modm.f mp_modx.f -+libarprecmod_la_LIBADD = $(top_builddir)/src/libarprec.la $(FCLIBS) - libarprec_f_main_la_SOURCES = main.cpp - - if UPCASE_MODULE |