summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl-xml-libxml/package.py
blob: f09d89c24d6c8974e2cf967ac55b59b48b113f9b (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
# Copyright 2013-2023 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 PerlXmlLibxml(PerlPackage):
    """This module is an interface to libxml2, providing XML and HTML parsers
    with DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3
    interface and a XML::XPath-like interface to XPath API of libxml2. The
    module is split into several packages which are not described in this
    section; unless stated otherwise, you only need to use XML::LibXML; in your
    programs."""

    homepage = "https://metacpan.org/pod/XML::LibXML"
    url = "https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-2.0201.tar.gz"

    license("GPL-1.0-or-later OR Artistic-1.0-Perl")

    version("2.0201", sha256="e008700732502b3f1f0890696ec6e2dc70abf526cd710efd9ab7675cae199bc2")

    depends_on("libxml2")
    depends_on("perl-xml-namespacesupport", type=("build", "run"))
    depends_on("perl-xml-sax", type=("build", "run"))
    depends_on("perl-xml-sax-base", type=("build", "run"))
    depends_on("perl-alien-libxml2", type="build")