commit: a5c9365c65f81cbcf14cb71771e25612f771d112 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Feb 16 03:21:38 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Feb 16 03:21:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c9365c
dev-python/pygithub: Bump to 2.6.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pygithub/Manifest | 1 + dev-python/pygithub/pygithub-2.6.0.ebuild | 44 +++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/pygithub/Manifest b/dev-python/pygithub/Manifest index 575c5f09ddca..80a36f85bf90 100644 --- a/dev-python/pygithub/Manifest +++ b/dev-python/pygithub/Manifest @@ -1 +1,2 @@ DIST pygithub-2.5.0.tar.gz 3552804 BLAKE2B edd573728a3522eafc8def0341f508f4cbb700bfa94ec64480c47ade5cf92f6ded6b4c88b6c893d333e258a10f13fc5320d3bb6302410ca8872656fc26a7d63e SHA512 98c7aecf17d4e2e5497f999b65f7e1c531b2efb34c748bd229126f22c5611cfd0b428f5b3be93aead907f49fe9043a29573d2fea6237173f203a0f1c50c748b5 +DIST pygithub-2.6.0.tar.gz 3658095 BLAKE2B 472e69b168676bd4a474b2d7161f02fe5dc0d085e02c6db047ff50bff0adf9482bff2c58a2df7027bfb20989cecf00adae5211c04a5a806fc8e3f7dd64818982 SHA512 00bf952071dd82f24728eb8665a46da4c17fc0de6490ed2bd1c7d85e617db7347fe23eadfe0d6cd83afc6d5b52c863c8fee65689546f0f15e5bfe12e89c01840 diff --git a/dev-python/pygithub/pygithub-2.6.0.ebuild b/dev-python/pygithub/pygithub-2.6.0.ebuild new file mode 100644 index 000000000000..0da5924771d6 --- /dev/null +++ b/dev-python/pygithub/pygithub-2.6.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=PyGithub +PYTHON_COMPAT=( python3_{10..13} ) + +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/responses[${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 +}