pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-isort
Module Name: pkgsrc
Committed By: adam
Date: Tue Sep 8 05:25:48 UTC 2026
Modified Files:
pkgsrc/devel/py-isort: Makefile
Log Message:
py-isort: updated to 9.0.1
9.0.0 August 26 2026
- Remove logic for deprecated options
- Sort lazy import statements
- Add initial support for Python 3.15
- Compile with `mypyc`
- Cache calls to `posixpath.abspath`
- Consider private `stdlib` modules to be `stdlib`
- Add CLI Flag for --forced-separate (https://github.com/PyCQA/isort/pull/2367) @hirak99
- Add separate_packages option
- Fix inline comment duplication across merged `from X import` lines
- Fix src glob patterns passed via CLI
- Fix opening-line comment moving to alias attribute line on wrapped imports
- Fix multi_line_output=3/5 ignored when wrapping single imports with inline comments
- Fix false positive in `check_code` when using `float_to_top` + `add_imports`
- Fix: preserve bare `#` inline comments on imports
- Fix grouping of non-aliased imports when mixed with aliased imports from the same module
- Fix https://github.com/PyCQA/isort/issues/2500: trusted publishing
- Fix git_hook lazy=True option
- Honor `# isort: off/on/split` during `float_to_top` preprocessing with CRLF input
- Fix --sort-reexports crash with non-seekable streams (e.g. stdin)
- Fix non-idempotent output with split_on_trailing_comma and a non-default wrap mode
- Fix non-idempotent NOQA wrap mode with imports that carry their own comment
- Fix NOQA wrap mode accumulating spaces before the comment on each run
- Fix NOQA not added to long imports in several output paths
- Honor `# isort: skip` when a `__future__` import is present
- fix: make sorted `__all__` and literals black-compatible
- Honor skip comments when sorting reexports
- Keep aliased import when the plain name carries a comment
- fix: don't crash on --config-root without --resolve-all-configs
- fix: check_code misses lines_before_imports-only changes
- Fix preservation of form-feed blank lines
- Small clean up and fix inconsistency in handling of `*` imports
- Fix word-wrapping of 'from ... import *' into invalid Python
- Fix pylint disable-next comments at the start of imports
- Keep add_imports below a prefixed module docstring
- Add read the docs configuration
- Remove unused and broken dependencies
- Remove `Any` from `parse.py`
- Bring documentation in line with old documentation
- Sync profile docs with implementation
- Fix the playground
- Remove unused _ENCODING_PATTERN regex and re import
- Remove references to defunct `git_ignore` config
- Fix broken relative links in README and CHANGELOG for both GitHub and Sphinx
- Bump vendored `tomli`
- Document temporary .isorted files
- Remove `cruft`
- Small fixes in preparation for `mypyc` compiled wheels
- Small fixes in preparation for compiling with `mypyc`
- Fix `test_importable` for local dev
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/py-isort/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-isort/Makefile
diff -u pkgsrc/devel/py-isort/Makefile:1.36 pkgsrc/devel/py-isort/Makefile:1.37
--- pkgsrc/devel/py-isort/Makefile:1.36 Sun Aug 30 15:28:44 2026
+++ pkgsrc/devel/py-isort/Makefile Tue Sep 8 05:25:48 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2026/08/30 15:28:44 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2026/09/08 05:25:48 adam Exp $
DISTNAME= isort-9.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,9 +10,11 @@ HOMEPAGE= https://github.com/PyCQA/isort
COMMENT= Python utility/library to sort imports
LICENSE= mit
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>0:../../devel/py-hatch-vcs
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>0:../../devel/py-hatchling
-TEST_DEPENDS+= git-base-[0-9]*:../../devel/git-base
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-mypyc>=0:../../lang/py-hatch-mypyc
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0:../../devel/py-hatch-vcs
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
+DEPENDS+= ${PYPKGPREFIX}-mypy_extensions>=1.1.0:../../lang/py-mypy_extensions
+TEST_DEPENDS+= git-base>=0:../../devel/git-base
TEST_DEPENDS+= ${PYPKGPREFIX}-black>=0:../../textproc/py-black
TEST_DEPENDS+= ${PYPKGPREFIX}-colorama>=0:../../comms/py-colorama
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.10.1:../../devel/py-hypothesis
@@ -22,21 +24,16 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-toml>=0.10
USE_LANGUAGES= # none
+PY_RENAME_BINARIES= isort isort-identify-imports
+
.if make(test)
ALLOW_NETWORK_ACCESS= yes
.endif
# as of 9.0.1
# 5 failed, 632 passed, 2 skipped, 2 errors
-post-install:
-.for bin in isort isort-identify-imports
- cd ${DESTDIR}${PREFIX}/bin && \
- ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
-
pre-test:
- ${RM} -f ${BUILDLINK_DIR}/bin/isort
- ${LN} -s ${PREFIX}/bin/isort-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/isort
+ ${LN} -fs ${PREFIX}/bin/isort-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/isort
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index