# Template file for 'python3-isort'
pkgname=python3-isort
version=7.0.0
revision=1
build_style=python3-pep517
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-colorama python3-hypothesis python3-natsort python3-pytest
 python3-pytest-black python3-pytest-flake8 python3-pytest-mock"
short_desc="Python utility/library to sort imports"
maintainer="Komeil Parseh <komeilparseh@disroot.org>"
license="MIT"
homepage="https://github.com/PyCQA/isort"
changelog="https://github.com/PyCQA/isort/releases/tag/${version}"
distfiles="${PYPI_SITE}/i/isort/isort-${version}.tar.gz"
checksum=5513527951aadb3ac4292a41a16cbc50dd1642432f5e8c20057d414bdafb4187

conflicts="python-isort>=0"

post_install() {
	vlicense LICENSE
}
