# 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=24.2.0
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
}
