dev-python/secretstorage: Bump to 3.4.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-10 07:00:26 +02:00
parent 6374fec33e
commit 292037defe
2 changed files with 55 additions and 0 deletions

View File

@@ -1 +1,3 @@
DIST SecretStorage-3.3.3.tar.gz 19739 BLAKE2B 9ad575df8b059102a38b4f20c956bf80a5f440a80c13a9fe10a96b14c49bd7868667306b75fca7a395e4d4ce44d28174fafcf27521446d4c7d070c5381eeeed7 SHA512 9a048c8245cfb01babebdd85dbbe84f9634b9b28188f7d11d3abad841109cfa307861de05e529199e409e595864ff3e097fcc961fcff210040d214a50f932f6e
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

View File

@@ -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}"
}