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: Tue Apr 12 10:11:38 UTC 2022
Modified Files:
pkgsrc/textproc/py-black: ALTERNATIVES Makefile PLIST distinfo
Log Message:
py-black: updated to 22.3.0
22.3.0
Preview style
- Code cell separators `#%%` are now standardised to `# %%`
- Remove unnecessary parentheses from `except` statements
- Remove unnecessary parentheses from tuple unpacking in `for` loops
- Avoid magic-trailing-comma in single-element subscripts
Configuration
- Do not format `__pypackages__` directories by default
- Add support for specifying stable version with `--required-version`
- Avoid crashing when the user has no homedir
- Avoid crashing when md5 is not available
- Fix handling of directory junctions on Windows
Documentation
- Update pylint config documentation
Integrations
- Move test to disable plugin in Vim/Neovim, which speeds up loading
Output
- In verbose, mode, log when _Black_ is using user-level config
Packaging
- Fix Black to work with Click 8.1.0
- On Python 3.11 and newer, use the standard library's `tomllib` instead of `tomli`
- `black-primer`, the deprecated internal devtool, has been removed and copied to a
[separate repository](https://github.com/cooperlees/black-primer)
Parser
- Black can now parse starred expressions in the target of `for` and `async for`
statements, e.g `for item in *items_1, *items_2: pass`
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-black/ALTERNATIVES
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-black/Makefile \
pkgsrc/textproc/py-black/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-black/PLIST
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/ALTERNATIVES
diff -u pkgsrc/textproc/py-black/ALTERNATIVES:1.1 pkgsrc/textproc/py-black/ALTERNATIVES:1.2
--- pkgsrc/textproc/py-black/ALTERNATIVES:1.1 Mon Sep 28 23:55:26 2020
+++ pkgsrc/textproc/py-black/ALTERNATIVES Tue Apr 12 10:11:38 2022
@@ -1,3 +1,2 @@
bin/black @PREFIX@/bin/black-@PYVERSSUFFIX@
-bin/black-primer @PREFIX@/bin/black-primer-@PYVERSSUFFIX@
bin/blackd @PREFIX@/bin/blackd-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-black/Makefile
diff -u pkgsrc/textproc/py-black/Makefile:1.6 pkgsrc/textproc/py-black/Makefile:1.7
--- pkgsrc/textproc/py-black/Makefile:1.6 Mon Jan 31 09:55:42 2022
+++ pkgsrc/textproc/py-black/Makefile Tue Apr 12 10:11:38 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2022/01/31 09:55:42 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/04/12 10:11:38 adam Exp $
-DISTNAME= black-22.1.0
+DISTNAME= black-22.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/black/}
@@ -37,7 +37,7 @@ DEPENDS+= ${PYPKGPREFIX}-typing-extensio
USE_PKG_RESOURCES= yes
post-install:
-.for bin in black black-primer blackd
+.for bin in black blackd
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor
Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.6 pkgsrc/textproc/py-black/distinfo:1.7
--- pkgsrc/textproc/py-black/distinfo:1.6 Mon Jan 31 09:55:42 2022
+++ pkgsrc/textproc/py-black/distinfo Tue Apr 12 10:11:38 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2022/01/31 09:55:42 wiz Exp $
+$NetBSD: distinfo,v 1.7 2022/04/12 10:11:38 adam Exp $
-BLAKE2s (black-22.1.0.tar.gz) = 77159f2ac0156819770ff7b85029d92fe14a08e089f571846936cd49e1f0b927
-SHA512 (black-22.1.0.tar.gz) = 296eb0f0f1bda03a6db54720c168648e2cd7f937319682b6605a61755b7455667b311314246d69b0292d6443b36190e0a4cb86c55ab12631ec079e0910ed48dc
-Size (black-22.1.0.tar.gz) = 559521 bytes
+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
Index: pkgsrc/textproc/py-black/PLIST
diff -u pkgsrc/textproc/py-black/PLIST:1.3 pkgsrc/textproc/py-black/PLIST:1.4
--- pkgsrc/textproc/py-black/PLIST:1.3 Mon Jan 31 09:55:42 2022
+++ pkgsrc/textproc/py-black/PLIST Tue Apr 12 10:11:38 2022
@@ -1,10 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2022/01/31 09:55:42 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/04/12 10:11:38 adam Exp $
bin/black-${PYVERSSUFFIX}
-bin/black-primer-${PYVERSSUFFIX}
bin/blackd-${PYVERSSUFFIX}
-${PYSITELIB}/_black_version.py
-${PYSITELIB}/_black_version.pyc
-${PYSITELIB}/_black_version.pyo
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -12,6 +8,9 @@ ${PYSITELIB}/${EGG_INFODIR}/entry_points
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/_black_version.py
+${PYSITELIB}/_black_version.pyc
+${PYSITELIB}/_black_version.pyo
${PYSITELIB}/black/__init__.py
${PYSITELIB}/black/__init__.pyc
${PYSITELIB}/black/__init__.pyo
@@ -76,16 +75,6 @@ ${PYSITELIB}/black/strings.pyo
${PYSITELIB}/black/trans.py
${PYSITELIB}/black/trans.pyc
${PYSITELIB}/black/trans.pyo
-${PYSITELIB}/black_primer/__init__.py
-${PYSITELIB}/black_primer/__init__.pyc
-${PYSITELIB}/black_primer/__init__.pyo
-${PYSITELIB}/black_primer/cli.py
-${PYSITELIB}/black_primer/cli.pyc
-${PYSITELIB}/black_primer/cli.pyo
-${PYSITELIB}/black_primer/lib.py
-${PYSITELIB}/black_primer/lib.pyc
-${PYSITELIB}/black_primer/lib.pyo
-${PYSITELIB}/black_primer/primer.json
${PYSITELIB}/blackd/__init__.py
${PYSITELIB}/blackd/__init__.pyc
${PYSITELIB}/blackd/__init__.pyo
Home |
Main Index |
Thread Index |
Old Index