contrib/python3-keyring/Pkgfile

19 lines
657 B
Plaintext

# Description: provides an easy way to access the system keyring service from python
# URL: https://github.com/jaraco/keyring
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-entrypoints python3-importlib_metadata python3-jaraco-classes python3-secretstorage
name=python3-keyring
version=23.13.1
release=1
source=(https://pypi.io/packages/source/k/keyring/keyring-$version.tar.gz)
build() {
cd keyring-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
rm -rf $PKG/usr/lib/python3.9/site-packages/keyring/tests
}