summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-06-29 15:04:20 -0400
committerGitHub <noreply@github.com>2021-06-29 13:04:20 -0600
commite284cd136a486ec4bb3b035a94d5784490535c6f (patch)
tree8bc67c9b1a8dbabb5486a8482e5f2e133298efca /var
parentf5474a2b8b6e6dbfbe929c96bb1f394d1fd59df3 (diff)
downloadspack-e284cd136a486ec4bb3b035a94d5784490535c6f.tar.gz
spack-e284cd136a486ec4bb3b035a94d5784490535c6f.tar.bz2
spack-e284cd136a486ec4bb3b035a94d5784490535c6f.tar.xz
spack-e284cd136a486ec4bb3b035a94d5784490535c6f.zip
New package: py-pyautogui (#24572)
* [py-pyautogui] created template * [py-pyautogui] added some unconditional dependencies * [py-pyautogui] Final cleanup - added homepage - added description - removed fixmes * [py-pyautogui] added missing dependencies
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pyautogui/package.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyautogui/package.py b/var/spack/repos/builtin/packages/py-pyautogui/package.py
new file mode 100644
index 0000000000..619171d061
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyautogui/package.py
@@ -0,0 +1,32 @@
+# 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 PyPyautogui(PythonPackage):
+ """PyAutoGUI lets your Python scripts control the mouse and
+ keyboard to automate interactions with other
+ applications."""
+
+ homepage = "https://pyautogui.readthedocs.io/en/latest/"
+ pypi = "PyAutoGUI/PyAutoGUI-0.9.52.tar.gz"
+
+ version('0.9.52', sha256='a486cb6b818bcbcdf98b48d010c7cee964134fa394b756e8ce6e50d43b58ecc8')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pymsgbox', type=('build', 'run'))
+ depends_on('py-pytweening@1.0.1:', type=('build', 'run'))
+ depends_on('py-pyscreeze@0.1.21:', type=('build', 'run'))
+ depends_on('py-pygetwindow@0.0.5:', type=('build', 'run'))
+ depends_on('py-mouseinfo', type=('build', 'run'))
+
+ depends_on('py-python3-xlib', when='^python@3: platform=linux', type=('build', 'run'))
+ depends_on('py-python-xlib', when='^python@:2.999 platform=linux', type=('build', 'run'))
+
+ # Missing packages; commented out for now
+ # depends_on('py-pyobjc-core', when='platform=darwin', type=('build', 'run'))
+ # depends_on('py-pyobjc', when='platform=darwin', type=('build', 'run'))
+ conflicts('platform=darwin')