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 Dec 12 10:07:36 UTC 2022

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

Log Message:
py-black: updated to 22.12.0

22.12.0

Preview style

<!-- Changes that affect Black's preview style -->

- Enforce empty lines before classes and functions with sticky leading comments
- Reformat empty and whitespace-only files as either an empty file (if no newline is
 present) or as a single newline character (if a newline is present)
- Implicitly concatenated strings used as function args are now wrapped inside
 parentheses
- Correctly handle trailing commas that are inside a line's leading non-nested parens

Configuration

<!-- Changes to how Black can be configured -->

- Fix incorrectly applied `.gitignore` rules by considering the `.gitignore` location
 and the relative path to the target file
- Fix incorrectly ignoring `.gitignore` presence when more than one source directory is
 specified

Parser

<!-- Changes to the parser or to version autodetection -->

- Parsing support has been added for walruses inside generator expression that are
 passed as function args (for example,
 `any(match := my_re.match(text) for text in texts)`)

Integrations

<!-- For example, Docker, GitHub Actions, pre-commit, editors -->

- Vim plugin: Optionally allow using the system installation of Black via
 `let g:black_use_virtualenv = 0`


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.10 -r1.11 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.11 pkgsrc/textproc/py-black/Makefile:1.12
--- pkgsrc/textproc/py-black/Makefile:1.11      Tue Nov  8 09:05:48 2022
+++ pkgsrc/textproc/py-black/Makefile   Mon Dec 12 10:07:36 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2022/11/08 09:05:48 adam Exp $
+# $NetBSD: Makefile,v 1.12 2022/12/12 10:07:36 adam Exp $
 
-DISTNAME=      black-22.10.0
+DISTNAME=      black-22.12.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.10 pkgsrc/textproc/py-black/distinfo:1.11
--- pkgsrc/textproc/py-black/distinfo:1.10      Tue Oct 11 13:15:30 2022
+++ pkgsrc/textproc/py-black/distinfo   Mon Dec 12 10:07:36 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2022/10/11 13:15:30 adam Exp $
+$NetBSD: distinfo,v 1.11 2022/12/12 10:07:36 adam Exp $
 
-BLAKE2s (black-22.10.0.tar.gz) = 2b83aab9922352152efb572107e17ff2b7310c620c39e4e256d9f30880699add
-SHA512 (black-22.10.0.tar.gz) = 3ae44f434a13c0a5cee87663d9612f0f09b18d095f97b25d0737394bce9a9403167de0076981c57659fc510536fe10574135bf3fdc7e9ad44def7b9796b904aa
-Size (black-22.10.0.tar.gz) = 547735 bytes
+BLAKE2s (black-22.12.0.tar.gz) = 5d56778271b756f8e1ef14d904b624bd4fa099976285bf2d495bd120f6e0526c
+SHA512 (black-22.12.0.tar.gz) = 2a7b933912b0b01758ec4ff745ac13f4bb0bb4881a3b12d9567f32c0b229b68ac835142053e55a96c2f1a2e4e2d33f76f6c22027728eb32be9dd5e78d6a6aea9
+Size (black-22.12.0.tar.gz) = 553112 bytes



Home | Main Index | Thread Index | Old Index