diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-11-07 07:03:15 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-11-07 07:03:15 +0100 |
commit | 099ce9844720d337f858edd04f0318cfdec96743 (patch) | |
tree | f0742578720abf3f09681c2264dba4d011b08434 /dev-python/PyGithub | |
parent | dev-python/magic-wormhole-transit-relay: Bump to 0.4.0 (diff) | |
download | gentoo-099ce9844720d337f858edd04f0318cfdec96743.tar.gz gentoo-099ce9844720d337f858edd04f0318cfdec96743.tar.bz2 gentoo-099ce9844720d337f858edd04f0318cfdec96743.zip |
dev-python/PyGithub: Bump to 2.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PyGithub')
-rw-r--r-- | dev-python/PyGithub/Manifest | 1 | ||||
-rw-r--r-- | dev-python/PyGithub/PyGithub-2.5.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/PyGithub/Manifest b/dev-python/PyGithub/Manifest index f8fc69a64f8b..d41f7239cd52 100644 --- a/dev-python/PyGithub/Manifest +++ b/dev-python/PyGithub/Manifest @@ -1 +1,2 @@ DIST pygithub-2.4.0.tar.gz 3476673 BLAKE2B 4f07b68c529d6eb3936768bd64ff3790f794c9c37d0aa1f34496d17f0423ac9501248874ffb954bc8a38c1fe04f43aa040e6cb151f00464effe6b98669459f04 SHA512 647ccc56d6108a5c08321c75552b59e5d7120fd3f45587579384f3a3a1cf500aceadf4e302ccf19d8655645be5d6a76263ec5f337b08b24d94c432bbe1cb5848 +DIST pygithub-2.5.0.tar.gz 3552804 BLAKE2B edd573728a3522eafc8def0341f508f4cbb700bfa94ec64480c47ade5cf92f6ded6b4c88b6c893d333e258a10f13fc5320d3bb6302410ca8872656fc26a7d63e SHA512 98c7aecf17d4e2e5497f999b65f7e1c531b2efb34c748bd229126f22c5611cfd0b428f5b3be93aead907f49fe9043a29573d2fea6237173f203a0f1c50c748b5 diff --git a/dev-python/PyGithub/PyGithub-2.5.0.ebuild b/dev-python/PyGithub/PyGithub-2.5.0.ebuild new file mode 100644 index 000000000000..aa72bfba2f1b --- /dev/null +++ b/dev-python/PyGithub/PyGithub-2.5.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to access the Github API v3" +HOMEPAGE=" + https://github.com/PyGithub/PyGithub/ + https://pypi.org/project/PyGithub/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# cryptography via pyjwt[crypto] +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/deprecated[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.4.0[${PYTHON_USEDEP}] + >=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/httpretty-1.0.3[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |