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:   maya
Date:           Mon Sep 17 13:24:18 UTC 2018

Modified Files:
        pkgsrc/math: Makefile
Added Files:
        pkgsrc/math/R-RNetCDF: DESCR Makefile distinfo
        pkgsrc/math/R-RNetCDF/patches: patch-configure

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


To generate a diff of this commit:
cvs rdiff -u -r1.400 -r1.401 pkgsrc/math/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/math/R-RNetCDF/DESCR \
    pkgsrc/math/R-RNetCDF/Makefile pkgsrc/math/R-RNetCDF/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/R-RNetCDF/patches/patch-configure

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.400 pkgsrc/math/Makefile:1.401
--- pkgsrc/math/Makefile:1.400  Tue Aug 21 09:30:13 2018
+++ pkgsrc/math/Makefile        Mon Sep 17 13:24:17 2018
@@ -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-PHYLOGR
 SUBDIR+=       R-R2HTML
 SUBDIR+=       R-RArcInfo
 SUBDIR+=       R-RColorBrewer
+SUBDIR+=       R-RNetCDF
 SUBDIR+=       R-RPostgreSQL
 SUBDIR+=       R-RandomFields
 SUBDIR+=       R-Rcmdr

Added files:

Index: pkgsrc/math/R-RNetCDF/DESCR
diff -u /dev/null pkgsrc/math/R-RNetCDF/DESCR:1.1
--- /dev/null   Mon Sep 17 13:24:18 2018
+++ pkgsrc/math/R-RNetCDF/DESCR Mon Sep 17 13:24:18 2018
@@ -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.
Index: pkgsrc/math/R-RNetCDF/Makefile
diff -u /dev/null pkgsrc/math/R-RNetCDF/Makefile:1.1
--- /dev/null   Mon Sep 17 13:24:18 2018
+++ pkgsrc/math/R-RNetCDF/Makefile      Mon Sep 17 13:24:18 2018
@@ -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"
Index: pkgsrc/math/R-RNetCDF/distinfo
diff -u /dev/null pkgsrc/math/R-RNetCDF/distinfo:1.1
--- /dev/null   Mon Sep 17 13:24:18 2018
+++ pkgsrc/math/R-RNetCDF/distinfo      Mon Sep 17 13:24:18 2018
@@ -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

Index: pkgsrc/math/R-RNetCDF/patches/patch-configure
diff -u /dev/null pkgsrc/math/R-RNetCDF/patches/patch-configure:1.1
--- /dev/null   Mon Sep 17 13:24:18 2018
+++ pkgsrc/math/R-RNetCDF/patches/patch-configure       Mon Sep 17 13:24:18 2018
@@ -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