summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-xattr/package.py
blob: a40fd278d6586bcd43f2b7c4595c3ed2f373633d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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)


class PyXattr(PythonPackage):
    """A python interface to access extended file attributes,
    sans libattr dependency.
    """

    homepage = "http://pyxattr.k1024.org/"
    pypi = "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')