From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/sigstore/Manifest | 2 + dev-python/sigstore/metadata.xml | 9 +++++ dev-python/sigstore/sigstore-4.2.0.ebuild | 62 +++++++++++++++++++++++++++++++ dev-python/sigstore/sigstore-4.3.0.ebuild | 62 +++++++++++++++++++++++++++++++ 4 files changed, 135 insertions(+) create mode 100644 dev-python/sigstore/Manifest create mode 100644 dev-python/sigstore/metadata.xml create mode 100644 dev-python/sigstore/sigstore-4.2.0.ebuild create mode 100644 dev-python/sigstore/sigstore-4.3.0.ebuild (limited to 'dev-python/sigstore') diff --git a/dev-python/sigstore/Manifest b/dev-python/sigstore/Manifest new file mode 100644 index 000000000000..e0590ae7bed1 --- /dev/null +++ b/dev-python/sigstore/Manifest @@ -0,0 +1,2 @@ +DIST sigstore-python-4.2.0.gh.tar.gz 300449 BLAKE2B 07a5e9682283867af0350e383054e9f9ec62ba022620925ee4baa4e0e2808d4e03ab720fb8a7fb6611284565a3d8ecb1436d60b4dc60050605b8c129ca53ba75 SHA512 8dc3ddad69ed3a72f5b6b8f013f8f7355dc88e8b429f53e23765153ed0d32b019c9372429389a2c660433569fa956e5c7f7ee1d3f084b1bb5c730d415a7d9ec1 +DIST sigstore-python-4.3.0.gh.tar.gz 415515 BLAKE2B 7916adfa7b64ed0acc2ab1689584e3ced8df7587a5579538b9b5d2dc46cccb316e9d348312dfc075a00fc33e3d8b99a38fe8792e95544c5d2bae4845cf99a2d1 SHA512 6211ba78c2d608881ed46870597cf3273af89dc8313499a40a344bce1d6821f23b990cde63d27d6a2c5c1aa1b3d359bbbd368c6e1c11abdb6457d610eb3db580 diff --git a/dev-python/sigstore/metadata.xml b/dev-python/sigstore/metadata.xml new file mode 100644 index 000000000000..d34971a915e9 --- /dev/null +++ b/dev-python/sigstore/metadata.xml @@ -0,0 +1,9 @@ + + + + + python@gentoo.org + + + baldeagleos-repo + diff --git a/dev-python/sigstore/sigstore-4.2.0.ebuild b/dev-python/sigstore/sigstore-4.2.0.ebuild new file mode 100644 index 000000000000..1bff8e2aebe5 --- /dev/null +++ b/dev-python/sigstore/sigstore-4.2.0.ebuild @@ -0,0 +1,62 @@ +# 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 + +MY_P=sigstore-python-${PV} +DESCRIPTION="A tool for signing Python package distributions" +HOMEPAGE=" + https://github.com/sigstore/sigstore-python/ + https://pypi.org/project/sigstore/ +" +# no tests in sdist, as of 3.3.0 +SRC_URI=" + https://github.com/sigstore/sigstore-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-42[${PYTHON_USEDEP}] + >=dev-python/id-1.1.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.6[${PYTHON_USEDEP}] + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ~dev-python/rfc3161-client-1.0.3[${PYTHON_USEDEP}] + >=dev-python/rfc8785-0.1.2[${PYTHON_USEDEP}] + >=dev-python/rich-13[${PYTHON_USEDEP}] + ~dev-python/sigstore-models-0.0.6[${PYTHON_USEDEP}] + ~dev-python/sigstore-rekor-types-0.0.18[${PYTHON_USEDEP}] + >=dev-python/tuf-6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -r -i -e 's:~=:>=:' -e 's:, ?< ?[0-9.]*::' pyproject.toml || die +} + +python_test() { + epytest test/unit --skip-online +} diff --git a/dev-python/sigstore/sigstore-4.3.0.ebuild b/dev-python/sigstore/sigstore-4.3.0.ebuild new file mode 100644 index 000000000000..287f00c321dc --- /dev/null +++ b/dev-python/sigstore/sigstore-4.3.0.ebuild @@ -0,0 +1,62 @@ +# 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 + +MY_P=sigstore-python-${PV} +DESCRIPTION="A tool for signing Python package distributions" +HOMEPAGE=" + https://github.com/sigstore/sigstore-python/ + https://pypi.org/project/sigstore/ +" +# no tests in sdist, as of 3.3.0 +SRC_URI=" + https://github.com/sigstore/sigstore-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-42[${PYTHON_USEDEP}] + >=dev-python/id-1.1.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.6[${PYTHON_USEDEP}] + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ~dev-python/rfc3161-client-1.0.3[${PYTHON_USEDEP}] + >=dev-python/rfc8785-0.1.2[${PYTHON_USEDEP}] + >=dev-python/rich-13[${PYTHON_USEDEP}] + ~dev-python/sigstore-models-0.0.6[${PYTHON_USEDEP}] + ~dev-python/sigstore-rekor-types-0.0.18[${PYTHON_USEDEP}] + >=dev-python/tuf-6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -r -i -e 's:~=:>=:' -e 's:, ?< ?[0-9.]*::' pyproject.toml || die +} + +python_test() { + epytest test/unit --skip-online +} -- cgit v1.3