summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2022-04-25 08:46:52 -0400
committerGitHub <noreply@github.com>2022-04-25 14:46:52 +0200
commit4c0cc5a295bb3b83f34f2904a7f0f672167c4364 (patch)
tree026cd649172fa6106c51a6da3c7ec27b830676b0 /var
parent57968e7ad4eab9139a4248669c363da01d385d71 (diff)
downloadspack-4c0cc5a295bb3b83f34f2904a7f0f672167c4364.tar.gz
spack-4c0cc5a295bb3b83f34f2904a7f0f672167c4364.tar.bz2
spack-4c0cc5a295bb3b83f34f2904a7f0f672167c4364.tar.xz
spack-4c0cc5a295bb3b83f34f2904a7f0f672167c4364.zip
testu01: new package (#30266)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/testu01/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/testu01/package.py b/var/spack/repos/builtin/packages/testu01/package.py
new file mode 100644
index 0000000000..da13faef34
--- /dev/null
+++ b/var/spack/repos/builtin/packages/testu01/package.py
@@ -0,0 +1,27 @@
+# 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 os import chmod
+
+from spack import *
+
+
+class Testu01(AutotoolsPackage):
+ """TestU01 is a software library, implemented in the ANSI C language, and
+ offering a collection of utilities for the empirical statistical testing of
+ uniform random number generators."""
+
+ homepage = "http://simul.iro.umontreal.ca/testu01/tu01.html"
+ git = "https://github.com/umontreal-simul/TestU01-2009/"
+
+ maintainers = ['sethrj']
+
+ version('1.2.3', sha256='bc1d1dd2aea7ed3b3d28eaad2c8ee55913f11ce67aec8fe4f643c1c0d2ed1cac',
+ url='http://simul.iro.umontreal.ca/testu01/TestU01.zip')
+
+ @run_before('configure')
+ def fix_permissions(self):
+ if not self.force_autoreconf:
+ chmod(join_path(self.stage.source_path, "configure"), 0o755)