perl-memoize: add new package with version 1.16 (#41938)

* perl-memoize: add new package with version 1.16=
* fix styling
This commit is contained in:
Christopher Christofi 2024-01-09 21:27:08 +00:00 committed by GitHub
parent f63f7f4b39
commit b66f2ee2a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
# 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 PerlMemoize(PerlPackage):
"""Memoize - Make functions faster by trading space for time."""
homepage = "https://metacpan.org/pod/Memoize"
url = "https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/Memoize-1.16.tar.gz"
license("GPL-1.0-or-later OR Artistic-1.0-Perl")
version("1.16", sha256="091952bcf492ecee35b9e5b8d72920c58023441d79208c1db87837c5c57807be")
depends_on("perl-extutils-makemaker", type="build")
depends_on("perl-scalar-list-utils")