diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/id | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.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.1.ebuild | 55 | ||||
| -rw-r--r-- | dev-python/id/metadata.xml | 9 |
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/id/Manifest b/dev-python/id/Manifest new file mode 100644 index 000000000000..f98267671653 --- /dev/null +++ b/dev-python/id/Manifest @@ -0,0 +1 @@ +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..1127395535b5 --- /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_{13..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 +} diff --git a/dev-python/id/metadata.xml b/dev-python/id/metadata.xml new file mode 100644 index 000000000000..d34971a915e9 --- /dev/null +++ b/dev-python/id/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
