void-packages/srcpkgs/python3-oletools/template

28 lines
819 B
Bash

# Template file for 'python3-oletools'
pkgname=python3-oletools
version=0.60.1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-parsing python3-olefile python3-colorclass python3-easygui
python3-msoffcrypto-tool python3-pcodedmp"
checkdepends="$depends python3-pytest"
short_desc="Python3 library to analyze MS OLE2 and Office files"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/decalage2/oletools"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=34cef47d88488126952f994be7b4c20d2758203b64f69335d3d8179ad3ae0992
post_install() {
vlicense oletools/LICENSE.txt
}
oletools_package() {
short_desc="${short_desc/library/tools}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}