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:           Mon Jul 11 08:52:49 UTC 2022

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

Log Message:
py-black: updated to 22.6.0

22.6.0

Style

- Fix unstable formatting involving `#fmt: skip` and `# fmt:skip` comments (notice the
  lack of spaces)

Preview style

- Docstring quotes are no longer moved if it would violate the line length limit
- Parentheses around return annotations are now managed
- Remove unnecessary parentheses around awaited objects
- Remove unnecessary parentheses in `with` statements
- Remove trailing newlines after code block open

Integrations

- Add `scripts/migrate-black.py` script to ease introduction of Black to a Git project

Output

- Output Python version and implementation as part of `--version` flag

Packaging

- Use `tomli` instead of `tomllib` on Python 3.11 builds where `tomllib` is not
  available

Parser

- [PEP 654](https://peps.python.org/pep-0654/#except) syntax (for example,
  `except *ExceptionGroup:`) is now supported
- [PEP 646](https://peps.python.org/pep-0646) syntax (for example,
  `Array[Batch, *Shape]` or `def fn(*args: *T) -> None`) is now supported

Vim Plugin

- Fix `strtobool` function. It didn't parse true/on/false/off.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-black/Makefile \
    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.7 pkgsrc/textproc/py-black/Makefile:1.8
--- pkgsrc/textproc/py-black/Makefile:1.7       Tue Apr 12 10:11:38 2022
+++ pkgsrc/textproc/py-black/Makefile   Mon Jul 11 08:52:49 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2022/04/12 10:11:38 adam Exp $
+# $NetBSD: Makefile,v 1.8 2022/07/11 08:52:49 adam Exp $
 
-DISTNAME=      black-22.3.0
+DISTNAME=      black-22.6.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.7 pkgsrc/textproc/py-black/distinfo:1.8
--- pkgsrc/textproc/py-black/distinfo:1.7       Tue Apr 12 10:11:38 2022
+++ pkgsrc/textproc/py-black/distinfo   Mon Jul 11 08:52:49 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2022/04/12 10:11:38 adam Exp $
+$NetBSD: distinfo,v 1.8 2022/07/11 08:52:49 adam Exp $
 
-BLAKE2s (black-22.3.0.tar.gz) = 268c8ae6c1082482d43c82279b5d804d0c54487b6a80c8a29e6047cfaa876ccd
-SHA512 (black-22.3.0.tar.gz) = ad20fd5ccb587db449889840deb1f49061a3d382ba1a14b062a0e6795a4d4b163e8f2ed0207f38dc682cf50eae596fe0973eadb510717243d41e8930c77b7069
-Size (black-22.3.0.tar.gz) = 554277 bytes
+BLAKE2s (black-22.6.0.tar.gz) = c9f070c18390d6f14b3ff8e56588534cf498ea34392411801af9817e18d5d4ac
+SHA512 (black-22.6.0.tar.gz) = 8d1e2871abb4872d6e368b62e07112c791e8626154ae323639414393f1fbffdab219389e89785f46cc2cda23a4109a2de9c5b672bdd76ff42cc860fd21472f2c
+Size (black-22.6.0.tar.gz) = 566106 bytes



Home | Main Index | Thread Index | Old Index