summaryrefslogtreecommitdiff
path: root/dev-python/id
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-23 06:45:02 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-23 06:45:02 +0000
commitc78477d222e1ceb9516a9bbbadbba0b5c1ce11db (patch)
tree5187cbad4740387edb2c1cca0942036a0fdccd88 /dev-python/id
parent564687d289b862b8b079569a45a2d39d7b8c3585 (diff)
gentoo auto-resync : 23:01:2025 - 06:45:02
Diffstat (limited to 'dev-python/id')
-rw-r--r--dev-python/id/Manifest4
-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, 24 insertions, 42 deletions
diff --git a/dev-python/id/Manifest b/dev-python/id/Manifest
index f357ef317925..470f17e40f2f 100644
--- a/dev-python/id/Manifest
+++ b/dev-python/id/Manifest
@@ -1,5 +1,3 @@
-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
-EBUILD id-1.4.0.ebuild 685 BLAKE2B 858335acaf4201c13aa7c956c269927601f80b6fc1c2abf66e21726bb6693090ee16ef982088d8c7f8c22844225894b3c38af7a0074fdc5115097d7f05bf5d84 SHA512 de227773c9ea044570082fea5053d07dff4aa9b38028f8c5deb2515187b5511cd2605b314f310defd292d15d92b31875f0e9d9755aba670fd2085b2328082327
-EBUILD id-1.5.0.ebuild 646 BLAKE2B 699e0f3e52fb44a73891e25a3c11666b4eb0368114cce62f3722baf88941d249b1c2675757357e803c4d7ae6dd61eb68786c6e7838488bb000ffa279fe6eedfa SHA512 874a40def52f810df0acc282cf77942564a7e73905f289251332055f400df31181eb932bf9fd7b7491939ac8c686205da14f69ebca3c016cfe78adbb09278427
+EBUILD id-1.5.0.ebuild 1249 BLAKE2B d88cd5378a811d16faa083f88cb40b9a9e45cda2845f8173dcf8bc8055b69cc702a87912508940129e3cac7d466ec60ae005d38038c31f3abd56c7c2e06b3cec SHA512 a9fbd66b0033a1aebceb6eae95b20f77182a255f4c87d77fabd8c892fd976ff4f608aed16d2e6f92726460e7e113d985afb67d6827ad4ba34384568d1e1d9d5a
MISC metadata.xml 353 BLAKE2B 7cfab86630305041777c831de052a12ceb9968cf5d0d8fe3df30ffd47a4671fd0e88cc40ba741d7f332ef5af72d7abfa90f0ae7b3f6831ddd01e9897cd6255aa SHA512 0de4e8f39dae4e2fed193695bf48b488e247c3999035e07a089cbaafb942c076f7c8990d2a7c428574424a395a2e94eac6e7144827fa6cdd1619498318fd3f5d
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 1f4a7f6c0a69..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_{10..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 d24f077c42c9..a28ac7b4c6a0 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_{10..13} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
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
+}