spack/var/spack/repos/builtin/packages/perl-readonly/package.py

18 lines
620 B
Python

# Copyright 2013-2020 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 PerlReadonly(PerlPackage):
"""Readonly - Facility for creating read-only scalars, arrays, hashes"""
homepage = "https://metacpan.org/pod/Readonly"
url = "https://cpan.metacpan.org/authors/id/S/SA/SANKO/Readonly-2.05.tar.gz"
version('2.05', sha256='4b23542491af010d44a5c7c861244738acc74ababae6b8838d354dfb19462b5e')
depends_on('perl-module-build-tiny', type='build')