spack/var/spack/repos/builtin/packages/py-xattr/package.py
Massimiliano Culpo ab62ad463d
py-xattr: fix a package that was pointing to a fork (#13685)
The package now points to the official github repository for master
and to PyPI for release versions.
2019-11-18 12:09:47 +01:00

21 lines
706 B
Python

# Copyright 2013-2019 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)
class PyXattr(PythonPackage):
"""A python interface to access extended file attributes,
sans libattr dependency.
"""
homepage = "http://pyxattr.k1024.org/"
url = "https://pypi.io/packages/source/x/xattr/xattr-0.9.6.tar.gz"
git = "https://github.com/iustin/pyxattr.git"
version('master', branch='master')
version('0.9.6', sha256='7cb1b28eeab4fe99cc4350e831434142fce658f7d03f173ff7722144e6a47458')
depends_on('python@2.7:')
depends_on('py-setuptools', type='build')