summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-auditwheel/package.py
blob: 254452827bf9810a9ad447ab79cbcfb53b0ac5a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2013-2023 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.package import *


class PyAuditwheel(PythonPackage):
    """Auditing and relabeling of PEP 600 manylinux_x_y, PEP 513 manylinux1,
    PEP 571 manylinux2010 and PEP 599 manylinux2014 Linux wheels."""

    homepage = "https://github.com/pypa/auditwheel"
    pypi = "auditwheel/auditwheel-5.1.2.tar.gz"

    license("MIT")

    version("5.1.2", sha256="3ee5830014931ea84af5cd065c637b6614efa03d9b88bd8fbfc924e7ed01d6ba")

    depends_on("python@3.6:", type=("build", "run"))
    depends_on("py-setuptools@45:", type="build")
    depends_on("py-setuptools-scm@6.2:", type="build")
    depends_on("py-pyelftools@0.24:", type=("build", "run"))
    depends_on("py-importlib-metadata", when="^python@:3.7", type=("build", "run"))