From 82968c6ec4a42647d87fea8ed0653c3da5d8866c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 11 Nov 2025 15:45:33 +0100 Subject: [PATCH] dev-python/secretstorage: Bump to 3.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/secretstorage/Manifest | 2 + .../secretstorage/secretstorage-3.4.1.ebuild | 53 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-python/secretstorage/secretstorage-3.4.1.ebuild diff --git a/dev-python/secretstorage/Manifest b/dev-python/secretstorage/Manifest index 3e8f6b235756..e9d1bb480751 100644 --- a/dev-python/secretstorage/Manifest +++ b/dev-python/secretstorage/Manifest @@ -1,2 +1,4 @@ DIST secretstorage-3.4.0.tar.gz 19748 BLAKE2B 8bb10a80b0a13c91faa552c94abf131db7704044863be16104aa6cad417f32423767d122d482f00e5d11f561aa67427899eb51414eda418c50bf171d21571633 SHA512 10d45317fa60bd6c2eb699b59b13da4c3001afa3a6c2fade113d1871172535e45698307b696abaa4f680b272afc5e1dfc1456ed50b079d3c4d14002e6f41c622 DIST secretstorage-3.4.0.tar.gz.provenance 9514 BLAKE2B d419601666a798cbc6ab0e6a17b4986a082f9f372b945e6c34d60701f8d709a276cba040f9bd9467b15c7e8301e3de43d3a73f1dfa3f6a1c4f716f239953a46f SHA512 0bfe620577ea784b38603f02af4bf132ce6607bbd4e6468cbda7e4e6185d02c40aac39b1140450d436f4849c2dda20a4e1a14d13603f1531d4e0ef9b26e0cd24 +DIST secretstorage-3.4.1.tar.gz 19871 BLAKE2B c740b5953593a011302c7885c87e1f71e80bf52a234cf92e280fa9f1946b53cf972b4525b1ed2f551b874080376f10404e13bc68a965266fc80c8a7e46b38486 SHA512 2e15b1b0fea5bbda5dc51cdca0963b36099d9e2e9045e9b991e76f54add99b62debfaa8c9fea7e0a94f495a049c2c108a07e18125c1d5a7415ea2a242d2571d1 +DIST secretstorage-3.4.1.tar.gz.provenance 9365 BLAKE2B 094ea023b795a479c61c1b8bd5086db7e29db46c06377c698546bf71afd2cbe2fe21cf007d27d6494a6de8864e5adb7948a315c67efc14ca69e9401e8f5b59e4 SHA512 366a6d947827b620913f72a65f4a406fec619b3f46cab0ff101546616e457d60f6656d40c2478e47996da60050e5d2b651b45fa50b40d60c38fdb8397c030b10 diff --git a/dev-python/secretstorage/secretstorage-3.4.1.ebuild b/dev-python/secretstorage/secretstorage-3.4.1.ebuild new file mode 100644 index 000000000000..e4683d411a9c --- /dev/null +++ b/dev-python/secretstorage/secretstorage-3.4.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="SecretStorage" +PYPI_VERIFY_REPO=https://github.com/mitya57/secretstorage +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings to FreeDesktop.org Secret Service API" +HOMEPAGE=" + https://github.com/mitya57/secretstorage/ + https://pypi.org/project/SecretStorage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/cryptography-2.0[${PYTHON_USEDEP}] + >=dev-python/jeepney-0.6[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + !hppa? ( !sparc? ( !s390? ( + sys-apps/dbus + virtual/secret-service + ) ) ) + ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx docs \ + dev-python/alabaster + +src_test() { + + if ! has_version "virtual/secret-service"; then + einfo "gnome-keyring is not supported on ${ARCH}, skipping tests" + return + fi + + distutils-r1_src_test +} + +python_test() { + dbus-run-session "${EPYTHON}" -m unittest discover -v -s tests || + die "tests failed with ${EPYTHON}" +}