diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-04-15 07:08:44 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-04-15 08:13:21 +0200 |
| commit | 9f926271edc3db3fa7f4ecc6b3a62f07518577b5 (patch) | |
| tree | e4e476436cb52dfb4917eb39996413ac69aa265b /dev-python | |
| parent | b3b0e2770d3be388d2a82eac99fa32e3c37387ba (diff) | |
| download | gentoo-9f926271edc3db3fa7f4ecc6b3a62f07518577b5.tar.gz gentoo-9f926271edc3db3fa7f4ecc6b3a62f07518577b5.tar.bz2 gentoo-9f926271edc3db3fa7f4ecc6b3a62f07518577b5.zip | |
dev-python/sigstore: Bump to 3.6.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/sigstore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/sigstore/sigstore-3.6.2.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/sigstore/Manifest b/dev-python/sigstore/Manifest index 84729cf7b66f..2b59892b6d5a 100644 --- a/dev-python/sigstore/Manifest +++ b/dev-python/sigstore/Manifest @@ -1 +1,2 @@ DIST sigstore-python-3.6.1.gh.tar.gz 278434 BLAKE2B 9591a6937c30ee7a8b429075154309e5da78e5949ef0d27874237b8d7820c771e86b4640feeca8d6a5499ecc9f856ca45b0bc017ab6ce1c47fbef96aa5f971cf SHA512 daad7cd6e2cab7b511540d491378ee0d5829a6fa8a2c8bd601dcceb7a2ed73b99b4e0d42876b42cd8a510b463c2dd48941dd901dc6414620623b2bd6252bc6af +DIST sigstore-python-3.6.2.gh.tar.gz 277160 BLAKE2B bfbe89ce9e9b186d9beefabfecc3fc1321deb5cb158328b0eca8d19932f807f2344b8d685987625665e4d275fc7a6d9eacbec51d62b0f63dae7707cd536abbe7 SHA512 60694da77df9f6dc2d899d36af79d063fa398d6df3c26252793b74e6ddce79fc3c5ba3e2c29ad919b80fcd51f965c4dd1ed9a8c8b6357ed499e6933c51721e41 diff --git a/dev-python/sigstore/sigstore-3.6.2.ebuild b/dev-python/sigstore/sigstore-3.6.2.ebuild new file mode 100644 index 000000000000..54a2484d5b1e --- /dev/null +++ b/dev-python/sigstore/sigstore-3.6.2.ebuild @@ -0,0 +1,66 @@ +# 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_{10..12} ) + +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" + +RDEPEND=" + <dev-python/cryptography-45[${PYTHON_USEDEP}] + >=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-0.1.2[${PYTHON_USEDEP}] + >=dev-python/rfc8785-0.1.2[${PYTHON_USEDEP}] + >=dev-python/rich-13[${PYTHON_USEDEP}] + ~dev-python/sigstore-protobuf-specs-0.3.2[${PYTHON_USEDEP}] + ~dev-python/sigstore-rekor-types-0.0.18[${PYTHON_USEDEP}] + >=dev-python/tuf-6.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-resources-5.7[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest test/unit --skip-online +} |
