| Name |
python-keyring |
| Description |
Store and access your passwords safely |
| Version |
25.7.0-3 |
| Package Base |
python-keyring |
| Homepage |
https://github.com/jaraco/keyring |
| Maintainers |
['Carl Smedstad <carsme@archlinux.org>', 'Filipe Laíns (FFY00) <lains@archlinux.org>'] |
| Contributors |
['Brice Maron <brice@bmaron.net>', 'Ivan Sichmann Freitas <ivansichfreitas@gmail.com>', 'Johannes Dewender arch@JonnyJD.net', 'Nuno Araujo <nuno.araujo@russo79.com>', 'Steven Allen <steven {at} stebalien {dot} com>'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/python-keyring |
| Sources |
['git+https://github.com/jaraco/keyring.git#tag=v25.7.0'] |
| Dependencies |
['python', 'python-jaraco.classes', 'python-jaraco.context', 'python-jaraco.functools', 'python-secretstorage'] |
| Optional-Dependencies |
['libsecret', 'python-dbus', 'python-gobject', 'python-keyrings-alt', 'python-pluggy'] |
| Build-Dependencies |
['git', 'python-build', 'python-installer', 'python-setuptools-scm', 'python-shtab', 'python-wheel'] |
| Provides |
[] |
| Builddate |
01-02-2026 17:58:47 |
| Architecture |
any |
| Distro-Version |
|
| Licenses |
['MIT'] |
| Hash |
f0f1a4e5911431690fbff0bdd5d5b0a77772fffe892f6f705f09c05cd0b7aeb2 |
# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
# Maintainer: Carl Smedstad <carsme@archlinux.org>
# Contributor: Johannes Dewender arch at JonnyJD dot net
# Contributor: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>
# Contributor: Brice Maron <brice@bmaron.net>
# Contributor: Nuno Araujo <nuno.araujo at russo79.com>
# Contributor: Steven Allen <steven {at} stebalien {dot} com>
pkgname=python-keyring
pkgver=25.7.0
pkgrel=3
pkgdesc='Store and access your passwords safely'
arch=('any')
url='https://github.com/jaraco/keyring'
license=('MIT')
depends=(
'python'
'python-jaraco.classes'
'python-jaraco.context'
'python-jaraco.functools'
'python-secretstorage'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools-scm'
'python-shtab'
'python-wheel'
)
checkdepends=(
'python-pyfakefs'
'python-pytest'
)
optdepends=(
'libsecret: libsecret backend'
'python-dbus: kwallet backend'
'python-gobject: libsecret backend'
'python-keyrings-alt: Alternative backends'
'python-pluggy: devpi client'
)
source=("git+$url.git#tag=v$pkgver")
sha512sums=('2f4ec5dc743e519337836a20d2272a45a1137bde0d3110fad3478a0575c86979a05c7060dc6b1b2551d97bf322e2e61ce938b8c19e518f9865eefca466e1a075')
b2sums=('1e08e16b2cdae34eda5b76d958053ab7ee76afd2b2738e3964727775299892aed8b55f1c1d73d78d321b04e058cda425ade635a14108e04c9e98e8c9fdd05b44')
prepare() {
cd ${pkgname#python-}
# Revert removal of license file.. Sigh
git revert -n 9a81db3c77bc106017dcd4b0853a5a94f43ae33c
# Fix KDE Wallet 6 breakage
# https://gitlab.archlinux.org/archlinux/packaging/packages/python-keyring/-/issues/3
# https://github.com/jaraco/keyring/pull/738
git cherry-pick -n 1bda904de6e75c5551a192a722b6c103a663bbd2
git cherry-pick -n 5ceeeb0fc689613ab6783b506e0a5465f6f603e9
}
build() {
cd ${pkgname#python-}
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
python -m build --wheel --no-isolation --skip-dependency-check
# Completions
python -m venv --system-site-packages completion-env
completion-env/bin/python -m installer dist/*.whl
completion-env/bin/keyring --print-completion bash > keyring.bash
completion-env/bin/keyring --print-completion zsh > keyring.zsh
}
check() {
cd ${pkgname#python-}
pytest --deselect tests/test_packaging.py::test_entry_point
}
package() {
cd ${pkgname#python-}
python -m installer --destdir="$pkgdir" dist/*.whl
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
install -vDm644 keyring.bash "$pkgdir/usr/share/bash-completion/completions/keyring"
install -vDm644 keyring.zsh "$pkgdir/usr/share/zsh/site-functions/_keyring"
}