From 0d37564a90116b9530089d512cc24d946e3fa30a Mon Sep 17 00:00:00 2001 From: Christopher Christofi <77968333+ChristopherChristofi@users.noreply.github.com> Date: Wed, 3 Jan 2024 18:26:02 +0000 Subject: [PATCH] perl-constant: add new package (#41912) * perl-constant: add new package * Update package.py Co-authored-by: Alec Scott --------- Co-authored-by: Alec Scott --- .../builtin/packages/perl-constant/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/perl-constant/package.py diff --git a/var/spack/repos/builtin/packages/perl-constant/package.py b/var/spack/repos/builtin/packages/perl-constant/package.py new file mode 100644 index 0000000000..7651da120d --- /dev/null +++ b/var/spack/repos/builtin/packages/perl-constant/package.py @@ -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")