python3-isort: update to 5.12.0.
This commit is contained in:
parent
97a48503aa
commit
24e3eb5da3
|
@ -1,20 +1,31 @@
|
|||
# Template file for 'python3-isort'
|
||||
pkgname=python3-isort
|
||||
version=5.10.1
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools"
|
||||
checkdepends="python3-pytest"
|
||||
version=5.12.0
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-poetry-core"
|
||||
depends="python3"
|
||||
checkdepends="python3-pytest python3-hypothesis python3-colorama black git
|
||||
python3-setuptools"
|
||||
short_desc="Python3 utility/library to sort imports"
|
||||
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/PyCQA/isort"
|
||||
changelog="https://raw.githubusercontent.com/PyCQA/isort/main/CHANGELOG.md"
|
||||
distfiles="${PYPI_SITE}/i/isort/isort-${version}.tar.gz"
|
||||
checksum=e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951
|
||||
checksum=8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504
|
||||
conflicts="python-isort>=0"
|
||||
make_check=no # needs many unpackaged dependencies
|
||||
make_check=no # FIXME
|
||||
|
||||
do_check() {
|
||||
rm -f tests/integration/test_hypothesmith.py # needs unpackaged libcst
|
||||
rm -f tests/unit/test_pylama_isort.py # needs unpackaged pylama
|
||||
rm -rf tmp # remove artifacts from previous unsuccessful check run
|
||||
mkdir tmp
|
||||
bsdtar xf dist/isort-$version-py3-none-any.whl -C tmp
|
||||
PYTHONPATH=tmp pytest
|
||||
rm -rf tmp
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ignore="*a* *b*"
|
Loading…
Reference in New Issue