summaryrefslogtreecommitdiff
path: root/dev-python/id
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-05 19:18:11 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-05 19:18:11 +0000
commitae4397d78e495404afda11d03c7ba29e7c524058 (patch)
treeb6428e0150f06f9fa5e0d14d9c8e85a3406408a0 /dev-python/id
parentdfd5a7f7e258f244f137f0b58ee5dcb9b1bc671c (diff)
downloadbaldeagleos-repo-ae4397d78e495404afda11d03c7ba29e7c524058.tar.gz
baldeagleos-repo-ae4397d78e495404afda11d03c7ba29e7c524058.tar.xz
baldeagleos-repo-ae4397d78e495404afda11d03c7ba29e7c524058.zip
Adding metadata
Diffstat (limited to 'dev-python/id')
-rw-r--r--dev-python/id/Manifest1
-rw-r--r--dev-python/id/id-1.6.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/id/Manifest b/dev-python/id/Manifest
index 631e47d52c41..0ef154703d73 100644
--- a/dev-python/id/Manifest
+++ b/dev-python/id/Manifest
@@ -1,2 +1,3 @@
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
+DIST id-1.6.1.gh.tar.gz 23418 BLAKE2B ddea443e5924c6925789a900ea837e0764b795cbea838a05518a4d07718de861e2a66d1f95a8053afd118cc73b4a57fedabb9092292912a0f1dad937fa4e18be SHA512 58ce4586eff00ad2ac36b4dff31199eedca7287a5a317175238b8ed0a015b8fd5e1b09ad66a5b2ad7042cefac6d8dd980ee1924d112afe6a62a56edf6f07ae24
diff --git a/dev-python/id/id-1.6.1.ebuild b/dev-python/id/id-1.6.1.ebuild
new file mode 100644
index 000000000000..4e6d4cd58ac0
--- /dev/null
+++ b/dev-python/id/id-1.6.1.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=( python3_{10..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
+}