New package: py-pyscreeze (#24251)
* [py-pyscreeze] created template * [py-pyscreeze] added dependencies * [py-pyscreeze] depends on scrot * [py-pyscreeze] Final cleanup - added homepage - added description - removed fixmes * [py-pyscreeze] using pil provider
This commit is contained in:
parent
2739edd42c
commit
986776c937
23
var/spack/repos/builtin/packages/py-pyscreeze/package.py
Normal file
23
var/spack/repos/builtin/packages/py-pyscreeze/package.py
Normal file
@ -0,0 +1,23 @@
|
||||
# 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 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"
|
||||
|
||||
version('0.1.27', sha256='cba2f264fe4b6c70510061cb2ba6e1da0e3bfecfdbe8a3b2cd6305a2afda9e6b')
|
||||
|
||||
depends_on('python@2.7:2.999,3.2:', type=('build', 'run'))
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('pil', type=('build', 'run'))
|
||||
depends_on('scrot', type='run')
|
Loading…
Reference in New Issue
Block a user