summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-countrycode/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-countrycode/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-countrycode/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-countrycode/package.py b/var/spack/repos/builtin/packages/r-countrycode/package.py
new file mode 100644
index 0000000000..b2b07ff2e4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-countrycode/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2020 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 RCountrycode(RPackage):
+ """Countrycode standardizes country names, converts them into
+ ~40 different coding schemes, and assigns region descriptors."""
+
+ homepage = "https://vincentarelbundock.github.io/countrycode/"
+ url = "https://cloud.r-project.org/src/contrib/countrycode_1.2.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/countrycode"
+
+ version('1.2.0', sha256='32c65702dcc33d512ff99f14c12f4e0c48fe7ed7c8aa2f0a64194576d129dd40')
+
+ depends_on('r@2.10:', type=('build', 'run'))