diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2021-07-20 04:49:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 19:49:34 -0700 |
commit | b8b8450400fa426e696caf0d461a331598fb6ec8 (patch) | |
tree | 125f11e3b015d0854116fe48701c4821ef79338e | |
parent | d74b2967525c3e71183d52cce439a8bbf4b8a51f (diff) | |
download | spack-b8b8450400fa426e696caf0d461a331598fb6ec8.tar.gz spack-b8b8450400fa426e696caf0d461a331598fb6ec8.tar.bz2 spack-b8b8450400fa426e696caf0d461a331598fb6ec8.tar.xz spack-b8b8450400fa426e696caf0d461a331598fb6ec8.zip |
py-pygithub: add new package (#24957)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pygithub/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pygithub/package.py b/var/spack/repos/builtin/packages/py-pygithub/package.py new file mode 100644 index 0000000000..da6c3aac82 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pygithub/package.py @@ -0,0 +1,22 @@ +# 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 PyPygithub(PythonPackage): + """Use the full Github API v3""" + + homepage = "https://pygithub.readthedocs.io/" + pypi = "PyGithub/PyGithub-1.54.1.tar.gz" + + version('1.55', sha256='1bbfff9372047ff3f21d5cd8e07720f3dbfdaf6462fcaed9d815f528f1ba7283') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-deprecated', type=('build', 'run')) + depends_on('py-pyjwt@2:', type=('build', 'run')) + depends_on('py-pynacl@1.4.0:', type=('build', 'run')) + depends_on('py-requests@2.14.0:', type=('build', 'run')) |