summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2021-12-14 22:04:46 +0100
committerGitHub <noreply@github.com>2021-12-14 15:04:46 -0600
commit5bbb63ed93b5853c2f8f86204083650a59e10cb4 (patch)
tree1a1c7af868de3682d82524ee90db4401d16d0794
parentbc618c2c6ca178f84eb2b9972dde0597143848be (diff)
downloadspack-5bbb63ed93b5853c2f8f86204083650a59e10cb4.tar.gz
spack-5bbb63ed93b5853c2f8f86204083650a59e10cb4.tar.bz2
spack-5bbb63ed93b5853c2f8f86204083650a59e10cb4.tar.xz
spack-5bbb63ed93b5853c2f8f86204083650a59e10cb4.zip
New package: py-law (#27993)
-rw-r--r--var/spack/repos/builtin/packages/py-law/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-law/package.py b/var/spack/repos/builtin/packages/py-law/package.py
new file mode 100644
index 0000000000..432f54191e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-law/package.py
@@ -0,0 +1,22 @@
+# 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 PyLaw(PythonPackage):
+ """Build large-scale task workflows using luigi,
+ remote job submission, remote targets, and environment"""
+
+ homepage = "https://github.com/riga/law"
+ pypi = "law/law-0.1.6.tar.gz"
+
+ version('0.1.6', sha256='17c2c1837080590bff4d2e7228bfb418733f11b60e2bac8f589e68da78cf2ab8')
+
+ depends_on('python@2.7:2,3.3:3', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-six@1.13:', type=('build', 'run'))
+ depends_on('py-luigi@2.8.2:2', type=('build', 'run'), when='^python@:2.7')
+ depends_on('py-luigi@2.8.2:', type=('build', 'run'), when='^python@3:')