spack/var/spack/repos/builtin/packages/r-rgdal/package.py
Todd Gamblin eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00

29 lines
1.2 KiB
Python

# 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')