commit:     155f038ea4101a0867b47b844263e20b9f8b0e1d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 27 03:18:34 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 03:18:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155f038e

dev-python/keyring: Bump to 25.5.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/keyring/Manifest              |  1 +
 dev-python/keyring/keyring-25.5.0.ebuild | 55 ++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest
index 4bed2cf09beb..537cceb845a5 100644
--- a/dev-python/keyring/Manifest
+++ b/dev-python/keyring/Manifest
@@ -1 +1,2 @@
 DIST keyring-25.4.1.tar.gz 62491 BLAKE2B 
48a808185c336493d13c4839346984084881824fc94f6842f7eb4d4a1adddc9b38fe57449e77ddfbf9cb3637c15e31492e9283d2060e7a5960638c9569d83890
 SHA512 
19df186202220a234ab3d7b3bdb2b31ffc78ccc9c569841a96876048d65d1f7ac5573028f3e6cbf31b598001edf592fa02e19bd036af2f5af9baa7d746175ee7
+DIST keyring-25.5.0.tar.gz 62675 BLAKE2B 
9499adbc756a94761acadf121ff22f55186481788477b17dcdb206200ab8041c9b68fba64139f823d1155e0c679f028281fc0093e1038b3cfd740c7c3e38fb7b
 SHA512 
bd8b792781bde9bb5d609acd9516b66486bd785231b81239bf9add483aefaa864ebe541d30c9977216c7a635e3f9161a55da15ba1070d8aab06bb86769fca476

diff --git a/dev-python/keyring/keyring-25.5.0.ebuild 
b/dev-python/keyring/keyring-25.5.0.ebuild
new file mode 100644
index 000000000000..6253b57dcaf9
--- /dev/null
+++ b/dev-python/keyring/keyring-25.5.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+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.10 3.11)
+"
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pyfakefs[${PYTHON_USEDEP}]
+       )
+"
+
+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
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest -o addopts=
+}

Reply via email to