From 67b97e9323b0f18a177b41546f436e22be4f3eba Mon Sep 17 00:00:00 2001 From: Komeil Parseh Date: Fri, 8 Aug 2025 18:51:27 +0330 Subject: [PATCH] python3-isort: update to 6.0.1. adopt. --- srcpkgs/python3-isort/template | 41 ++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/srcpkgs/python3-isort/template b/srcpkgs/python3-isort/template index bf90d6cca54..a37e32b9936 100644 --- a/srcpkgs/python3-isort/template +++ b/srcpkgs/python3-isort/template @@ -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 " +maintainer="Komeil Parseh " 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