# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=py3-keepass pkgver=4.0.5 pkgrel=0 pkgdesc="Python3 library to interact with keepass databases" url="https://github.com/libkeepass/pykeepass" arch="noarch !s390x" # pykeepass test fail on s390x license="GPL-3.0-only" depends=" py3-argon2-cffi py3-cffi py3-construct py3-dateutil py3-future py3-lxml py3-pycryptodomex python3 " makedepends="py3-setuptools" subpackages="$pkgname-pyc" source=" https://github.com/libkeepass/pykeepass/archive/refs/tags/v$pkgver/py3-keepass-$pkgver.tar.gz 0001-relax-dependencies.patch " builddir="$srcdir/pykeepass-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" d3c079c631fd91a06e376c29a771f2c28a776206ef01c89043b9d5fe2b8cbe071da32a6ae2cb68f8beede4110717cfef63ecc49313ca023c2d79a235b0e0b273 py3-keepass-4.0.5.tar.gz d75f21bde864b96abf9027a99bf3bcbf6549ea2cdd20909e4a7f1a5332c8924484d025d0e2df54769660a6ea345fa3bf4785c150df1e889ae89b4fc4ac45a864 0001-relax-dependencies.patch "