pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-black
Module Name: pkgsrc
Committed By: adam
Date: Fri Nov 14 13:38:34 UTC 2025
Modified Files:
pkgsrc/textproc/py-black: Makefile PLIST distinfo
Log Message:
py-black: updated to 25.11.0
25.11.0
Highlights
- Enable base 3.14 support
- Add support for the new Python 3.14 t-string syntax introduced by PEP 750
Stable style
- Fix bug where comments between `# fmt: off` and `# fmt: on` were reformatted
- Comments containing fmt directives now preserve their exact formatting instead of
being normalized
Preview style
- Move `multiline_string_handling` from `--unstable` to `--preview`
- Fix bug where module docstrings would be treated as normal strings if preceded by
comments
- Fix bug where python 3.12 generics syntax split line happens weirdly
- Standardize type comments to form `# type: <value>`
- Fix `fix_fmt_skip_in_one_liners` preview feature to respect `# fmt: skip` for compound
statements with semicolon-separated bodies
Configuration
- Add `no_cache` option to control caching behavior.
Packaging
- Releases now include arm64 Linux binaries
Output
- Write unchanged content to stdout when excluding formatting from stdin using pipes
_Blackd_
- Implemented BlackDClient. This simple python client allows to easily send formatting
requests to blackd
Integrations
- Enable 3.14 base CI
- Enhance GitHub Action `psf/black` to support the `required-version` major-version-only
"stability" format when using pyproject.toml
- Improve error message for vim plugin users. It now handles independently vim version
- Vim: Warn on unsupported Vim and Python versions independently
- Vim: Print the import paths when importing black fails
- Vim: Fix handling of virtualenvs that have a different Python version
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/py-black/PLIST
cvs rdiff -u -r1.31 -r1.32 pkgsrc/textproc/py-black/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-black/Makefile
diff -u pkgsrc/textproc/py-black/Makefile:1.36 pkgsrc/textproc/py-black/Makefile:1.37
--- pkgsrc/textproc/py-black/Makefile:1.36 Thu Oct 9 07:57:58 2025
+++ pkgsrc/textproc/py-black/Makefile Fri Nov 14 13:38:33 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2025/10/09 07:57:58 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2025/11/14 13:38:33 adam Exp $
-DISTNAME= black-25.9.0
+DISTNAME= black-25.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/black/}
@@ -12,13 +12,13 @@ LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.20.0:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.27.0:../../devel/py-hatchling
DEPENDS+= ${PYPKGPREFIX}-click>=8.0.0:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-mypy_extensions>=0.4.3:../../lang/py-mypy_extensions
DEPENDS+= ${PYPKGPREFIX}-packaging>=22.0:../../devel/py-packaging
DEPENDS+= ${PYPKGPREFIX}-pathspec>=0.9.0:../../devel/py-pathspec
DEPENDS+= ${PYPKGPREFIX}-platformdirs>=2:../../misc/py-platformdirs
-DEPENDS+= ${PYPKGPREFIX}-pytokens>=0:../../devel/py-pytokens
+DEPENDS+= ${PYPKGPREFIX}-pytokens>=0.3.0:../../devel/py-pytokens
# only needed for blackd:
DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.10:../../www/py-aiohttp
Index: pkgsrc/textproc/py-black/PLIST
diff -u pkgsrc/textproc/py-black/PLIST:1.10 pkgsrc/textproc/py-black/PLIST:1.11
--- pkgsrc/textproc/py-black/PLIST:1.10 Sun Sep 21 15:23:04 2025
+++ pkgsrc/textproc/py-black/PLIST Fri Nov 14 13:38:33 2025
@@ -1,16 +1,15 @@
-@comment $NetBSD: PLIST,v 1.10 2025/09/21 15:23:04 wiz Exp $
+@comment $NetBSD: PLIST,v 1.11 2025/11/14 13:38:33 adam Exp $
bin/black-${PYVERSSUFFIX}
bin/blackd-${PYVERSSUFFIX}
-${PYSITELIB}/_black_version.py
-${PYSITELIB}/_black_version.pyc
-${PYSITELIB}/_black_version.pyi
-${PYSITELIB}/_black_version.pyo
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS.md
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/_black_version.py
+${PYSITELIB}/_black_version.pyc
+${PYSITELIB}/_black_version.pyi
+${PYSITELIB}/_black_version.pyo
${PYSITELIB}/black/__init__.py
${PYSITELIB}/black/__init__.pyc
${PYSITELIB}/black/__init__.pyo
@@ -94,6 +93,9 @@ ${PYSITELIB}/blackd/__init__.pyo
${PYSITELIB}/blackd/__main__.py
${PYSITELIB}/blackd/__main__.pyc
${PYSITELIB}/blackd/__main__.pyo
+${PYSITELIB}/blackd/client.py
+${PYSITELIB}/blackd/client.pyc
+${PYSITELIB}/blackd/client.pyo
${PYSITELIB}/blackd/middlewares.py
${PYSITELIB}/blackd/middlewares.pyc
${PYSITELIB}/blackd/middlewares.pyo
Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.31 pkgsrc/textproc/py-black/distinfo:1.32
--- pkgsrc/textproc/py-black/distinfo:1.31 Sun Sep 21 15:23:04 2025
+++ pkgsrc/textproc/py-black/distinfo Fri Nov 14 13:38:34 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2025/09/21 15:23:04 wiz Exp $
+$NetBSD: distinfo,v 1.32 2025/11/14 13:38:34 adam Exp $
-BLAKE2s (black-25.9.0.tar.gz) = 0b463c10a55d59093b657ede7a5dee26c48214edce8528618b24de0294ca8f89
-SHA512 (black-25.9.0.tar.gz) = aa2a2ff1cd1169108968735e7fcd0ad0b25d721786461975d0aaea06b21accc877c96eff0876c40ebe7c31d6de8065c7db47580fe7372c8ad8c08a0c17951311
-Size (black-25.9.0.tar.gz) = 648393 bytes
+BLAKE2s (black-25.11.0.tar.gz) = 3b8f4b9123f3d0c0750ae6fbf32613dfa909e4b299a5a9f2523d122337d70e76
+SHA512 (black-25.11.0.tar.gz) = e6b91cc3772b5a079baf99792140d8d66448b2d17aa27706af5a9c652fca04ed4815dab4fdcaf93721d0b7e85e5fec85ba3fd14f08487a82f558c140a3dfbfd6
+Size (black-25.11.0.tar.gz) = 655669 bytes
Home |
Main Index |
Thread Index |
Old Index