summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-06-10 12:26:44 -0400
committerGitHub <noreply@github.com>2021-06-10 16:26:44 +0000
commit9da1cb615f5edc36840e509fa2669a97d6bf4444 (patch)
tree7e08dd0f9ba960267c285a4f7a9145b2c074c786 /var
parente4a79dab4724162b864cf560dfc2ce154987d244 (diff)
downloadspack-9da1cb615f5edc36840e509fa2669a97d6bf4444.tar.gz
spack-9da1cb615f5edc36840e509fa2669a97d6bf4444.tar.bz2
spack-9da1cb615f5edc36840e509fa2669a97d6bf4444.tar.xz
spack-9da1cb615f5edc36840e509fa2669a97d6bf4444.zip
New package: py-keyboard (#23636)
* [py-keyboard] created template * [py-keyboard] - updated homepage - added dependency for OSX - added description - removed fixmes * [py-keyboard] Until py-pyobjc can be created, specifying conflict with platform=darwin * [py-keyboard] is verb
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-keyboard/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-keyboard/package.py b/var/spack/repos/builtin/packages/py-keyboard/package.py
new file mode 100644
index 0000000000..3c18da63b7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-keyboard/package.py
@@ -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 PyKeyboard(PythonPackage):
+ """Take full control of your keyboard with this small
+ Python library. Hook global events, register hotkeys,
+ simulate key presses and much more."""
+
+ homepage = "https://github.com/boppreh/keyboard"
+ pypi = "keyboard/keyboard-0.13.5.zip"
+
+ version('0.13.5', sha256='63ed83305955939ca5c9a73755e5cc43e8242263f5ad5fd3bb7e0b032f3d308b')
+
+ depends_on('py-setuptools', type='build')
+ # depends_on('py-pyobjc', when='platform=darwin', type=('build', 'run'))
+
+ # Until py-pyobjc can be created, specifying conflict with platform=darwin
+ conflicts('platform=darwin')