py-luigi: add v3.0.1-3 (#23246)

* py-luigi: add v3.0.1-3

* address review comments

* more review comments
This commit is contained in:
genric 2021-04-29 18:52:03 +02:00 committed by GitHub
parent 3959da5a68
commit 56eb66e79a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 4 deletions

View File

@ -12,10 +12,25 @@ class PyLuigi(PythonPackage):
homepage = "https://github.com/spotify/luigi"
pypi = "luigi/luigi-2.8.3.tar.gz"
version('3.0.3', sha256='7edc05a32bcff5aad28d7c7e3b15b761ef13fe2a495692602ebf0800eba66849')
version('3.0.2', sha256='b4b1ccf086586d041d7e91e68515d495c550f30e4d179d63863fea9ccdbb78eb')
version('3.0.1', sha256='f158f4e093638bf734e2f4f08261bdba414bac7187ab69f1d6f8c95b1c408409')
version('2.8.3', sha256='8b5c84a3c3f4df07309056d3b98348b93c054f1931b7ee22fc29e7989f645c9e')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('python@2.7:2.8,3.3:', type=('build', 'run'))
depends_on('python@3.3:', type=('build', 'run'), when='@3.0.0:')
depends_on('python@3.5:', type=('build', 'run'), when='@3.0.2:')
depends_on('py-setuptools', type='build')
depends_on('py-tornado@4.0:4.99', type=('build', 'run'))
depends_on('py-python-daemon@:2.1', type=('build', 'run'))
depends_on('py-python-dateutil@2.7.5', when='@2.8.3:', type=('build', 'run'))
depends_on('py-enum34@1.1.1:', when='^python@:3.3.999', type=('build', 'run'))
depends_on('py-tornado@4.0:4.999', type=('build', 'run'), when='@:2.999')
depends_on('py-tornado@5.0:5.999', type=('build', 'run'), when='@3.0.1')
depends_on('py-tornado@5.0:6.999', type=('build', 'run'), when='@3.0.2:')
depends_on('py-tenacity@6.3.0:6.999', type=('build', 'run'), when='@3.0.3:')
depends_on('py-python-daemon', type=('build', 'run'))
depends_on('py-python-dateutil@2.7.5:2.999', when='@2.8.3:', type=('build', 'run'))

View File

@ -0,0 +1,26 @@
# 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 PyTenacity(PythonPackage):
"""Retrying library for Python"""
homepage = "https://github.com/jd/tenacity"
pypi = "tenacity/tenacity-6.3.1.tar.gz"
version('6.3.1', sha256='e14d191fb0a309b563904bbc336582efe2037de437e543b38da749769b544d7f')
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-setuptools-scm', type='build')
depends_on('py-six@1.9.0:', type=('build', 'run'))
depends_on('py-futures@3.0:', when='^python@:2.999', type=('build', 'run'))
depends_on('py-monotonic@0.6:', when='^python@:2.999', type=('build', 'run'))
depends_on('py-typing@3.7.4.1:', when='^python@:2.999', type=('build', 'run'))