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 Sep 11 09:27:50 UTC 2023

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

Log Message:
py-black: updated to 23.9.1

23.9.1

Due to various issues, the previous release (23.9.0) did not include compiled mypyc
wheels, which make Black significantly faster. These issues have now been fixed, and
this release should come with compiled wheels once again.

There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12
wheels in a future release as soon as the mypyc bug is fixed.

Packaging

- Upgrade to mypy 1.5.1

Performance

- Store raw tuples instead of NamedTuples in Black's cache, improving performance and
 decreasing the size of the cache

23.9.0

Preview style

- More concise formatting for dummy implementations
- In stub files, add a blank line between a statement with a body (e.g an
 `if sys.version_info > (3, x):`) and a function definition on the same level
- Fix a bug whereby spaces were removed from walrus operators within subscript

Configuration

- Black now applies exclusion and ignore logic before resolving symlinks

Performance

- Avoid importing `IPython` if notebook cells do not contain magics
- Improve caching by comparing file hashes as fallback for mtime and size

_Blackd_

- Fix an issue in `blackd` with single character input

Integrations

- Black now has an
 [official pre-commit mirror](https://github.com/psf/black-pre-commit-mirror). Swapping
 `https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in
 your `.pre-commit-config.yaml` will make Black about 2x faster
- The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion
 of the GitHub Action


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.14 -r1.15 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.16 pkgsrc/textproc/py-black/Makefile:1.17
--- pkgsrc/textproc/py-black/Makefile:1.16      Mon Jul 17 11:49:24 2023
+++ pkgsrc/textproc/py-black/Makefile   Mon Sep 11 09:27:50 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2023/07/17 11:49:24 adam Exp $
+# $NetBSD: Makefile,v 1.17 2023/09/11 09:27:50 adam Exp $
 
-DISTNAME=      black-23.7.0
+DISTNAME=      black-23.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/black/}
@@ -13,7 +13,6 @@ LICENSE=      mit
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.8.0:../../devel/py-hatchling
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-click>=8.0.0:../../devel/py-click
 DEPENDS+=      ${PYPKGPREFIX}-mypy_extensions>=0.4.3:../../lang/py-mypy_extensions
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=22.0:../../devel/py-packaging
@@ -30,9 +29,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
-.endif
-.if ${PYTHON_VERSION} < 310
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.10.0.0:../../devel/py-typing-extensions
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.0.1:../../devel/py-typing-extensions
 .endif
 
 post-install:

Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.14 pkgsrc/textproc/py-black/distinfo:1.15
--- pkgsrc/textproc/py-black/distinfo:1.14      Mon Jul 17 11:49:24 2023
+++ pkgsrc/textproc/py-black/distinfo   Mon Sep 11 09:27:50 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2023/07/17 11:49:24 adam Exp $
+$NetBSD: distinfo,v 1.15 2023/09/11 09:27:50 adam Exp $
 
-BLAKE2s (black-23.7.0.tar.gz) = 46f432980a16b1aa938b4f2415ec61c84c6758272caec5f13bb664b51c3bfde9
-SHA512 (black-23.7.0.tar.gz) = 78d5e87bfef4dcaff007455e8c72dcd45f9374c09da6f4ba45ae7caa980005d1bc984c68fa44d4abf7969a376a4039546e7e8f537c3aa1331d213e13dcbe3941
-Size (black-23.7.0.tar.gz) = 586177 bytes
+BLAKE2s (black-23.9.1.tar.gz) = 49ff1336a94b10fec112d9ec315df252fce471bcfff83a7b6d83a42e731eef16
+SHA512 (black-23.9.1.tar.gz) = 0732409800a131fee69fffa8e7be8c128d26f0f75038235ba6f8c7451901199eed4118a2cb640ec0a5e6b40238bf41991c4a0559534f3a9f13d29f118e5b4aaa
+Size (black-23.9.1.tar.gz) = 589529 bytes



Home | Main Index | Thread Index | Old Index