summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-countrycode/package.py
blob: f8b03108db762418999b226014462a00a21aee58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 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'))