py-pygithub: new versions, dependencies (#41072)

* py-pygithub: new versions, dependencies

* py-pygithub: reordered dependencies per requirements.txt

* py-pygithub: depends on py-setuptools-scm
This commit is contained in:
Wouter Deconinck 2023-11-18 09:57:46 -06:00 committed by GitHub
parent 16f4c53cd4
commit d171f314c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,16 +7,25 @@
class PyPygithub(PythonPackage):
"""Use the full Github API v3"""
"""Typed interactions with the GitHub API v3"""
homepage = "https://pygithub.readthedocs.io/"
pypi = "PyGithub/PyGithub-1.54.1.tar.gz"
version("2.1.1", sha256="ecf12c2809c44147bce63b047b3d2e9dac8a41b63e90fcb263c703f64936b97c")
version("1.59.1", sha256="c44e3a121c15bf9d3a5cc98d94c9a047a5132a9b01d22264627f58ade9ddc217")
version("1.55", sha256="1bbfff9372047ff3f21d5cd8e07720f3dbfdaf6462fcaed9d815f528f1ba7283")
depends_on("python@3.6:", type=("build", "run"))
depends_on("python@3.7:", type=("build", "run"), when="@1.57:")
depends_on("py-setuptools", type="build")
depends_on("py-deprecated", type=("build", "run"))
depends_on("py-pyjwt@2:", type=("build", "run"))
depends_on("py-setuptools-scm", type="build", when="@1.58.1:")
depends_on("py-pynacl@1.4.0:", type=("build", "run"))
depends_on("py-python-dateutil", type=("build", "run"), when="@2.1.0:")
depends_on("py-requests@2.14.0:", type=("build", "run"))
depends_on("py-pyjwt@2.4.0:", type=("build", "run"))
depends_on("py-pyjwt@2.4.0: +crypto", type=("build", "run"), when="@1.58.1:")
depends_on("py-typing-extensions@4:", type=("build", "run"), when="@2.1.0:")
depends_on("py-urllib3@1.26.0:", type=("build", "run"), when="@2.1.0:")
depends_on("py-deprecated", type=("build", "run"))