summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Christofi <77968333+ChristopherChristofi@users.noreply.github.com>2023-12-28 09:47:58 +0000
committerGitHub <noreply@github.com>2023-12-28 10:47:58 +0100
commit6d20c54eef24187207dbdf0f4e1d3e01b6c2f844 (patch)
tree7318d183605820ec0b573c42af4ee3b29d092225
parente9ab82ff5500d9066a036f7d35f98f6259c298be (diff)
downloadspack-6d20c54eef24187207dbdf0f4e1d3e01b6c2f844.tar.gz
spack-6d20c54eef24187207dbdf0f4e1d3e01b6c2f844.tar.bz2
spack-6d20c54eef24187207dbdf0f4e1d3e01b6c2f844.tar.xz
spack-6d20c54eef24187207dbdf0f4e1d3e01b6c2f844.zip
perl-template-toolkit: add new package (#41817)
-rw-r--r--var/spack/repos/builtin/packages/perl-template-toolkit/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl-template-toolkit/package.py b/var/spack/repos/builtin/packages/perl-template-toolkit/package.py
new file mode 100644
index 0000000000..b2644d6721
--- /dev/null
+++ b/var/spack/repos/builtin/packages/perl-template-toolkit/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2023 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 PerlTemplateToolkit(PerlPackage):
+ """Template - Front-end module to the Template Toolkit."""
+
+ homepage = "https://metacpan.org/pod/Template"
+ url = "https://cpan.metacpan.org/authors/id/A/AB/ABW/Template-Toolkit-3.101.tar.gz"
+
+ maintainers("ChristopherChristofi")
+
+ version("3.101", sha256="d2a32dd6c21e4b37c6a93df8087ca9e880cfae613a3e5efaea307b0bdcaedb58")
+
+ depends_on("perl-extutils-makemaker", type=("build"))
+ depends_on("perl-appconfig@1.56:")
+ depends_on("perl-pathtools@0.8:")
+ depends_on("perl-file-temp@0.12:")
+ depends_on("perl-test-leaktrace", type=("build", "test"))
+
+ def configure_args(self):
+ args = ["TT_QUIET=y", "TT_ACCEPT=y"]
+ return args