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:   wiz
Date:           Sun Sep 21 15:23:04 UTC 2025

Modified Files:
        pkgsrc/textproc/py-black: Makefile PLIST distinfo

Log Message:
py-black: update to 25.9.0.

## 25.9.0

### Highlights

- Remove support for pre-python 3.7 `await/async` as soft keywords/variable names
  (#4676)

### Stable style

- Fix crash while formatting a long `del` statement containing tuples (#4628)
- Fix crash while formatting expressions using the walrus operator in complex `with`
  statements (#4630)
- Handle `# fmt: skip` followed by a comment at the end of file (#4635)
- Fix crash when a tuple appears in the `as` clause of a `with` statement (#4634)
- Fix crash when tuple is used as a context manager inside a `with` statement (#4646)
- Fix crash when formatting a `\` followed by a `\r` followed by a comment (#4663)
- Fix crash on a `\\r\n` (#4673)
- Fix crash on `await ...` (where `...` is a literal `Ellipsis`) (#4676)
- Fix crash on parenthesized expression inside a type parameter bound (#4684)
- Fix crash when using line ranges excluding indented single line decorated items
  (#4670)

### Preview style

- Fix a bug where one-liner functions/conditionals marked with `# fmt: skip` would still
  be formatted (#4552)
- Improve `multiline_string_handling` with ternaries and dictionaries (#4657)
- Fix a bug where `string_processing` would not split f-strings directly after
  expressions (#4680)
- Wrap the `in` clause of comprehensions across lines if necessary (#4699)
- Remove parentheses around multiple exception types in `except` and `except*` without
  `as`. (#4720)
- Add `\r` style newlines to the potential newlines to normalize file newlines both from
  and to (#4710)

### Parser

- Rewrite tokenizer to improve performance and compliance (#4536)
- Fix bug where certain unusual expressions (e.g., lambdas) were not accepted in type
  parameter bounds and defaults. (#4602)

### Performance

- Avoid using an extra process when running with only one worker (#4734)

### Integrations

- Fix the version check in the vim file to reject Python 3.8 (#4567)
- Enhance GitHub Action `psf/black` to read Black version from an additional section in
  pyproject.toml: `[project.dependency-groups]` (#4606)
- Build gallery docker image with python3-slim and reduce image size (#4686)

### Documentation

- Add FAQ entry for windows emoji not displaying (#4714)


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/py-black/PLIST
cvs rdiff -u -r1.30 -r1.31 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.34 pkgsrc/textproc/py-black/Makefile:1.35
--- pkgsrc/textproc/py-black/Makefile:1.34      Sat Jul  5 11:44:18 2025
+++ pkgsrc/textproc/py-black/Makefile   Sun Sep 21 15:23:04 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2025/07/05 11:44:18 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2025/09/21 15:23:04 wiz Exp $
 
-DISTNAME=      black-25.1.0
+DISTNAME=      black-25.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/black/}
@@ -18,6 +18,7 @@ DEPENDS+=     ${PYPKGPREFIX}-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
 # 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.9 pkgsrc/textproc/py-black/PLIST:1.10
--- pkgsrc/textproc/py-black/PLIST:1.9  Tue Feb 13 05:06:48 2024
+++ pkgsrc/textproc/py-black/PLIST      Sun Sep 21 15:23:04 2025
@@ -1,15 +1,16 @@
-@comment $NetBSD: PLIST,v 1.9 2024/02/13 05:06:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2025/09/21 15:23:04 wiz 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.pyo
 ${PYSITELIB}/black/__init__.py
 ${PYSITELIB}/black/__init__.pyc
 ${PYSITELIB}/black/__init__.pyo

Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.30 pkgsrc/textproc/py-black/distinfo:1.31
--- pkgsrc/textproc/py-black/distinfo:1.30      Sun Feb  2 09:38:45 2025
+++ pkgsrc/textproc/py-black/distinfo   Sun Sep 21 15:23:04 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2025/02/02 09:38:45 adam Exp $
+$NetBSD: distinfo,v 1.31 2025/09/21 15:23:04 wiz Exp $
 
-BLAKE2s (black-25.1.0.tar.gz) = a252907833504ed49f3726d98a74e2f89d960e33fa7b835f867315630b30b38b
-SHA512 (black-25.1.0.tar.gz) = 57281a678d322aaf0f2b7059aa59ad65055cb6999b8fc22ead115011d1b2e607d5cc91880369ee93a438bc266d7ebd371cd046f12d41a83383577f36a6211844
-Size (black-25.1.0.tar.gz) = 649449 bytes
+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



Home | Main Index | Thread Index | Old Index