# Template file for 'python3-isort'
pkgname=python3-isort
version=5.6.4
revision=1
wrksrc="isort-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
checkdepends="python3-pytest"
short_desc="Python3 utility/library to sort imports"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/timothycrosley/isort"
changelog="https://raw.githubusercontent.com/timothycrosley/isort/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/i/isort/isort-${version}.tar.gz"
checksum=dcaeec1b5f0eca77faea2a35ab790b4f3680ff75590bfcb7145986905aab2f58
conflicts="python-isort>=0"

do_check() {
	pytest3 test_isort.py
}

post_install() {
	vlicense LICENSE
}
