summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl-xml-sax-base/package.py
blob: fcafe8eecb7abd572c4494446cf939a8cec86335 (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-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 PerlXmlSaxBase(PerlPackage):
    """This module has a very simple task - to be a base class for PerlSAX
    drivers and filters. It's default behaviour is to pass the input directly
    to the output unchanged. It can be useful to use this module as a base
    class so you don't have to, for example, implement the characters()
    callback."""

    homepage = "https://metacpan.org/pod/XML::SAX::Base"
    url = "https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-1.09.tar.gz"

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

    version("1.09", sha256="66cb355ba4ef47c10ca738bd35999723644386ac853abbeb5132841f5e8a2ad0")