From 73afc839cecfe85547d8ae6fb775796271e6c75c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 18 May 2025 07:26:49 +0000 Subject: Adding metadata --- dev-python/sigstore/sigstore-3.6.2-r1.ebuild | 65 +++++++++++++++++++++++++++ dev-python/sigstore/sigstore-3.6.2.ebuild | 66 ---------------------------- 2 files changed, 65 insertions(+), 66 deletions(-) create mode 100644 dev-python/sigstore/sigstore-3.6.2-r1.ebuild delete mode 100644 dev-python/sigstore/sigstore-3.6.2.ebuild (limited to 'dev-python/sigstore') diff --git a/dev-python/sigstore/sigstore-3.6.2-r1.ebuild b/dev-python/sigstore/sigstore-3.6.2-r1.ebuild new file mode 100644 index 000000000000..bb1974d26531 --- /dev/null +++ b/dev-python/sigstore/sigstore-3.6.2-r1.ebuild @@ -0,0 +1,65 @@ +# 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_{9,10,11,12,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" + +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-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 +} diff --git a/dev-python/sigstore/sigstore-3.6.2.ebuild b/dev-python/sigstore/sigstore-3.6.2.ebuild deleted file mode 100644 index 7e9775063b2d..000000000000 --- a/dev-python/sigstore/sigstore-3.6.2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# 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_{9,10,11,12,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" - -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-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 -} -- cgit v1.3