diff options
Diffstat (limited to 'community/py3-keepass')
-rw-r--r-- | community/py3-keepass/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-keepass/APKBUILD b/community/py3-keepass/APKBUILD new file mode 100644 index 0000000000..1dff6c63bc --- /dev/null +++ b/community/py3-keepass/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=py3-keepass +pkgver=3.0.3 +pkgrel=0 +pkgdesc="Python3 library to interact with keepass databases" +url="https://github.com/pschmitt/pykeepass" +arch="noarch !s390x" # pykeepass test fail on s390x +license="GPL-3.0-only" +depends="python3 py3-dateutil py3-pycryptodome py3-construct py3-lxml + py3-argon2-cffi py3-cffi py3-future py3-setuptools" +makedepends="python3-dev" +source="https://pypi.io/packages/source/p/pykeepass/pykeepass-$pkgver.tar.gz" +builddir="$srcdir/pykeepass-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="c683f434032543be741696f8cc943995bb070db0463a9027279813fa42a9fbdf8747342cc59da24231ac70abb00b5036ccfcb24dc99a231902ed13f1e3438f58 pykeepass-3.0.3.tar.gz" |