void-packages/srcpkgs/python3-filetype/template

22 lines
723 B
Bash

# Template file for 'python3-filetype'
pkgname=python3-filetype
version=1.2.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest python3-pytest-benchmark"
short_desc="Python3 package to infer file types"
maintainer="xaltsc <xaltsc@protonmail.ch>"
license="MIT"
homepage="https://github.com/h2non/filetype.py"
changelog="https://raw.githubusercontent.com/h2non/filetype.py/master/History.md"
distfiles="${PYPI_SITE}/f/filetype/filetype-${version}.tar.gz"
checksum=66b56cd6474bf41d8c54660347d37afcc3f7d1970648de365c102ef77548aadb
post_install() {
vlicense LICENSE
rm -rf ${DESTDIR}/${py3_sitelib}/examples
rm -rf ${DESTDIR}/${py2_sitelib}/examples
}