summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-tinytiger/package.py
blob: 930f366c3415310363c31805d36e5b1a66400725 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2013-2024 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.package import *


class RTinytiger(RPackage):
    """Lightweight Interface to TIGER/Line Shapefiles

    Download geographic shapes from the United States Census Bureau TIGER/Line
    Shapefiles
    <https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html>.
    Functions support downloading and reading in geographic boundary data. All
    downloads can be set up with a cache to avoid multiple downloads. Data is
    available back to 2000 for most geographies."""

    homepage = "https://alarm-redist.org/tinytiger/"
    cran = "tinytiger"

    maintainers("jgaeb")

    license("MIT")

    version("0.0.4", sha256="818328b5095d9e8b302f1a04d004cd3ec6e62d945dbd757fe15e9ab768a7459e")
    version("0.0.3", sha256="841d92dd4185b9bff5eef0d3635805c5a3efb1bc4ff0a1101ef264417e37921c")

    depends_on("r@2.0.0:", type=("build", "run"))
    depends_on("r@2.10:", type=("build", "run"), when="@0.0.4:")
    depends_on("r-rlang")
    depends_on("r-cli")
    depends_on("r-glue")
    depends_on("r-curl")
    depends_on("r-sf")