summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-appnope/package.py
blob: eaccfd58e598a3cc8ad121201884897ed57502eb (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 PyAppnope(PythonPackage):
    """Disable App Nap on OS X 10.9"""

    homepage = "https://github.com/minrk/appnope"
    pypi = "appnope/appnope-0.1.0.tar.gz"

    version('0.1.0', sha256='8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71')

    # pip silently replaces distutils with setuptools
    depends_on('py-setuptools', type='build')