summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-python3-xlib/package.py
blob: 59e9f6052df359c1c12c14b87a30bb881a3313ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 PyPython3Xlib(PythonPackage):
    """python3-xlib is python3 version of python-xlib."""

    pypi     = "python3-xlib/python3-xlib-0.15.tar.gz"

    version('0.15', sha256='dc4245f3ae4aa5949c1d112ee4723901ade37a96721ba9645f2bfa56e5b383f8')

    depends_on('python@3:', type=('build', 'run'))
    # pip silently replaces distutils with setuptools
    depends_on('py-setuptools', type='build')