summaryrefslogtreecommitdiff
path: root/community/py3-keepass/APKBUILD
blob: 3493ee904a612ce51ef096a91ddd5cdd116391e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-keepass
pkgver=4.0.3
pkgrel=1
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"
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="
f7ebb3be4ae370515daa9796ddb53f261ef4e1eccb83423cd55b52ec4346d8964f47166e4879dfbd082cb99d5ca533bfa6eae3d750eeee6e7a244310479e0494  py3-keepass-4.0.3.tar.gz
943100ebad13b379bc5c1db9c0e86853f3960d3696c6665e89c3c263a60421bec6008d7db1999e810cb2444ce4a9638d777b638634fbf06fafe4cfeef739b4a9  0001-relax-dependencies.patch
"