From 619c2eee0dcdcddadf54804c160bbe0522572876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 12 Oct 2025 08:03:33 +0200 Subject: [PATCH] dev-python/sigstore: Bump to 4.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/sigstore/Manifest | 1 + dev-python/sigstore/sigstore-4.1.0.ebuild | 62 +++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-python/sigstore/sigstore-4.1.0.ebuild diff --git a/dev-python/sigstore/Manifest b/dev-python/sigstore/Manifest index 4577c3152799f..da01c549c1c31 100644 --- a/dev-python/sigstore/Manifest +++ b/dev-python/sigstore/Manifest @@ -1,3 +1,4 @@ DIST sigstore-python-3.6.5.gh.tar.gz 281176 BLAKE2B 23d4ccffaa2e779fdb65406f452d0c559a2c0699560d996f3b71d326d38da38bc6a264c3d4195b866d9764289a986de7f732afc64f33995f98557e759baf0c79 SHA512 a4fd2cfe1619db363b33ea03e940ae6d3b97bb838501d704926cf32b63f7c2ce75ace9915ec466ab4a9714c9a2b45578aa3006b9c19ca022c588d50bb53ae5bb DIST sigstore-python-3.6.6.gh.tar.gz 281340 BLAKE2B 79a2d099e4c7dfe611ef666479bad6923ad70ba6d0e737d25855fe32a6178c5966449ac1c120e3b6a1b801ab01f63fa82eb041cd97f7ce03b117cc7244d35a2b SHA512 d233a3412d185b26c722f9a1d228f597934ea61d1613fb7c7ef5b5861c17a11ab6251b74f069f61aa4228d7aaff34f64e1caae784a34d32ebad7d3e23a858c5c DIST sigstore-python-4.0.0.gh.tar.gz 299794 BLAKE2B ba6da6348436e9cdf43251556f7557015c5023ab80c90d801fd6ecc6f110a479d61e4edfa5f49a3a2a3204c411bc756a8c7a074798264c8f4a6036761804b052 SHA512 32fb6ce24635a0cedfea48d87f59c48d4794fd49399ca9fe1c10f945179888cd238dddb8be8ec5830b39e5d5faea0c5e8adec59c6710356ccd14067b817c0709 +DIST sigstore-python-4.1.0.gh.tar.gz 296902 BLAKE2B 381eb809baedb3078f2acfe83070522901fbcc0d717e32ba12be89aa2d891906fad93be570f77aadef386928e6576d11623572b22a1d5293cd82a6fdc5c83521 SHA512 57641886bec8c193097d57cc61c94247f7e32d24ea83599527a09c1db9f0c8e0dd97d8422b6ec2055fe9474ff4be23a11a373be55b71ed11b7c308f0cf2cf0ae diff --git a/dev-python/sigstore/sigstore-4.1.0.ebuild b/dev-python/sigstore/sigstore-4.1.0.ebuild new file mode 100644 index 0000000000000..6df17d67fa58b --- /dev/null +++ b/dev-python/sigstore/sigstore-4.1.0.ebuild @@ -0,0 +1,62 @@ +# 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_{11..13} ) + +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" + +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.5[${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 +}