summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-01-17 14:07:15 -0600
committerGitHub <noreply@github.com>2021-01-17 14:07:15 -0600
commite316cde70677dbeba939c9d6dbd39fc5d1b8b705 (patch)
tree383d9c3672e83a2329734ca8ff9c188276f1b08f /var
parent716a094c08c855458458aa081db48bbca2617b77 (diff)
downloadspack-e316cde70677dbeba939c9d6dbd39fc5d1b8b705.tar.gz
spack-e316cde70677dbeba939c9d6dbd39fc5d1b8b705.tar.bz2
spack-e316cde70677dbeba939c9d6dbd39fc5d1b8b705.tar.xz
spack-e316cde70677dbeba939c9d6dbd39fc5d1b8b705.zip
new package: r-leaflet-providers (#21071)
Contains third-party map tile provider information from 'Leaflet.js', <https://github.com/leaflet-extras/leaflet-providers>, to be used with the 'leaflet' R package. Additionally, 'leaflet.providers' enables users to retrieve up-to-date provider information between package updates.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-leaflet-providers/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-leaflet-providers/package.py b/var/spack/repos/builtin/packages/r-leaflet-providers/package.py
new file mode 100644
index 0000000000..e806a4ed67
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-leaflet-providers/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 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 RLeafletProviders(RPackage):
+ """Leaflet Providers
+
+ Contains third-party map tile provider information from 'Leaflet.js',
+ <https://github.com/leaflet-extras/leaflet-providers>, to be used with the
+ 'leaflet' R package. Additionally, 'leaflet.providers' enables users to
+ retrieve up-to-date provider information between package updates."""
+
+ homepage = "https://github.com/rstudio/leaflet.providers"
+ url = "https://cloud.r-project.org/src/contrib/leaflet.providers_1.9.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/leaflet.providers"
+
+ version('1.9.0', sha256='9e8fc75c83313ab24663c2e718135459599549ed6e7396086cacb44e36cfd67b')
+
+ depends_on('r@2.10:', type=('build', 'run'))