void-packages/srcpkgs/python3-SecretStorage/template

25 lines
756 B
Bash

# Template file for 'python3-SecretStorage'
pkgname=python3-SecretStorage
version=3.3.1
revision=2
wrksrc="SecretStorage-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jeepney python3-cryptography"
checkdepends="gnome-keyring dbus ${depends}"
short_desc="Python3 bindings to FreeDesktop.org Secret Service API"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/mitya57/secretstorage"
distfiles="${PYPI_SITE}/S/SecretStorage/SecretStorage-${version}.tar.gz"
checksum=fd666c51a6bf200643495a04abb261f83229dcb6fd8472ec393df7ffc8b6f195
make_check=ci-skip
do_check() {
dbus-run-session -- python3 -m unittest discover -s tests
}
post_install() {
vlicense LICENSE
}