void-packages/srcpkgs/python3-oletools/template

28 lines
819 B
Bash

# Template file for 'python3-oletools'
pkgname=python3-oletools
version=0.60.2
revision=1
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=a9cc0d5a1b5a7216cbbb9248c927278e8738e1df0c0c7e06ebbeeb23542efcbd
post_install() {
vlicense oletools/LICENSE.txt
}
oletools_package() {
short_desc="${short_desc/library/tools}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}