mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 10:45:15 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
# 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
|
|
"
|