spack/var/spack/repos/builtin/packages/r-countrycode/package.py
Julius-Plehn 4ac1a532f3
Adds new R package: GSODR (#17529)
* R GSODR package

* use cloud mirror
2020-07-15 12:05:39 -05:00

20 lines
759 B
Python

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