26 lines
719 B
Bash
26 lines
719 B
Bash
# Template file for 'python3-isort'
|
|
pkgname=python3-isort
|
|
version=4.3.21
|
|
revision=3
|
|
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=54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1
|
|
conflicts="python-isort>=0"
|
|
|
|
do_check() {
|
|
pytest3 test_isort.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|