summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl-xml-sax-writer/package.py
blob: ccc27f00d0445615686f1bb03ad3db6399568875 (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
# 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 PerlXmlSaxWriter(PerlPackage):
    """A new XML Writer was needed to match the SAX2 effort because quite
    naturally no existing writer understood SAX2. My first intention had been
    to start patching XML::Handler::YAWriter as it had previously been my
    favourite writer in the SAX1 world."""

    homepage = "https://metacpan.org/pod/XML::SAX::Writer"
    url = "https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-0.57.tar.gz"

    license("Artistic-1.0")

    version("0.57", sha256="3d61d07ef43b0126f5b4de4f415a256fa859fa88dc4fdabaad70b7be7c682cf0")

    depends_on("perl-xml-filter-buffertext", type=("build", "run"))
    depends_on("perl-xml-namespacesupport", type=("build", "run"))
    depends_on("perl-xml-sax-base", type=("build", "run"))