void-packages/srcpkgs/python3-msoffcrypto-tool/template
2021-10-09 08:00:41 -04:00

29 lines
877 B
Bash

# Template file for 'python3-msoffcrypto-tool'
pkgname=python3-msoffcrypto-tool
version=4.12.0
revision=2
wrksrc="msoffcrypto-tool-${version}"
build_style=python3-pep517
make_install_target="msoffcrypto_tool-${version}-*-*-*.whl"
hostmakedepends="python3-poetry-core"
depends="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=f41f098c657dc4aee1fe4e6e5a012c7eeac39bf2de1b345407b47bf430a55fd0
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
}
}