diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest index e3196dc56f2c..9ddf727abb89 100644 --- a/dev-python/keyring/Manifest +++ b/dev-python/keyring/Manifest @@ -1 +1,2 @@ DIST keyring-25.6.0.tar.gz 62750 BLAKE2B b6c5f30308a168e690caf43e566c98ac7a755253cb961e2c0be5bf3591c6b59b43ace1a5fe7050d20a439cfc0c579f5f5a1ae52ab007d89f45e3f957bceae77c SHA512 192863cd36d597ae55c8e3e8ae909388f64894c812db6dd80c92bb7c8467029b54976f855807cf6f245419599d191113c9b12e272631bb6e4f6cf6e122296421 +DIST keyring-25.7.0.tar.gz 63516 BLAKE2B eee3fdc919fb0d403c92653b62a644d15ddf3473debb86c577cd6819e32d2cdce60767e2f4af4664efc606f55a07081c5b470333673d906fb938dcc768461ae0 SHA512 24471413c4980c2bde3b4d1e4f8e4e196656f8898882cd5f9f3b3e088561ee4a365a54556c243bc1d0be5e85438113545ff6809791dbe3ed38998984e00227a5 diff --git a/dev-python/keyring/keyring-25.7.0.ebuild b/dev-python/keyring/keyring-25.7.0.ebuild new file mode 100644 index 000000000000..dd0ef9f8ef80 --- /dev/null +++ b/dev-python/keyring/keyring-25.7.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Provides access to the system keyring service" +HOMEPAGE=" + https://github.com/jaraco/keyring/ + https://pypi.org/project/keyring/ +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/secretstorage-3.2[${PYTHON_USEDEP}] + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + >=dev-python/jeepney-0.4.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-metadata-4.11.4[${PYTHON_USEDEP}] + ' 3.11) +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pyfakefs ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # this test fails if importlib-metadata returns more than one + # entry, i.e. when keyring is installed already + tests/test_packaging.py::test_entry_point + ) + local EPYTEST_IGNORE=( + # apparently does not unlock the keyring properly + tests/backends/test_libsecret.py + # hangs + tests/backends/test_kwallet.py + ) + + epytest -o addopts= +}