summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-adb-enhanced/package.py
blob: f1e830e9c141f405f31ec2efbab2003a63ed2a75 (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
26
27
# Copyright 2013-2020 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 PyAdbEnhanced(PythonPackage):
    """ADB-Enhanced is a Swiss-army knife for Android testing and
    development. A command-line interface to trigger various scenarios
    like screen rotation, battery saver mode, data saver mode, doze
    mode, permission grant/revocation."""

    homepage = "https://opencollective.com/ashishb"
    url      = "https://github.com/ashishb/adb-enhanced/archive/2.5.4.tar.gz"

    version('2.5.4', sha256='329ee2e0cfceaa41c591398b365d9acdfd45ffe913c64ac06e1538041986fffb')
    version('2.5.3', sha256='5a1d5182d1a073b440e862e5481c7a21073eccc3cda7a4774a2aa311fee9bbdc')
    version('2.5.2', sha256='055676156c1566b8d952b9fdfdd89fc09f2d5d1e3b90b4cdf40858ce9947e2ca')

    depends_on('python@3:', type=('build', 'run'))
    depends_on('py-setuptools', type=('build', 'run'))
    depends_on('py-docopt', type=('build', 'run'))
    depends_on('py-future', type=('build', 'run'))
    depends_on('py-psutil', type=('build', 'run'))
    depends_on('py-asyncio', type=('build', 'run'))