summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rvest/package.py
blob: 0e3cb2b544c956aa8a1f53186d8a542cf7c6bf25 (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
36
37
38
39
40
# 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 RRvest(RPackage):
    """Easily Harvest (Scrape) Web Pages.

    Wrappers around the 'xml2' and 'httr' packages to make it easy to download,
    then manipulate, HTML and XML."""

    cran = "rvest"

    license("MIT")

    version("1.0.3", sha256="a465ef7391afaa3c26eebe8c61db02314ac04c4d8de5aa53f090716763d21c1e")
    version("1.0.2", sha256="89bb477e0944c80298a52ccf650db8f6377fd7ed3c1bc7034d000f695fdf05a4")
    version("0.3.6", sha256="6a2ee3a25d2d738031edbc1b5e2410f2a4538dfbb9705af145f9039504b902fa")
    version("0.3.4", sha256="413e171b9e89b7dc4e8b41165027cf19eb97cd73e149c252237bbdf0d0a4254a")
    version("0.3.3", sha256="b10a87fa2d733f7c0fc567242ef0ab10a1a77d58d51796996cc0fd81381a556f")
    version("0.3.2", sha256="0d6e8837fb1df79b1c83e7b48d8f1e6245f34a10c4bb6952e7bec7867e4abb12")

    depends_on("r@3.0.1:", type=("build", "run"))
    depends_on("r@3.1:", type=("build", "run"), when="@0.3.3")
    depends_on("r@3.2:", type=("build", "run"), when="@0.3.4:")
    depends_on("r-cli", type=("build", "run"), when="@1.0.3:")
    depends_on("r-glue", type=("build", "run"), when="@1.0.3:")
    depends_on("r-httr@0.5:", type=("build", "run"))
    depends_on("r-lifecycle@1.0.0:", type=("build", "run"), when="@1:")
    depends_on("r-magrittr", type=("build", "run"))
    depends_on("r-rlang@0.4.10:", type=("build", "run"), when="@1:")
    depends_on("r-rlang@1.0.0:", type=("build", "run"), when="@1.0.3:")
    depends_on("r-selectr", type=("build", "run"))
    depends_on("r-tibble", type=("build", "run"), when="@1:")
    depends_on("r-xml2", type=("build", "run"))
    depends_on("r-xml2@1.3:", type=("build", "run"), when="@1:")
    depends_on("r-withr", type=("build", "run"), when="@1.0.3:")