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 May 17 15:52:32 UTC 2026

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

Log Message:
py-black: update to 26.5.0.

## Version 26.5.0

### Highlights

- Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810),
  both new syntactic features in Python 3.15 (#5048)
- Python 3.15 is now supported. Compiled wheels are not yet provided for Python 3.15, so
  performance may be slower than on existing Python versions. Wheels will be provided
  once Python 3.15 is later in its release cycle. (#5127)

### Stable style

- Fix `# fmt: skip` being ignored in nested `if` expressions with parenthesized `in`
  clauses (#4903)
- Add syntactic support for Python 3.15 (#5048)
- Fix crash when an f-string follows a `# fmt: off` comment inside brackets (#5097)
- Preserve multiline compound statement headers when `# fmt: skip` is placed on the
  colon line (#5117)

### Preview style

- Improve heuristics around whether blank lines should appear before, within and after
  groups of same-name decorated functions (such as `@overload` groups) in `.pyi` stub
  files (#5021)
- Fix blank lines being removed between a function and a decorated class in `.pyi` stub
  files (#5092)
- Prevent string merger from creating unsplittable long lines when a pragma comment
  (e.g. `# type: ignore`) follows the closing bracket (#5096)

### Packaging

- Run CI on 3.15 (#5127)

### Output

- Improve parse error readability by showing multi-line output with an error pointer.
  (#5068)
- Add `SourceASTParseError` to distinguish source parse failures from internal safety
  errors, improving error reporting when Black's lenient parser accepts input that
  `ast.parse()` rejects (#5080)

### _Blackd_

- Return HTTP 400 (Bad Request) for source parse failures instead of HTTP 500, keeping
  HTTP 500 only for genuine internal safety errors (#5080)

### Integrations

- Added documentation for doctest formatting tools and updated the integrations index to
  match (#4916)

### Documentation

- Use "Version X.Y.Z" headings in changelog for stable permalink anchors on ReadTheDocs
  (#5063)
- Note in the editor integrations that the SublimeText `sublack` plugin is archived and
  unmaintained (#5082)


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.36 -r1.37 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.41 pkgsrc/textproc/py-black/Makefile:1.42
--- pkgsrc/textproc/py-black/Makefile:1.41      Thu Mar 12 05:12:30 2026
+++ pkgsrc/textproc/py-black/Makefile   Sun May 17 15:52:32 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2026/03/12 05:12:30 adam Exp $
+# $NetBSD: Makefile,v 1.42 2026/05/17 15:52:32 wiz Exp $
 
-DISTNAME=      black-26.3.1
+DISTNAME=      black-26.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/black/}
@@ -26,13 +26,7 @@ USE_LANGUAGES=       # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  310
 
-post-install:
-.for bin in black blackd
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
-
-TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
+PY_RENAME_BINARIES=    black blackd
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.36 pkgsrc/textproc/py-black/distinfo:1.37
--- pkgsrc/textproc/py-black/distinfo:1.36      Thu Mar 12 05:12:30 2026
+++ pkgsrc/textproc/py-black/distinfo   Sun May 17 15:52:32 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.36 2026/03/12 05:12:30 adam Exp $
+$NetBSD: distinfo,v 1.37 2026/05/17 15:52:32 wiz Exp $
 
-BLAKE2s (black-26.3.1.tar.gz) = a1938bc7877cdf113dc15d65b2a6d43b45ff69d32e4639e5330ef75ef72b57ca
-SHA512 (black-26.3.1.tar.gz) = 55c843ba5a13fb20bf47b7f91d1e44b9afdccf13d3b9966cfe54e635c1fa72d8217e0005d2391f7f76ba04458ba03edf67f3dd8a568d197c4ab558e83395b934
-Size (black-26.3.1.tar.gz) = 666155 bytes
+BLAKE2s (black-26.5.0.tar.gz) = ec81ba1c3d44d7647c15190417e8a79dbd46c284d251f009f729e3845431b87e
+SHA512 (black-26.5.0.tar.gz) = 8477c4cb87c25056772b636b4e5aba38821812ef5a746438a3dbd1de72e37af5e03372389db20aa45678ed560bc8f61ae7c0e3f28c86d14b6ad0ef3956cccaa0
+Size (black-26.5.0.tar.gz) = 677762 bytes



Home | Main Index | Thread Index | Old Index