diff options
author | Andrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com> | 2021-02-03 22:15:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 21:15:48 -0600 |
commit | e9ae44fd8c0c00d75e7b324b241ad9d54c73e0ff (patch) | |
tree | 1822e0766e1cc0530996e84b4353086ec20c4be9 | |
parent | 457fc4c095c6d06cfdaa6634f81dfd4044cb4eab (diff) | |
download | spack-e9ae44fd8c0c00d75e7b324b241ad9d54c73e0ff.tar.gz spack-e9ae44fd8c0c00d75e7b324b241ad9d54c73e0ff.tar.bz2 spack-e9ae44fd8c0c00d75e7b324b241ad9d54c73e0ff.tar.xz spack-e9ae44fd8c0c00d75e7b324b241ad9d54c73e0ff.zip |
py-flufl-lock: new recipe (#21334)
* py-flufl-lock: new recipe
* py-flufl-lock: fix typing extension when no longer provisional
-rw-r--r-- | var/spack/repos/builtin/packages/py-flufl-lock/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-flufl-lock/package.py b/var/spack/repos/builtin/packages/py-flufl-lock/package.py new file mode 100644 index 0000000000..70b57ff62f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-flufl-lock/package.py @@ -0,0 +1,24 @@ +# 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 PyFluflLock(PythonPackage): + """NFS-safe file locking with timeouts for POSIX and Windows""" + + homepage = "https://fluflock.readthedocs.io" + pypi = "flufl.lock/flufl.lock-5.0.4.tar.gz" + + version('5.0.4', sha256='09ffef831d57c4d182e398e97bb74ad8c8ffbd1710175a5a0b0f057095db12f1') + version('5.0.3', sha256='94df161caa489d74afc26df8c0b640770923ecc0c6c5d331fbeabe7b91d306cb') + version('3.2', sha256='a8d66accc9ab41f09961cd8f8db39f9c28e97e2769659a3567c63930a869ff5b') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-atpublic', type=('build', 'run')) + depends_on('py-psutil', type=('build', 'run')) + depends_on('py-typing-extensions', when='^python@:3.7.999', type=('build', 'run')) |