From bfb0f574928213dfd8fbad6649f0649c096a5d99 Mon Sep 17 00:00:00 2001
From: Justin S <3630356+codeandkey@users.noreply.github.com>
Date: Wed, 15 May 2019 16:04:50 -0500
Subject: [PATCH] r-geonames: new package at 0.999 (#11455)

---
 .../builtin/packages/r-geonames/package.py    | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/r-geonames/package.py

diff --git a/var/spack/repos/builtin/packages/r-geonames/package.py b/var/spack/repos/builtin/packages/r-geonames/package.py
new file mode 100644
index 0000000000..1d138cfc16
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-geonames/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2019 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 RGeonames(RPackage):
+    """geonames: Interface to the "Geonames" Spatial Query Web Service"""
+
+    homepage = "https://cran.r-project.org/package=geonames"
+    url      = "https://cran.r-project.org/src/contrib/geonames_0.999.tar.gz"
+    list_url = "https://cran.r-project.org/src/contrib/Archive/geonames"
+
+    version('0.999', sha256='1dd7bbd82d9425d14eb36f8e5bf431feaccfe3b0c4e70bf38f44f13dfc59e17b')
+
+    depends_on('r@2.2.0:', type=('build', 'run'))
+    depends_on('r-rjson', type=('build', 'run'))
-- 
GitLab