summaryrefslogtreecommitdiff
path: root/dev-python/id
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-01-22 08:55:25 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-01-22 08:55:25 +0000
commitcf6fc725014b268044a0b732ca494ae824033f60 (patch)
treec3fd9d1d12d00759f728238121d4d32a1bf4b3aa /dev-python/id
parentbd41223a5c8c040b01fa500ecd68c1433039cf21 (diff)
downloadbaldeagleos-repo-cf6fc725014b268044a0b732ca494ae824033f60.tar.gz
baldeagleos-repo-cf6fc725014b268044a0b732ca494ae824033f60.tar.xz
baldeagleos-repo-cf6fc725014b268044a0b732ca494ae824033f60.zip
Adding metadata
Diffstat (limited to 'dev-python/id')
-rw-r--r--dev-python/id/Manifest1
-rw-r--r--dev-python/id/id-1.4.0.ebuild36
-rw-r--r--dev-python/id/id-1.5.0.ebuild26
3 files changed, 23 insertions, 40 deletions
diff --git a/dev-python/id/Manifest b/dev-python/id/Manifest
index 5e650eea940e..48f80d8f650b 100644
--- a/dev-python/id/Manifest
+++ b/dev-python/id/Manifest
@@ -1,2 +1 @@
-DIST id-1.4.0.gh.tar.gz 20215 BLAKE2B d6428c27159a05459bfa8bd03f2bfe660a66efe4e19218ac7d567b06804e1c1e9b43b3d4bffc4bd15c0a553317b0f0c4064927519f7de9df59fad21b20f09eb4 SHA512 a10facc39e2ddc558b994f0f598516c52025901277cbbb4224c297d8c5515d3079474c919fe5a6d534f733103095d7837903f5877c6bcb550c85f7842ac59531
DIST id-1.5.0.gh.tar.gz 20209 BLAKE2B d5f1b959ed8c5151d049cad9c470e0ed773edb68f5c9e721e2d4d5207823af660c641546651fc4eee1dba398bebdd509098471046f7482f102d8be3ae6e4a846 SHA512 bedc354e59d569595b9b7258b3fb2da29f2701a4b9ec80487b98ce30a7077e8b35990bea80db955a95a8d0703d23ab98365077f3c66858f4cab8806f365c25a7
diff --git a/dev-python/id/id-1.4.0.ebuild b/dev-python/id/id-1.4.0.ebuild
deleted file mode 100644
index adc2b9fcc1bf..000000000000
--- a/dev-python/id/id-1.4.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_{9,10,11,12,13} )
-
-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"
-
-RDEPEND="
- dev-python/pydantic[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/pretend[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
diff --git a/dev-python/id/id-1.5.0.ebuild b/dev-python/id/id-1.5.0.ebuild
index 75a70692901f..85d7a4fe30cd 100644
--- a/dev-python/id/id-1.5.0.ebuild
+++ b/dev-python/id/id-1.5.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2024 Gentoo Authors
+# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
inherit distutils-r1
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
@@ -33,3 +33,23 @@ BDEPEND="
"
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
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}