perl-constant: add new package (#41912)

* perl-constant: add new package

* Update package.py

Co-authored-by: Alec Scott <alec@bcs.sh>

---------

Co-authored-by: Alec Scott <alec@bcs.sh>
This commit is contained in:
Christopher Christofi 2024-01-03 18:26:02 +00:00 committed by GitHub
parent 3e3cd64150
commit 0d37564a90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,19 @@
# 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 PerlConstant(PerlPackage):
"""constant - Perl pragma to declare constants."""
homepage = "https://metacpan.org/pod/constant"
url = "https://cpan.metacpan.org/authors/id/R/RJ/RJBS/constant-1.33.tar.gz"
license("GPL-1.0-or-later OR Artistic-1.0-Perl")
version("1.33", sha256="79965d4130eb576670e27ca0ae6899ef0060c76da48b02b97682166882f1b504")
depends_on("perl-extutils-makemaker", type="build")