summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-xml2/package.py
blob: 9d5cc6f56d0e2b02697f0904eff75e3214646eff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2018 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 RXml2(RPackage):
    """Work with XML files using a simple, consistent interface. Built on top
       of the 'libxml2' C library."""

    homepage = "https://cran.r-project.org/package=xml2"
    url      = "https://cran.r-project.org/src/contrib/xml2_1.1.1.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/xml2"

    version('1.1.1', '768f7edc39c4baab6b6b9e7c7ec79fee')

    depends_on('r-rcpp', type=('build', 'run'))
    depends_on('r-bh', type=('build', 'run'))
    depends_on('libxml2')