python3-isort: update to 6.0.1. adopt.

This commit is contained in:
Komeil Parseh 2025-08-08 18:51:27 +03:30 committed by Duncan Overbruck
parent dd615c1905
commit 67b97e9323

View file

@ -1,31 +1,34 @@
# Template file for 'python3-isort'
pkgname=python3-isort
version=5.13.2
revision=2
version=6.0.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
make_check_args="-p no:warnings
--ignore tests/benchmark/test_api.py
--ignore tests/integration/test_hypothesmith.py
--ignore tests/integration/test_projects_using_isort.py
--ignore tests/unit/test_pylama_isort.py
--deselect tests/integration/test_setting_combinations.py::test_isort_doesnt_lose_imports_or_comments
--deselect tests/integration/test_setting_combinations.py::test_isort_is_idempotent
--deselect tests/unit/test_deprecated_finders.py::TestRequirementsFinder::test_requirements_dir
--deselect tests/unit/test_deprecated_finders.py::test_requirements_finder
--deselect tests/unit/test_importable.py::test_importable
--deselect tests/unit/test_main.py::test_gitignore
--deselect tests/unit/test_ticketed_features.py::test_isort_supports_shared_profiles_issue_970
--deselect tests/unit/test_ticketed_features.py::test_sort_configurable_sort_issue_1732"
hostmakedepends="hatchling hatch-vcs"
depends="python3"
checkdepends="python3-pytest python3-hypothesis python3-colorama black git
python3-setuptools"
checkdepends="python3-colorama python3-hypothesis python3-natsort python3-pytest python3-pytest-black
python3-pytest-flake8 python3-pytest-mock"
short_desc="Python3 utility/library to sort imports"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Komeil Parseh <komeilparseh@disroot.org>"
license="MIT"
homepage="https://github.com/PyCQA/isort"
changelog="https://raw.githubusercontent.com/PyCQA/isort/main/CHANGELOG.md"
changelog="https://github.com/PyCQA/isort/releases/tag/${version}"
distfiles="${PYPI_SITE}/i/isort/isort-${version}.tar.gz"
checksum=48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109
conflicts="python-isort>=0"
make_check=no # FIXME
checksum=1cb5df28dfbc742e490c5e41bad6da41b805b0a8be7bc93cd0fb2a8a890ac450
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
}
conflicts="python-isort>=0"
post_install() {
vlicense LICENSE