summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianluca Ficarelli <26835404+GianlucaFicarelli@users.noreply.github.com>2021-09-02 14:58:02 +0200
committerGitHub <noreply@github.com>2021-09-02 07:58:02 -0500
commitf71d93fc55f2aaf955a31779b2fd2d0bbd17a37a (patch)
tree7051b13537ec5ed31c9e1e039c293800df6bacc0
parent2d78045cdde0b03b8f61b82ab249cd75c7514d35 (diff)
downloadspack-f71d93fc55f2aaf955a31779b2fd2d0bbd17a37a.tar.gz
spack-f71d93fc55f2aaf955a31779b2fd2d0bbd17a37a.tar.bz2
spack-f71d93fc55f2aaf955a31779b2fd2d0bbd17a37a.tar.xz
spack-f71d93fc55f2aaf955a31779b2fd2d0bbd17a37a.zip
py-submitit: add new package (#25699)
-rw-r--r--var/spack/repos/builtin/packages/py-submitit/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-submitit/package.py b/var/spack/repos/builtin/packages/py-submitit/package.py
new file mode 100644
index 0000000000..0e8bfa31e9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-submitit/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 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 import *
+
+
+class PySubmitit(PythonPackage):
+ """Python toolbox for submitting jobs to Slurm."""
+
+ homepage = "https://github.com/facebookincubator/submitit"
+ pypi = "submitit/submitit-1.3.3.tar.gz"
+
+ version('1.3.3', sha256='efaa77b2df9ea9ee02545478cbfc377853ddf8016bff59df6988bebcf51ffa7e')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+
+ depends_on('py-cloudpickle@1.2.1:', type=('build', 'run'))
+ depends_on('py-typing-extensions@3.7.4.2:', type=('build', 'run'))