summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl-math-bigrat/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/perl-math-bigrat/package.py')
-rw-r--r--var/spack/repos/builtin/packages/perl-math-bigrat/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl-math-bigrat/package.py b/var/spack/repos/builtin/packages/perl-math-bigrat/package.py
new file mode 100644
index 0000000000..d515e50d46
--- /dev/null
+++ b/var/spack/repos/builtin/packages/perl-math-bigrat/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2022 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 PerlMathBigrat(PerlPackage):
+ """Math::BigRat - arbitrary size rational number math package"""
+
+ homepage = "https://metacpan.org/pod/Math::BigRat"
+ url = "https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigRat-0.2624.tar.gz"
+
+ version("0.260805", sha256="9e41be24272e262fadc1921c7f51ff218384c92e5628cb53bf62b3026710fd41")
+
+ depends_on("perl@5.6.0:", type=("build", "run"))
+ depends_on("perl-module-install", type=("build"))