diff options
author | iarspider <iarspider@gmail.com> | 2021-12-09 20:29:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 13:29:39 -0600 |
commit | 621760a8b82639fe79f2e72afc09e938729df3be (patch) | |
tree | 93270d1b42c8c8a3454fdd6f8f065dcc09944c65 /var | |
parent | 065f349813c2f8fe345a6f0193c8357ed1b504c7 (diff) | |
download | spack-621760a8b82639fe79f2e72afc09e938729df3be.tar.gz spack-621760a8b82639fe79f2e72afc09e938729df3be.tar.bz2 spack-621760a8b82639fe79f2e72afc09e938729df3be.tar.xz spack-621760a8b82639fe79f2e72afc09e938729df3be.zip |
New packages: py-backports-os, py-fs (#27886)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-backports-os/package.py | 19 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-fs/package.py | 23 |
2 files changed, 42 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-backports-os/package.py b/var/spack/repos/builtin/packages/py-backports-os/package.py new file mode 100644 index 0000000000..e4f802eb57 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-backports-os/package.py @@ -0,0 +1,19 @@ +# 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 PyBackportsOs(PythonPackage): + """Backport of new features in Python's os module""" + + homepage = "https://github.com/pjdelport/backports.os" + pypi = "backports.os/backports.os-0.1.1.tar.gz" + + version('0.1.1', sha256='b472c4933094306ca08ec90b2a8cbb50c34f1fb2767775169a1c1650b7b74630') + + depends_on('py-setuptools', type='build') + depends_on('py-setuptools-scm', type='build') + depends_on('py-future', type=('build', 'run'), when='^python@:2') diff --git a/var/spack/repos/builtin/packages/py-fs/package.py b/var/spack/repos/builtin/packages/py-fs/package.py new file mode 100644 index 0000000000..06f50c3833 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-fs/package.py @@ -0,0 +1,23 @@ +# 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') + + depends_on('py-setuptools@38.3.0:', type='build') + 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') |