diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -3,31 +3,31 @@ pkgname=python-pykeepass-git _gitname=pykeepass -pkgver=3.2.1.r36.gfa6f608 +pkgver=4.0.6 pkgrel=1 -pkgdesc="Low-level library to interact with keepass databases" +pkgdesc="Python library to interact with keepass databases" arch=("any") license=("GPL3") url="https://github.com/libkeepass/pykeepass" -depends=("python" "python-pycryptodome" "python-lxml" "python-dateutil" "python-construct" "python-cffi" "python-argon2_cffi" "python-markupsafe" "python-pycparser") -makedepends=("python-setuptools") +depends=("python-argon2_cffi" "python-construct" "python-dateutil" "python-future" "python-lxml" "python-pycryptodomex") +makedepends=("git" "python-setuptools") provides=(python-pykeepass) conflicts=(python-pykeepass) source=("git+https://github.com/libkeepass/pykeepass.git") sha512sums=('SKIP') pkgver() { - cd "${srcdir}/${_gitname}/" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd "${srcdir}/${_gitname}/" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { - cd "${srcdir}/${_gitname}/" + cd "${srcdir}/${_gitname}/" } package() { - cd "${srcdir}/${_gitname}/" - python setup.py install --root="${pkgdir}/" --optimize=1 - install -m 644 -D LICENSE "${pkgdir}/usr/share/licenses/${_gitname}/LICENSE" + cd "${srcdir}/${_gitname}/" + python3 setup.py install --root="${pkgdir}/" --optimize=1 + install -m 644 -D LICENSE "${pkgdir}/usr/share/licenses/${_gitname}/LICENSE" } |