From e01c39019c696230d0dee0c1c59d79bd6d099ef6 Mon Sep 17 00:00:00 2001 From: Joe Koning Date: Mon, 27 Jan 2020 15:26:43 -0800 Subject: Add the py-merlinwf package (#14622) * Add the py-merlinwf package * Fix importlib-resources package name for spack naming convention. * Add build to dependencies and add updated versions. * Remove pytest-runner dependency. * Fix typo. * Add the py-tabulate dependency. * Add sha256 for version 1.0.0 * Change to maestro version 1.1.5. * Increase to version 1.0.4. * Bump maestrowf version and prepare for new pypi version. * Add sha256sum for version 1.1.5 * Add version 1.1.1. Update maestrowf version to 1.1.7 * Add versions 1.0.5, 1.1.0, 1.1.1 and potential 1.2.0. * Add version 1.2.0 and when on maestrowf@1.1.6. * Add version 1.2.2 , remove 1.2.1 and 1.1.0. * Update var/spack/repos/builtin/packages/py-merlinwf/package.py Co-Authored-By: Adam J. Stewart * Update var/spack/repos/builtin/packages/py-merlinwf/package.py Co-Authored-By: Adam J. Stewart * Remove mysql variant until new mysql interface module is enabled. The mysql code may be removed. Co-authored-by: Adam J. Stewart --- .../repos/builtin/packages/py-merlinwf/package.py | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-merlinwf/package.py diff --git a/var/spack/repos/builtin/packages/py-merlinwf/package.py b/var/spack/repos/builtin/packages/py-merlinwf/package.py new file mode 100644 index 0000000000..2082e77997 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-merlinwf/package.py @@ -0,0 +1,38 @@ +# Copyright 2013-2019 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 PyMerlinwf(PythonPackage): + """Merlin Workflow for HPC.""" + + homepage = "https://github.com/LLNL/merlin" + url = "https://pypi.io/packages/source/m/merlinwf/merlinwf-1.2.3.tar.gz" + git = "https://github.com/LLNL/merlin.git" + + version('1.2.3', sha256='6b13a315f3e8e2894ea05d9cc072639f02eaf71ae0fdbd2bafebd1c20c8470ab') + version('1.1.1', sha256='306055a987e42a79ce348a3f9d71293ed8a9b7f5909c26b6fd233d6a176fff6d') + version('1.0.5', sha256='d66f50eac84ff9d7aa484f2d9655dc60f0352196d333284d81b6623a6f0aa180') + version('master', branch='master') + version('develop', branch='develop') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type=('build', 'run')) + + depends_on('py-pytest', type='test') + + depends_on('py-cached-property', type=('build', 'run')) + depends_on('py-celery@4.3.0:+redis', type=('build', 'run')) + depends_on('py-coloredlogs@10.0:', type=('build', 'run')) + depends_on('py-cryptography', type=('build', 'run')) + depends_on('py-importlib-resources', when="^python@3.0:3.6.99", type=('build', 'run')) + depends_on('py-maestrowf@1.1.7dev0:', when="@1.2.0:", type=('build', 'run')) + depends_on('py-maestrowf@1.1.6:', when="@:1.1.99", type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-parse', type=('build', 'run')) + depends_on('py-psutil@5.1.0:', type=('build', 'run')) + depends_on('py-pyyaml@5.1.2:', type=('build', 'run')) + depends_on('py-tabulate', type=('build', 'run')) -- cgit v1.2.3-60-g2f50