void-packages/srcpkgs/python-SecretStorage/template

32 lines
912 B
Bash

# Template file for 'python-SecretStorage'
pkgname=python-SecretStorage
version=2.3.1
revision=2
noarch=yes
wrksrc="SecretStorage-${version}"
build_style=python-module
pycompile_module="secretstorage"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-dbus python-cryptography"
short_desc="Python2 bindings to FreeDesktop.org Secret Service API"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="3-clause-BSD"
homepage="https://github.com/mitya57/secretstorage"
distfiles="${PYPI_SITE}/S/SecretStorage/SecretStorage-${version}.tar.gz"
checksum=3af65c87765323e6f64c83575b05393f9e003431959c9395d1791d51497f29b6
post_install() {
vlicense LICENSE
}
python3-SecretStorage_package() {
noarch=yes
pycompile_module="secretstorage"
depends="python3-dbus python3-cryptography"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3*
}
}