vp-build/srcpkgs/python3-olefile/template

20 lines
629 B
Bash

# Template file for 'python3-olefile'
pkgname=python3-olefile
version=0.46
revision=6
wrksrc="olefile-${version}"
build_style=python3-module
hostmakedepends="unzip python3-setuptools"
depends="python3"
short_desc="Python3 package to parse, read and write Microsoft OLE2 files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://olefile.readthedocs.io/"
distfiles="${PYPI_SITE}/o/olefile/olefile-${version}.zip"
checksum=133b031eaf8fd2c9399b78b8bc5b8fcbe4c31e85295749bb17a87cba8f3c3964
post_install() {
chmod -R o-w ${DESTDIR}/usr/lib/python*/site-packages/*.egg-info/
vlicense LICENSE.txt
}