# Template file for 'python3-magic'
pkgname=python3-magic
version=0.4.27
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="libmagic"
depends="python3 libmagic"
checkdepends="python3-pytest"
short_desc="File type identification using libmagic (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/ahupp/python-magic"
changelog="https://raw.githubusercontent.com/ahupp/python-magic/master/CHANGELOG"
distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
checksum=3978a25d43d9a7b8a89ae9d726bd4962fc90dc4f69ae852e399f3c56d4b0bd63
make_check_pre="env LC_ALL=en_US.UTF-8"

post_install() {
	vlicense LICENSE
}
