aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-keepass/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:09:20 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:29:46 +0200
commit3e00cd88d71db94c30ae166d26bd6199f3a89c8f (patch)
tree637905acf2b75e131e33faca096fb77932c00c08 /community/py3-keepass/APKBUILD
parent70158a553cea8dd812f7d3c856cd5de3f05d687e (diff)
downloadaports-3e00cd88d71db94c30ae166d26bd6199f3a89c8f.tar.bz2
aports-3e00cd88d71db94c30ae166d26bd6199f3a89c8f.tar.xz
community/py3-keepass: move from testing
Diffstat (limited to 'community/py3-keepass/APKBUILD')
-rw-r--r--community/py3-keepass/APKBUILD28
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"