pkgsrc-Changes archive

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

CVS commit: pkgsrc/math



Module Name:    pkgsrc
Committed By:   brook
Date:           Sat Aug  8 22:52:57 UTC 2020

Modified Files:
        pkgsrc/math: Makefile
Added Files:
        pkgsrc/math/R-units: DESCR Makefile distinfo
        pkgsrc/math/R-units/patches: patch-configure patch-configure.ac

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.475 -r1.476 pkgsrc/math/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/math/R-units/DESCR pkgsrc/math/R-units/Makefile \
    pkgsrc/math/R-units/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/R-units/patches/patch-configure \
    pkgsrc/math/R-units/patches/patch-configure.ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/Makefile
diff -u pkgsrc/math/Makefile:1.475 pkgsrc/math/Makefile:1.476
--- pkgsrc/math/Makefile:1.475  Fri Aug  7 13:50:07 2020
+++ pkgsrc/math/Makefile        Sat Aug  8 22:52:57 2020
@@ -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-tensor
 SUBDIR+=       R-tensorA
 SUBDIR+=       R-tibble
 SUBDIR+=       R-tidyr
+SUBDIR+=       R-units
 SUBDIR+=       R-urca
 SUBDIR+=       R-vctrs
 SUBDIR+=       R-wle

Added files:

Index: pkgsrc/math/R-units/DESCR
diff -u /dev/null pkgsrc/math/R-units/DESCR:1.1
--- /dev/null   Sat Aug  8 22:52:57 2020
+++ pkgsrc/math/R-units/DESCR   Sat Aug  8 22:52:57 2020
@@ -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.
Index: pkgsrc/math/R-units/Makefile
diff -u /dev/null pkgsrc/math/R-units/Makefile:1.1
--- /dev/null   Sat Aug  8 22:52:57 2020
+++ pkgsrc/math/R-units/Makefile        Sat Aug  8 22:52:57 2020
@@ -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"
Index: pkgsrc/math/R-units/distinfo
diff -u /dev/null pkgsrc/math/R-units/distinfo:1.1
--- /dev/null   Sat Aug  8 22:52:57 2020
+++ pkgsrc/math/R-units/distinfo        Sat Aug  8 22:52:57 2020
@@ -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

Index: pkgsrc/math/R-units/patches/patch-configure
diff -u /dev/null pkgsrc/math/R-units/patches/patch-configure:1.1
--- /dev/null   Sat Aug  8 22:52:57 2020
+++ pkgsrc/math/R-units/patches/patch-configure Sat Aug  8 22:52:57 2020
@@ -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
+ 
Index: pkgsrc/math/R-units/patches/patch-configure.ac
diff -u /dev/null pkgsrc/math/R-units/patches/patch-configure.ac:1.1
--- /dev/null   Sat Aug  8 22:52:57 2020
+++ pkgsrc/math/R-units/patches/patch-configure.ac      Sat Aug  8 22:52:57 2020
@@ -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