diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/r-rgdal/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-rgdal/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-rgdal/package.py b/var/spack/repos/builtin/packages/r-rgdal/package.py new file mode 100644 index 0000000000..b2fbfee9dc --- /dev/null +++ b/var/spack/repos/builtin/packages/r-rgdal/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class RRgdal(RPackage): + """Provides bindings to the 'Geospatial' Data Abstraction Library + ('GDAL') (>= 1.6.3) and access to projection/transformation operations + from the 'PROJ.4' library. The 'GDAL' and 'PROJ.4' libraries are + external to the package, and, when installing the package from source, + must be correctly installed first. Both 'GDAL' raster and 'OGR' vector + map data can be imported into R, and 'GDAL' raster data and 'OGR' + vector data exported. Use is made of classes defined in the 'sp' package. + Windows and Mac Intel OS X binaries (including 'GDAL', 'PROJ.4' and + 'Expat') are provided on 'CRAN'.""" + + homepage = "https://cran.r-project.org/package=rgdal" + url = "https://cran.rstudio.com/src/contrib/rgdal_1.2-16.tar.gz" + list_url = "https://cran.rstudio.com/src/contrib/Archive/rgdal" + + version('1.2-16', 'de83bf08519a53de68a7632ecb7f2dc9') + + depends_on('r-sp', type=('build', 'run')) + depends_on('gdal') + depends_on('proj') |