blob: 82b738a274971081ee129dfbf096fae16d508ff7 (
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 PyPyscreeze(PythonPackage):
"""PyScreeze can take screenshots, save them to files, and
locate images within the screen. This is useful if you have
a small image of, say, a button that needs to be clicked
and want to locate it on the screen."""
homepage = "https://github.com/asweigart/pyscreeze"
pypi = "PyScreeze/PyScreeze-0.1.27.tar.gz"
license("MIT")
version("0.1.27", sha256="cba2f264fe4b6c70510061cb2ba6e1da0e3bfecfdbe8a3b2cd6305a2afda9e6b")
depends_on("python@2.7:2,3.2:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("pil", type=("build", "run"))
depends_on("scrot", type="run")
|