summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rvest/package.py
blob: a1fdd837b42ac8279fcd9e40ae645fd964e0d131 (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
# Copyright 2013-2022 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 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."""

    homepage = "https://github.com/hadley/rvest"
    cran = "rvest"

    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:', when='@:0.3.2', type=('build', 'run'))
    depends_on('r@3.1:', when='@0.3.3', type=('build', 'run'))
    depends_on('r@3.2:', when='@0.3.4:', type=('build', 'run'))
    depends_on('r-httr@0.5:', type=('build', 'run'))
    depends_on('r-lifecycle@1.0.0:', when='@1:', type=('build', 'run'))
    depends_on('r-magrittr', type=('build', 'run'))
    depends_on('r-rlang@0.4.10:', when='@1:', type=('build', 'run'))
    depends_on('r-selectr', type=('build', 'run'))
    depends_on('r-tibble', when='@1:', type=('build', 'run'))
    depends_on('r-xml2', type=('build', 'run'))
    depends_on('r-xml2@1.3:', when='@1:', type=('build', 'run'))