commit:     6c46669c0f394ca77e3f6b23d2c4080ae9fb143d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 31 03:15:46 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 31 03:37:33 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c46669c

dev-python/id: Bump to 1.6.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/id/Manifest        |  1 +
 dev-python/id/id-1.6.0.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/id/Manifest b/dev-python/id/Manifest
index 48f80d8f650b..631e47d52c41 100644
--- a/dev-python/id/Manifest
+++ b/dev-python/id/Manifest
@@ -1 +1,2 @@
 DIST id-1.5.0.gh.tar.gz 20209 BLAKE2B 
d5f1b959ed8c5151d049cad9c470e0ed773edb68f5c9e721e2d4d5207823af660c641546651fc4eee1dba398bebdd509098471046f7482f102d8be3ae6e4a846
 SHA512 
bedc354e59d569595b9b7258b3fb2da29f2701a4b9ec80487b98ce30a7077e8b35990bea80db955a95a8d0703d23ab98365077f3c66858f4cab8806f365c25a7
+DIST id-1.6.0.gh.tar.gz 20662 BLAKE2B 
eed37815071faad0e0fc1cadb2f6634a90b60fcb5af3d19515f2a7629124257864f2048b590169cca67a5e39b4dd1f90cd3e6a331ce245e541a956550f80967c
 SHA512 
1bcc4c36bf5e79da04fa94f9efa00a642a66a1ca02f9dce8bba4ae76d426827a0a060481eaacd5a948eb83837286bd2be29fefea19a9ae92ee208cbbc0b0e23d

diff --git a/dev-python/id/id-1.6.0.ebuild b/dev-python/id/id-1.6.0.ebuild
new file mode 100644
index 000000000000..c133a585760e
--- /dev/null
+++ b/dev-python/id/id-1.6.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2024-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="A tool for generating OIDC identities"
+HOMEPAGE="
+       https://github.com/di/id/
+       https://pypi.org/project/id/
+"
+# no tests in sdist, https://github.com/di/id/issues/286
+SRC_URI="
+       https://github.com/di/id/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       =dev-python/urllib3-2*[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/pretend[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=()
+
+       case ${EPYTHON} in
+               pypy3*)
+                       EPYTEST_DESELECT+=(
+                               # https://github.com/di/id/issues/287
+                               
test/unit/internal/oidc/test_ambient.py::test_gcp_bad_env
+                               
test/unit/internal/oidc/test_ambient.py::test_gcp_wrong_product
+                               
test/unit/internal/oidc/test_ambient.py::test_detect_gcp_request_fails
+                               
test/unit/internal/oidc/test_ambient.py::test_detect_gcp_request_timeout
+                               
test/unit/internal/oidc/test_ambient.py::test_detect_gcp
+                       )
+                       ;;
+       esac
+
+       epytest
+}

Reply via email to