summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-fs/package.py
blob: af1a4121d99abb3ba4dd66a83e1fd5a66d174eb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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 PyFs(PythonPackage):
    """Python's filesystem abstraction layer"""

    homepage = "https://github.com/PyFilesystem/pyfilesystem2"
    pypi     = "fs/fs-2.4.14.tar.gz"

    version('2.4.14', sha256='9555dc2bc58c58cac03478ac7e9f622d29fe2d20a4384c24c90ab50de2c7b36c')
    version('0.5.4', sha256='ba2cca8773435a7c86059d57cb4b8ea30fda40f8610941f7822d1ce3ffd36197')

    depends_on('py-setuptools@38.3.0:', type='build')
    depends_on('py-setuptools@:57', type='build', when='@:0')
    depends_on('py-appdirs@1.4.3:1.4',  type=('build', 'run'))
    depends_on('py-pytz',  type=('build', 'run'))
    depends_on('py-six@1.10:1', type=('build', 'run'))
    depends_on('py-enum34@1.1.6:1.1', type=('build', 'run'), when='^python@:3.3')
    depends_on('py-typing@3.6:3', type=('build', 'run'), when='^python@:3.5')
    depends_on('py-backports-os@0.1:0', type=('build', 'run'), when='^python@:2')