pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math Add package R-RNetCDF version 1.9-1
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc650ae23c5a
branches: trunk
changeset: 312872:dc650ae23c5a
user: maya <maya%pkgsrc.org@localhost>
date: Mon Sep 17 13:24:17 2018 +0000
description:
Add package R-RNetCDF version 1.9-1
An R interface to the NetCDF file format designed by Unidata for
efficient storage of array-oriented scientific data and descriptions.
The R interface is closely based on the C API of the NetCDF library,
and it includes calendar conversions from the Unidata UDUNITS library.
The current implementation supports all operations on NetCDF datasets
in classic and 64-bit offset file formats, and NetCDF4-classic format
is supported for reading and modification of existing files.
>From Kai-Uwe Eckhardt, updated as the previous distfile wasn't available.
PR pkg/51607
diffstat:
math/Makefile | 3 ++-
math/R-RNetCDF/DESCR | 7 +++++++
math/R-RNetCDF/Makefile | 19 +++++++++++++++++++
math/R-RNetCDF/distinfo | 7 +++++++
math/R-RNetCDF/patches/patch-configure | 33 +++++++++++++++++++++++++++++++++
5 files changed, 68 insertions(+), 1 deletions(-)
diffs (99 lines):
diff -r e063b790c1d8 -r dc650ae23c5a math/Makefile
--- a/math/Makefile Mon Sep 17 13:11:59 2018 +0000
+++ b/math/Makefile Mon Sep 17 13:24:17 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.400 2018/08/21 09:30:13 wiz Exp $
+# $NetBSD: Makefile,v 1.401 2018/09/17 13:24:17 maya Exp $
COMMENT= Mathematics
@@ -15,6 +15,7 @@
SUBDIR+= R-R2HTML
SUBDIR+= R-RArcInfo
SUBDIR+= R-RColorBrewer
+SUBDIR+= R-RNetCDF
SUBDIR+= R-RPostgreSQL
SUBDIR+= R-RandomFields
SUBDIR+= R-Rcmdr
diff -r e063b790c1d8 -r dc650ae23c5a math/R-RNetCDF/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R-RNetCDF/DESCR Mon Sep 17 13:24:17 2018 +0000
@@ -0,0 +1,7 @@
+An R interface to the NetCDF file format designed by Unidata for
+efficient storage of array-oriented scientific data and descriptions.
+The R interface is closely based on the C API of the NetCDF library,
+and it includes calendar conversions from the Unidata UDUNITS library.
+The current implementation supports all operations on NetCDF datasets
+in classic and 64-bit offset file formats, and NetCDF4-classic format
+is supported for reading and modification of existing files.
diff -r e063b790c1d8 -r dc650ae23c5a math/R-RNetCDF/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R-RNetCDF/Makefile Mon Sep 17 13:24:17 2018 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/09/17 13:24:18 maya Exp $
+#
+
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= ${R_HOMEPAGE_BASE}/ncdf/
+COMMENT= High-level R interface to Unidata's netCDF data files
+LICENSE= gnu-gpl-v2
+
+R_PKGNAME= RNetCDF
+R_PKGVER= 1.9-1
+
+
+.include "../../math/R/Makefile.extension"
+.include "../../devel/netcdf/buildlink3.mk"
+.include "../../math/udunits/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e063b790c1d8 -r dc650ae23c5a math/R-RNetCDF/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R-RNetCDF/distinfo Mon Sep 17 13:24:17 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/09/17 13:24:18 maya Exp $
+
+SHA1 (R/RNetCDF_1.9-1.tar.gz) = 720b4146271bd8a5156f9d3810d2c9bd1eee76ef
+RMD160 (R/RNetCDF_1.9-1.tar.gz) = b473a5eb57df4d48b96eea8b4b347bda2f2ded52
+SHA512 (R/RNetCDF_1.9-1.tar.gz) = 3a1cd3b9b7996ffc40b14f4ac6bee78c5ea68cad8e4f68e0ba64ecfd6bb26e9e349cfacac8dac910dd5c57d6f4e8dbad6f47e48632b57a7a2d962381e6ff75f7
+Size (R/RNetCDF_1.9-1.tar.gz) = 98628 bytes
+SHA1 (patch-configure) = 62e98e78ae4338ce7bad04dbcb69fdb60cef5b8f
diff -r e063b790c1d8 -r dc650ae23c5a math/R-RNetCDF/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R-RNetCDF/patches/patch-configure Mon Sep 17 13:24:17 2018 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-configure,v 1.1 2018/09/17 13:24:18 maya Exp $
+
+Fix the use of == in shell scripts.
+
+--- configure.orig 2016-11-06 16:18:40.084776697 +0000
++++ configure
+@@ -3275,7 +3275,7 @@ fi
+ done
+
+
+-if test "x$have_nc_config" == xyes; then :
++if test "x$have_nc_config" = xyes; then :
+
+ # Find libraries and cflags used to build netcdf:
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking netcdf linker flags" >&5
+@@ -3589,7 +3589,7 @@ fi
+ # Define variables UDUNITS_LIB, UDUNITS_DBFILE and UDUNITS_DBVAR,
+ # based on the version of udunits detected above.
+ # Also define preprocessor macro HAVE_LIBUDUNITS or HAVE_LIBUDUNITS2.
+-if test $udunits == 2; then :
++if test $udunits = 2; then :
+
+ UDUNITS_LIB=udunits2
+ UDUNITS_DBFILE=udunits2.xml
+@@ -3597,7 +3597,7 @@ if test $udunits == 2; then :
+ $as_echo "#define HAVE_LIBUDUNITS2 1" >>confdefs.h
+
+
+-elif test $udunits == 1; then :
++elif test $udunits = 1; then :
+
+ UDUNITS_LIB=udunits
+ UDUNITS_DBFILE=udunits.dat
Home |
Main Index |
Thread Index |
Old Index