python-isort: update to 4.3.20.

This commit is contained in:
Daniel Eyßer 2019-06-12 00:59:50 +02:00 committed by Johannes
parent d5d1148da0
commit 70d659bbe5

View file

@ -1,6 +1,6 @@
# Template file for 'python-isort'
pkgname=python-isort
version=4.3.4
version=4.3.20
revision=1
archs=noarch
wrksrc="isort-${version}"
@ -8,14 +8,22 @@ build_style=python-module
pycompile_module="isort"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-futures"
checkdepends="python-pytest python3-pytest
python-backports.functools_lru_cache"
short_desc="Python2 utility/library to sort imports"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/timothycrosley/isort"
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=b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8
checksum=c40744b6bc5162bbb39c1257fe298b7a393861d50978b565f3ccd9cb9de0182a
alternatives="isort:isort:/usr/bin/isort2"
do_check() {
pytest test_isort.py
pytest3 test_isort.py
}
post_install() {
vlicense LICENSE
}