diff options
author | Andreas Baumbach <healther@users.noreply.github.com> | 2021-06-17 11:58:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 03:58:21 -0600 |
commit | eac757da8cf992f47d01c7e1075ee6ac67c5dabe (patch) | |
tree | edeaed04fe5c8ca17c906728b06d2f8c8ab26dce | |
parent | 011a940f44053171d0df3ce926948ca6bfa2ae97 (diff) | |
download | spack-eac757da8cf992f47d01c7e1075ee6ac67c5dabe.tar.gz spack-eac757da8cf992f47d01c7e1075ee6ac67c5dabe.tar.bz2 spack-eac757da8cf992f47d01c7e1075ee6ac67c5dabe.tar.xz spack-eac757da8cf992f47d01c7e1075ee6ac67c5dabe.zip |
New package: py-pyusb (#23733)
* New package: py-pyusb
Change-Id: I606127858b961b5841c60befc5a8353df0f9f38c
* fixup dependencies
Change-Id: I0c9b0ccee693d2c4e847717950d4ce64cb319794
* fixup 2
Change-Id: Ibaccbdafd865e363564f491054e4e4ceb778727b
* Update var/spack/repos/builtin/packages/py-pyusb/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-pyusb/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyusb/package.py b/var/spack/repos/builtin/packages/py-pyusb/package.py new file mode 100644 index 0000000000..df0d338537 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pyusb/package.py @@ -0,0 +1,20 @@ +# 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 PyPyusb(PythonPackage): + """Easy USB access from Python.""" + + homepage = "https://github.com/pyusb/pyusb" + pypi = "pyusb/pyusb-1.0.2.tar.gz" + + version('1.0.2', sha256='4e9b72cc4a4205ca64fbf1f3fff39a335512166c151ad103e55c8223ac147362') + + depends_on('py-setuptools', type=('build', 'run')) + depends_on('py-setuptools-scm@:1.999', type='build', when='^py-setuptools@:11.999') + depends_on('py-setuptools-scm', type='build') + depends_on('libusb') |