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: Sun Feb 2 09:38:45 UTC 2025
Modified Files:
pkgsrc/textproc/py-black: Makefile distinfo
Log Message:
py-black: updated to 25.1.0
25.1.0
Highlights
This release introduces the new 2025 stable style
the following changes:
- Normalize casing of Unicode escape characters in strings to lowercase
- Fix inconsistencies in whether certain strings are detected as docstrings
- Consistently add trailing commas to typed function parameters
- Remove redundant parentheses in if guards for case blocks
- Add parentheses to if clauses in case blocks when the line is too long
- Whitespace before `# fmt: skip` comments is no longer normalized
- Fix line length computation for certain expressions that involve the power operator
- Check if there is a newline before the terminating quotes of a docstring
- Fix type annotation spacing between `*` and more complex type variable tuple
The following changes were not in any previous release:
- Remove parentheses around sole list items
- Generic function definitions are now formatted more elegantly: parameters are
split over multiple lines first instead of type parameter definitions
Stable style
- Fix formatting cells in IPython notebooks with magic methods and starting or trailing
empty lines
- Fix crash when formatting `with` statements containing tuple generators/unpacking
Preview style
- Fix/remove string merging changing f-string quotes on f-strings with internal quotes
- Collapse multiple empty lines after an import into one
- Prevent `string_processing` and `wrap_long_dict_values_in_parens` from removing
parentheses around long dictionary values
- Move `wrap_long_dict_values_in_parens` from the unstable to preview style
Packaging
- Store license identifier inside the `License-Expression` metadata field, see
[PEP 639](https://peps.python.org/pep-0639/).
Performance
- Speed up the `is_fstring_start` function in Black's tokenizer
Integrations
- If using stdin with `--stdin-filename` set to a force excluded path, stdin won't be
formatted.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.29 -r1.30 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.32 pkgsrc/textproc/py-black/Makefile:1.33
--- pkgsrc/textproc/py-black/Makefile:1.32 Thu Oct 10 09:54:23 2024
+++ pkgsrc/textproc/py-black/Makefile Sun Feb 2 09:38:45 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2024/10/10 09:54:23 adam Exp $
+# $NetBSD: Makefile,v 1.33 2025/02/02 09:38:45 adam Exp $
-DISTNAME= black-24.10.0
+DISTNAME= black-25.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/black/}
Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.29 pkgsrc/textproc/py-black/distinfo:1.30
--- pkgsrc/textproc/py-black/distinfo:1.29 Thu Oct 10 09:54:23 2024
+++ pkgsrc/textproc/py-black/distinfo Sun Feb 2 09:38:45 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2024/10/10 09:54:23 adam Exp $
+$NetBSD: distinfo,v 1.30 2025/02/02 09:38:45 adam Exp $
-BLAKE2s (black-24.10.0.tar.gz) = 4536edff9931554dd83d24d6fa21298bd3da59941b360e9c17acfe06b85bf6d5
-SHA512 (black-24.10.0.tar.gz) = 36285528b2a3ca9b68b806cf43cf04061f80e0ad5e693c70d2dc254b59d15f41ec5c2a4328d4cda42abe005def2d86d8fc501c1649b223a225c8bddddf82589a
-Size (black-24.10.0.tar.gz) = 645813 bytes
+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
Home |
Main Index |
Thread Index |
Old Index