Tue May 19 14:44:04 2020 UTC ()
mpfi: Import mpfr-1.5.4 as math/mpfr
mpfr is a multiprecision floating-point interval arithmetic library.
Derived from wip/mpfi.
(riastradh)
diff -r1.459 -r1.460 pkgsrc/math/Makefile
diff -r0 -r1.1 pkgsrc/math/mpfi/DESCR
diff -r0 -r1.1 pkgsrc/math/mpfi/Makefile
diff -r0 -r1.1 pkgsrc/math/mpfi/PLIST
diff -r0 -r1.1 pkgsrc/math/mpfi/buildlink3.mk
diff -r0 -r1.1 pkgsrc/math/mpfi/distinfo
diff -r0 -r1.1 pkgsrc/math/mpfi/patches/patch-tests_Makefile.am
--- pkgsrc/math/Makefile 2020/04/27 16:52:55 1.459
+++ pkgsrc/math/Makefile 2020/05/19 14:44:04 1.460
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.459 2020/04/27 16:52:55 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.460 2020/05/19 14:44:04 riastradh Exp $ |
2 | | | 2 | |
3 | COMMENT= Mathematics | | 3 | COMMENT= Mathematics |
4 | | | 4 | |
5 | SUBDIR+= R | | 5 | SUBDIR+= R |
6 | SUBDIR+= R-CGIwithR | | 6 | SUBDIR+= R-CGIwithR |
7 | SUBDIR+= R-DAAG | | 7 | SUBDIR+= R-DAAG |
8 | SUBDIR+= R-DBI | | 8 | SUBDIR+= R-DBI |
9 | SUBDIR+= R-DEoptimR | | 9 | SUBDIR+= R-DEoptimR |
10 | SUBDIR+= R-FNN | | 10 | SUBDIR+= R-FNN |
11 | SUBDIR+= R-Formula | | 11 | SUBDIR+= R-Formula |
12 | SUBDIR+= R-GRASS | | 12 | SUBDIR+= R-GRASS |
13 | SUBDIR+= R-ISLR | | 13 | SUBDIR+= R-ISLR |
14 | SUBDIR+= R-ISwR | | 14 | SUBDIR+= R-ISwR |
| @@ -219,26 +219,27 @@ SUBDIR+= libshorttext | | | @@ -219,26 +219,27 @@ SUBDIR+= libshorttext |
219 | SUBDIR+= libsvm | | 219 | SUBDIR+= libsvm |
220 | SUBDIR+= linpack | | 220 | SUBDIR+= linpack |
221 | SUBDIR+= lp_solve | | 221 | SUBDIR+= lp_solve |
222 | SUBDIR+= ltm | | 222 | SUBDIR+= ltm |
223 | SUBDIR+= mapm | | 223 | SUBDIR+= mapm |
224 | SUBDIR+= mathomatic | | 224 | SUBDIR+= mathomatic |
225 | SUBDIR+= maxima | | 225 | SUBDIR+= maxima |
226 | SUBDIR+= mcsim | | 226 | SUBDIR+= mcsim |
227 | SUBDIR+= meschach | | 227 | SUBDIR+= meschach |
228 | SUBDIR+= metis | | 228 | SUBDIR+= metis |
229 | SUBDIR+= minisat | | 229 | SUBDIR+= minisat |
230 | SUBDIR+= minpack | | 230 | SUBDIR+= minpack |
231 | SUBDIR+= mpcomplex | | 231 | SUBDIR+= mpcomplex |
| | | 232 | SUBDIR+= mpfi |
232 | SUBDIR+= mpfr | | 233 | SUBDIR+= mpfr |
233 | SUBDIR+= mprime-bin | | 234 | SUBDIR+= mprime-bin |
234 | SUBDIR+= mtl | | 235 | SUBDIR+= mtl |
235 | SUBDIR+= muparser | | 236 | SUBDIR+= muparser |
236 | SUBDIR+= newmat | | 237 | SUBDIR+= newmat |
237 | SUBDIR+= nickle | | 238 | SUBDIR+= nickle |
238 | SUBDIR+= nlopt | | 239 | SUBDIR+= nlopt |
239 | SUBDIR+= ntl | | 240 | SUBDIR+= ntl |
240 | SUBDIR+= ocaml-num | | 241 | SUBDIR+= ocaml-num |
241 | SUBDIR+= ocaml-zarith | | 242 | SUBDIR+= ocaml-zarith |
242 | SUBDIR+= octave | | 243 | SUBDIR+= octave |
243 | SUBDIR+= odepack | | 244 | SUBDIR+= odepack |
244 | SUBDIR+= openaxiom | | 245 | SUBDIR+= openaxiom |
MPFI (Multiple Precision Floating-Point Interval Library) is a library
for arbitrary precision interval arithmetic with intervals represented
using MPFR reliable floating-point numbers. It is based on the GNU MP
library and on the MPFR library. The purpose of an arbitrary precision
interval arithmetic is on the one hand to get guaranteed results,
thanks to interval computation, and on the other hand to obtain
accurate results, thanks to multiple precision arithmetic. The MPFI
library is built upon MPFR to benefit from the correct roundings
provided by MPFR, it portability, and its compliance with the IEEE 754
standard for floating-point arithmetic.
# $NetBSD: Makefile,v 1.1 2020/05/19 14:44:04 riastradh Exp $
DISTNAME= mpfi-1.5.4
CATEGORIES= math
MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/38111/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://gforge.inria.fr/projects/mpfi/
COMMENT= Multiprecision interval arithmetic library
LICENSE= gnu-lgpl-v2
USE_TOOLS+= autoconf
USE_TOOLS+= automake
USE_TOOLS+= autoreconf
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
INFO_FILES= yes
CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
INSTALLATION_DIRS+= ${PKGINFODIR}
pre-configure:
cd ${WRKSRC} && ./autogen.sh
TEST_TARGET= check
.include "../../math/mpfr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2020/05/19 14:44:04 riastradh Exp $
include/mpfi.h
include/mpfi_io.h
info/mpfi.info
lib/libmpfi.la
# $NetBSD: buildlink3.mk,v 1.1 2020/05/19 14:44:04 riastradh Exp $
BUILDLINK_TREE+= mpfi
.if !defined(MPFI_BUILDLINK3_MK)
MPFI_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.mpfi+= mpfi>=1.5.4
BUILDLINK_ABI_DEPENDS.mpfi+= mpfi>=1.5.4
BUILDLINK_PKGSRCDIR.mpfi?= ../../math/mpfi
.include "../../math/mpfr/buildlink3.mk"
.endif # MPFI_BUILDLINK3_MK
BUILDLINK_TREE+= -mpfi
$NetBSD: distinfo,v 1.1 2020/05/19 14:44:04 riastradh Exp $
SHA1 (mpfi-1.5.4.tgz) = 06c7dc6f13e67ab199fefcfdc15328ea9fc82dcb
RMD160 (mpfi-1.5.4.tgz) = a03c5ac685f844badf95d7b006ca7ede8b7e2759
SHA512 (mpfi-1.5.4.tgz) = 72ba7d8c950f4d4e2c7a3da8570cdcec08f75b73580cdf64c4cc3b24f8add23c46ccf78a6de2158e81bd77e6efabceebbae418988d536e7484356b8102e10ce1
Size (mpfi-1.5.4.tgz) = 261696 bytes
SHA1 (patch-tests_Makefile.am) = d0c41610b684c8d6e1862baed7157e40f551c469
$NetBSD: patch-tests_Makefile.am,v 1.1 2020/05/19 14:44:04 riastradh Exp $
Disable tests that are missing from the upstream distfile or fail to build.
--- tests/Makefile.am.orig 2019-08-01 20:15:53.000000000 +0000
+++ tests/Makefile.am
@@ -3,7 +3,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src
check_LTLIBRARIES = libmpfi-tests.la
libmpfi_tests_la_SOURCES = mpfi-tests.h read_data.c random.c \
- type_i.c type_ii.c type_iii.c type_iiii.c type_iu.c type_is.c \
+ type_i.c type_ii.c type_iii.c type_iu.c type_is.c \
type_id.c type_if.c type_il.c type_iz.c type_iq.c type_ir.c type_iiu.c \
type_iis.c type_iid.c type_iiz.c type_iiq.c type_iir.c \
type_iui.c type_isi.c type_idi.c type_izi.c type_iqi.c \
@@ -40,7 +40,7 @@ check_PROGRAMS = tabs tacos tacosh tadd
tcmp_fr tcmp_q tcmp_si tcmp_ui tcmp_z tconst_catalan \
tconst_euler tconst_log2 tconst_pi tcos tcosh tcot tcoth \
tcsc tcsch td_div td_sub tdiam tdiam_abs tdiam_rel tdiv \
- tdiv_2exp tdiv_2si tdiv_2ui tdiv_d tdiv_ext tdiv_fr tdiv_q \
+ tdiv_2exp tdiv_2si tdiv_2ui tdiv_d tdiv_fr tdiv_q \
tdiv_si tdiv_ui tdiv_z terror texp texp2 texpm1 tfr_div \
tfr_sub tget_d tget_endpoints tget_fr thas_zero thypot \
tincrease tinf_p tinit tinits tinit_set tintersect tinterv_d \
@@ -52,7 +52,7 @@ check_PROGRAMS = tabs tacos tacosh tadd
tis_zero tlog tlog10 tlog1p tlog2 tmag tmid tmig tmul \
tmul_2exp tmul_2si tmul_2ui tmul_d tmul_fr tmul_q \
tmul_si tmul_ui tmul_z tnan_p tneg tput_d tput_fr tput_q \
- tput_si tput_ui tput_z tq_div tq_sub trec_sqrt tround_prec \
+ tput_si tput_ui tput_z tq_div tq_sub tround_prec \
tsec tsech tset tset_d tset_flt tset_fr tset_ld tset_q \
tset_si tset_str tset_ui tset_z tsi_div tsi_sub tsin tsinh \
tsqr tsqrt \