dev-python/id: New package, v1.4.0, dep of sigstore

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-09-27 11:35:59 +02:00
parent 672d889acb
commit 4655e5dafc
3 changed files with 49 additions and 0 deletions

1
dev-python/id/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST id-1.4.0.gh.tar.gz 20215 BLAKE2B d6428c27159a05459bfa8bd03f2bfe660a66efe4e19218ac7d567b06804e1c1e9b43b3d4bffc4bd15c0a553317b0f0c4064927519f7de9df59fad21b20f09eb4 SHA512 a10facc39e2ddc558b994f0f598516c52025901277cbbb4224c297d8c5515d3079474c919fe5a6d534f733103095d7837903f5877c6bcb550c85f7842ac59531

View File

@@ -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

View File

@@ -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>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">di/id</remote-id>
<remote-id type="pypi">id</remote-id>
</upstream>
</pkgmetadata>