summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-machotools/package.py
blob: 3ce943d59147f25b409d912503815bfc50ba6ee7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2013-2024 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 PyMachotools(PythonPackage):
    """Python package for editing Mach-O headers using macholib"""

    pypi = "machotools/machotools-0.2.0.tar.gz"

    version("0.2.0", sha256="e3950fa263169087d44a3d0521a3267d5128efd1b85252670c7171955939ab58")

    depends_on("py-setuptools", type="build")
    depends_on("py-macholib", type=("build", "run"))