void-packages/srcpkgs/python3-msoffcrypto-tool/template
2021-06-06 10:59:17 -05:00

30 lines
877 B
Bash

# Template file for 'python3-msoffcrypto-tool'
pkgname=python3-msoffcrypto-tool
version=4.12.0
revision=1
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
}
}