summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorArne Becker <101113822+EbiArnie@users.noreply.github.com>2024-10-10 08:05:11 +0100
committerGitHub <noreply@github.com>2024-10-10 01:05:11 -0600
commitce0910a82cbbb7ae4ea03372c5169df49145fa58 (patch)
tree7f84f5adb6016aba77d3e3d5aeec9965e3e46fbd /var
parentafc01f95704a9fd06398222fc5f8d5416af1afb4 (diff)
downloadspack-ce0910a82cbbb7ae4ea03372c5169df49145fa58.tar.gz
spack-ce0910a82cbbb7ae4ea03372c5169df49145fa58.tar.bz2
spack-ce0910a82cbbb7ae4ea03372c5169df49145fa58.tar.xz
spack-ce0910a82cbbb7ae4ea03372c5169df49145fa58.zip
perl-sort-naturally: new package (#46886)
* perl-sort-naturally: new package Adds Sort::Naturally * Use new mechanism for testing * Make black happier
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/perl-sort-naturally/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl-sort-naturally/package.py b/var/spack/repos/builtin/packages/perl-sort-naturally/package.py
new file mode 100644
index 0000000000..a4ba950b05
--- /dev/null
+++ b/var/spack/repos/builtin/packages/perl-sort-naturally/package.py
@@ -0,0 +1,23 @@
+# 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 PerlSortNaturally(PerlPackage):
+ """Sort lexically, but sort numeral parts numerically"""
+
+ homepage = "https://metacpan.org/pod/Sort::Naturally"
+ url = "https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Sort-Naturally-1.03.tar.gz"
+
+ maintainers("EbiArnie")
+
+ license("Artistic-1.0-Perl OR GPL-1.0-or-later")
+
+ version("1.03", sha256="eaab1c5c87575a7826089304ab1f8ffa7f18e6cd8b3937623e998e865ec1e746")
+
+ depends_on("perl@5.0.0:", type=("build", "link", "run", "test"))
+
+ use_modules = ["Sort::Naturally"]