diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-31 07:17:27 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-31 07:17:27 +0000 |
| commit | 172e122a9a8071e85d454412465718f64d683a2e (patch) | |
| tree | c5dd600046b51342fcc6cdbc75383180ee87df2a /dev-python/id | |
| parent | 0acaec3ed8b60dd83c821b4d19b010a8abdbc5eb (diff) | |
| download | baldeagleos-repo-172e122a9a8071e85d454412465718f64d683a2e.tar.gz baldeagleos-repo-172e122a9a8071e85d454412465718f64d683a2e.tar.xz baldeagleos-repo-172e122a9a8071e85d454412465718f64d683a2e.zip | |
Adding metadata
Diffstat (limited to 'dev-python/id')
| -rw-r--r-- | dev-python/id/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/id/id-1.6.0.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
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..4e6d4cd58ac0 --- /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=( 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 +} |
