New package: py-xrootdpyfs (#28058)

* New package: py-xrootdpyfs

* Add old version of py-fs

* Replace 2to3.patch with running 2to3

* Just restriuct setuptools version

* Update var/spack/repos/builtin/packages/py-fs/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
iarspider 2021-12-17 18:11:20 +01:00 committed by GitHub
parent d9c4b91af3
commit 225595235c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -13,8 +13,10 @@ class PyFs(PythonPackage):
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'))

View File

@ -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 PyXrootdpyfs(PythonPackage):
"""XRootDPyFS is a PyFilesystem interface to XRootD."""
homepage = "http://github.com/inveniosoftware/xrootdpyfs/"
pypi = "xrootdpyfs/xrootdpyfs-0.2.2.tar.gz"
version('0.2.2', sha256='43698c260f3ec52320c6bfac8dd3e7c2be7d28e9e9f58edf4f916578114e82bf')
depends_on('py-setuptools', type='build')
depends_on('py-fs@0.5.4:1', type=('build', 'run'))
depends_on('xrootd@4.8.4:4 +python', type=('build', 'run'))