vp-build/srcpkgs/python-pykeepass/template

29 lines
930 B
Bash

# Template file for 'python-pykeepass'
pkgname=python-pykeepass
version=3.0.2
revision=3
noarch=yes
wrksrc="pykeepass-${version}"
build_style=python-module
pycompile_module="pykeepass"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-dateutil python-argon2 python-construct python-lxml
python-pycryptodome"
short_desc="Python2 library to interact with keepass databases"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/pschmitt/pykeepass"
distfiles="${PYPI_SITE}/p/pykeepass/pykeepass-${version}.tar.gz"
checksum=20b53d10e9c319301929f029579623562c815c4b4c787bf96d4bd7680581d6cd
python3-pykeepass_package() {
noarch=yes
pycompile_module="pykeepass"
depends="python3-dateutil python3-argon2 python3-construct python3-lxml
python3-pycryptodome"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}