Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math math/R-units: import R-units-0.6.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88e71dfab5eb
branches:  trunk
changeset: 436743:88e71dfab5eb
user:      brook <brook%pkgsrc.org@localhost>
date:      Sat Aug 08 22:52:57 2020 +0000

description:
math/R-units: import R-units-0.6.5

Support for measurement units in R vectors, matrices and arrays:
automatic propagation, conversion, derivation and simplification of
units; raising errors in case of unit incompatibility. Compatible with
the POSIXct, Date and difftime classes. Uses the UNIDATA udunits
library and unit database for unit compatibility checking and
conversion.

diffstat:

 math/Makefile                           |   3 ++-
 math/R-units/DESCR                      |   6 ++++++
 math/R-units/Makefile                   |  15 +++++++++++++++
 math/R-units/distinfo                   |   8 ++++++++
 math/R-units/patches/patch-configure    |  15 +++++++++++++++
 math/R-units/patches/patch-configure.ac |  15 +++++++++++++++
 6 files changed, 61 insertions(+), 1 deletions(-)

diffs (96 lines):

diff -r 877b9600a424 -r 88e71dfab5eb math/Makefile
--- a/math/Makefile     Sat Aug 08 22:40:59 2020 +0000
+++ b/math/Makefile     Sat Aug 08 22:52:57 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.475 2020/08/07 13:50:07 jperkin Exp $
+# $NetBSD: Makefile,v 1.476 2020/08/08 22:52:57 brook Exp $
 
 COMMENT=       Mathematics
 
@@ -112,6 +112,7 @@
 SUBDIR+=       R-tensorA
 SUBDIR+=       R-tibble
 SUBDIR+=       R-tidyr
+SUBDIR+=       R-units
 SUBDIR+=       R-urca
 SUBDIR+=       R-vctrs
 SUBDIR+=       R-wle
diff -r 877b9600a424 -r 88e71dfab5eb math/R-units/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R-units/DESCR        Sat Aug 08 22:52:57 2020 +0000
@@ -0,0 +1,6 @@
+Support for measurement units in R vectors, matrices and arrays:
+automatic propagation, conversion, derivation and simplification of
+units; raising errors in case of unit incompatibility. Compatible with
+the POSIXct, Date and difftime classes. Uses the UNIDATA udunits
+library and unit database for unit compatibility checking and
+conversion.
diff -r 877b9600a424 -r 88e71dfab5eb math/R-units/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R-units/Makefile     Sat Aug 08 22:52:57 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/08/08 22:52:57 brook Exp $
+
+R_PKGNAME=     units
+R_PKGVER=      0.6-5
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Measurement Units for R Vectors
+LICENSE=       gnu-gpl-v2
+
+USE_LANGUAGES+=        c c++
+
+.include "../../math/R/Makefile.extension"
+.include "../../devel/R-Rcpp/buildlink3.mk"
+.include "../../math/udunits/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 877b9600a424 -r 88e71dfab5eb math/R-units/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R-units/distinfo     Sat Aug 08 22:52:57 2020 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/08/08 22:52:57 brook Exp $
+
+SHA1 (R/units_0.6-5.tar.gz) = 970efb2a7afbb7693d1d2d1272adc562c46fd28f
+RMD160 (R/units_0.6-5.tar.gz) = b006936f0f9c3b531ed6a4ff1eabf37fcf80e924
+SHA512 (R/units_0.6-5.tar.gz) = 729af00ced12e3394e6742e1db26469170969310fa9dd6c4cb2a9544382cd46575850cf716aa80992dd4634fc62118a47555a2b62fc20c1e84223e7e438209cd
+Size (R/units_0.6-5.tar.gz) = 959970 bytes
+SHA1 (patch-configure) = f57f2b7187678ba9f0973e2c90dd08d1fe4e752f
+SHA1 (patch-configure.ac) = 6f6dab407646bda4fc25abca4af1c730146a79be
diff -r 877b9600a424 -r 88e71dfab5eb math/R-units/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R-units/patches/patch-configure      Sat Aug 08 22:52:57 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2020/08/08 22:52:57 brook Exp $
+
+Use of == with test is not portable; use = instead.
+
+--- configure.orig     2018-06-09 10:48:44.000000000 +0000
++++ configure
+@@ -3795,7 +3795,7 @@ _ACEOF
+ 
+ fi
+ 
+-if test "${ac_cv_lib_expat_XML_ParserCreate}" == yes; then
++if test "${ac_cv_lib_expat_XML_ParserCreate}" = yes; then
+    LIBS="${LIBS} -lexpat"
+ fi
+ 
diff -r 877b9600a424 -r 88e71dfab5eb math/R-units/patches/patch-configure.ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R-units/patches/patch-configure.ac   Sat Aug 08 22:52:57 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2020/08/08 22:52:57 brook Exp $
+
+Use of == with test is not portable; use = instead.
+
+--- configure.ac.orig  2018-06-08 13:06:37.000000000 +0000
++++ configure.ac
+@@ -45,7 +45,7 @@ else
+ fi
+ 
+ AC_CHECK_LIB(expat, XML_ParserCreate, [],[], ${LIBS})
+-if test "${ac_cv_lib_expat_XML_ParserCreate}" == yes; then
++if test "${ac_cv_lib_expat_XML_ParserCreate}" = yes; then
+    LIBS="${LIBS} -lexpat"
+ fi
+ 



Home | Main Index | Thread Index | Old Index