diff options
author | Christopher Christofi <77968333+ChristopherChristofi@users.noreply.github.com> | 2024-01-03 18:26:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 10:26:02 -0800 |
commit | 0d37564a90116b9530089d512cc24d946e3fa30a (patch) | |
tree | 9301be5382291777a37b182f2648f8bf251829c2 /var | |
parent | 3e3cd641506fb392edd3ddc500dc8b83f759594a (diff) | |
download | spack-0d37564a90116b9530089d512cc24d946e3fa30a.tar.gz spack-0d37564a90116b9530089d512cc24d946e3fa30a.tar.bz2 spack-0d37564a90116b9530089d512cc24d946e3fa30a.tar.xz spack-0d37564a90116b9530089d512cc24d946e3fa30a.zip |
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>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/perl-constant/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
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") |