void-packages/srcpkgs/python3-msoffcrypto-tool/template

29 lines
835 B
Bash

# Template file for 'python3-msoffcrypto-tool'
pkgname=python3-msoffcrypto-tool
version=5.0.0
revision=2
wrksrc="msoffcrypto-tool-${version}"
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="python3-setuptools python3-olefile python3-cryptography"
checkdepends="python3-pytest $depends"
short_desc="Python3 library for decrypting MS Office files"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/nolze/msoffcrypto-tool"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=b6989cafd769669b8d7ba596d7cc9147317aa0badf9188648710776a5752ab62
make_check=extended
post_install() {
vlicense LICENSE.txt
}
msoffcrypto-tool_package() {
short_desc="${short_desc/library/tool}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}