commit: 4655e5dafc68238f64b00aa4e1282169fa1bc14d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 09:35:59 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 27 09:42:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4655e5da
dev-python/id: New package, v1.4.0, dep of sigstore
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/id/Manifest | 1 +
dev-python/id/id-1.4.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++
dev-python/id/metadata.xml | 12 ++++++++++++
3 files changed, 49 insertions(+)
diff --git a/dev-python/id/Manifest b/dev-python/id/Manifest
new file mode 100644
index 000000000000..276fca494583
--- /dev/null
+++ b/dev-python/id/Manifest
@@ -0,0 +1 @@
+DIST id-1.4.0.gh.tar.gz 20215 BLAKE2B
d6428c27159a05459bfa8bd03f2bfe660a66efe4e19218ac7d567b06804e1c1e9b43b3d4bffc4bd15c0a553317b0f0c4064927519f7de9df59fad21b20f09eb4
SHA512
a10facc39e2ddc558b994f0f598516c52025901277cbbb4224c297d8c5515d3079474c919fe5a6d534f733103095d7837903f5877c6bcb550c85f7842ac59531
diff --git a/dev-python/id/id-1.4.0.ebuild b/dev-python/id/id-1.4.0.ebuild
new file mode 100644
index 000000000000..1f4a7f6c0a69
--- /dev/null
+++ b/dev-python/id/id-1.4.0.ebuild
@@ -0,0 +1,36 @@
+# 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/metadata.xml b/dev-python/id/metadata.xml
new file mode 100644
index 000000000000..97815e5688ab
--- /dev/null
+++ b/dev-python/id/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">di/id</remote-id>
+ <remote-id type="pypi">id</remote-id>
+ </upstream>
+</pkgmetadata>