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 Oct 11 13:15:30 UTC 2022
Modified Files:
pkgsrc/textproc/py-black: Makefile PLIST distinfo
Log Message:
py-black: updated to 22.10.0
22.10.0
Highlights
- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be
supported until further notice.
Stable style
- Fix a crash when `# fmt: on` is used on a different block level than `# fmt: off`
Preview style
- Fix a crash when formatting some dicts with parenthesis-wrapped long string keys
Configuration
- `.ipynb_checkpoints` directories are now excluded by default
- Add `--skip-source-first-line` / `-x` option to ignore the first line of source code
while formatting
Packaging
- Executables made with PyInstaller will no longer crash when formatting several files
at once on macOS. Native x86-64 executables for macOS are available once again.
- Hatchling is now used as the build backend. This will not have any effect for users
who install Black with its wheels from PyPI.
- Faster compiled wheels are now available for CPython 3.11
_Blackd_
- Windows style (CRLF) newlines will be preserved
Integrations
- Vim plugin: add flag (`g:black_preview`) to enable/disable the preview style
- Update GitHub Action to support formatting of Jupyter Notebook files via a `jupyter`
option
- Update GitHub Action to support use of version specifiers (e.g. `<23`) for Black
version
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/py-black/Makefile \
pkgsrc/textproc/py-black/distinfo
cvs rdiff -u -r1.4 -r1.5 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/Makefile
diff -u pkgsrc/textproc/py-black/Makefile:1.9 pkgsrc/textproc/py-black/Makefile:1.10
--- pkgsrc/textproc/py-black/Makefile:1.9 Wed Sep 14 10:34:27 2022
+++ pkgsrc/textproc/py-black/Makefile Tue Oct 11 13:15:30 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2022/09/14 10:34:27 adam Exp $
+# $NetBSD: Makefile,v 1.10 2022/10/11 13:15:30 adam Exp $
-DISTNAME= black-22.8.0
+DISTNAME= black-22.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/black/}
@@ -12,6 +12,10 @@ LICENSE= mit
USE_LANGUAGES= # none
+BUILD_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.8.0:../../devel/py-hatchling
+BUILD_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
+BUILD_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
+BUILD_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}-pathspec>=0.9.0:../../devel/py-pathspec
@@ -19,8 +23,6 @@ DEPENDS+= ${PYPKGPREFIX}-platformdirs>=2
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
# only needed for blackd:
DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.7.4:../../www/py-aiohttp
-
-BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
PYTHON_VERSIONS_INCOMPATIBLE= 27
@@ -34,8 +36,6 @@ DEPENDS+= ${PYPKGPREFIX}-typed-ast>=1.4.
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10.0.0:../../devel/py-typing-extensions
.endif
-USE_PKG_RESOURCES= yes
-
post-install:
.for bin in black blackd
cd ${DESTDIR}${PREFIX}/bin && \
@@ -46,5 +46,5 @@ TEST_ENV+= PYTHONPATH=${WRKSRC}/build/li
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.9 pkgsrc/textproc/py-black/distinfo:1.10
--- pkgsrc/textproc/py-black/distinfo:1.9 Wed Sep 14 10:34:27 2022
+++ pkgsrc/textproc/py-black/distinfo Tue Oct 11 13:15:30 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2022/09/14 10:34:27 adam Exp $
+$NetBSD: distinfo,v 1.10 2022/10/11 13:15:30 adam Exp $
-BLAKE2s (black-22.8.0.tar.gz) = bdbe5a6cfd8b40445f6e1bb8369612961b20446228850ab44284a219454b2273
-SHA512 (black-22.8.0.tar.gz) = 27c742e632dadbd01dc658226d19941cf01f5f98ae013c0d6bcc7303cfe1faef13bb4e5a0eb784171d5f59c3bbcbd6dd94f7d3a59e9458eb5a67c9d8fbba8ad5
-Size (black-22.8.0.tar.gz) = 577317 bytes
+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
Index: pkgsrc/textproc/py-black/PLIST
diff -u pkgsrc/textproc/py-black/PLIST:1.4 pkgsrc/textproc/py-black/PLIST:1.5
--- pkgsrc/textproc/py-black/PLIST:1.4 Tue Apr 12 10:11:38 2022
+++ pkgsrc/textproc/py-black/PLIST Tue Oct 11 13:15:30 2022
@@ -1,124 +1,91 @@
-@comment $NetBSD: PLIST,v 1.4 2022/04/12 10:11:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/10/11 13:15:30 adam Exp $
bin/black-${PYVERSSUFFIX}
bin/blackd-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/_black_version.py
${PYSITELIB}/_black_version.pyc
-${PYSITELIB}/_black_version.pyo
${PYSITELIB}/black/__init__.py
${PYSITELIB}/black/__init__.pyc
-${PYSITELIB}/black/__init__.pyo
${PYSITELIB}/black/__main__.py
${PYSITELIB}/black/__main__.pyc
-${PYSITELIB}/black/__main__.pyo
${PYSITELIB}/black/brackets.py
${PYSITELIB}/black/brackets.pyc
-${PYSITELIB}/black/brackets.pyo
${PYSITELIB}/black/cache.py
${PYSITELIB}/black/cache.pyc
-${PYSITELIB}/black/cache.pyo
${PYSITELIB}/black/comments.py
${PYSITELIB}/black/comments.pyc
-${PYSITELIB}/black/comments.pyo
${PYSITELIB}/black/concurrency.py
${PYSITELIB}/black/concurrency.pyc
-${PYSITELIB}/black/concurrency.pyo
${PYSITELIB}/black/const.py
${PYSITELIB}/black/const.pyc
-${PYSITELIB}/black/const.pyo
${PYSITELIB}/black/debug.py
${PYSITELIB}/black/debug.pyc
-${PYSITELIB}/black/debug.pyo
${PYSITELIB}/black/files.py
${PYSITELIB}/black/files.pyc
-${PYSITELIB}/black/files.pyo
${PYSITELIB}/black/handle_ipynb_magics.py
${PYSITELIB}/black/handle_ipynb_magics.pyc
-${PYSITELIB}/black/handle_ipynb_magics.pyo
${PYSITELIB}/black/linegen.py
${PYSITELIB}/black/linegen.pyc
-${PYSITELIB}/black/linegen.pyo
${PYSITELIB}/black/lines.py
${PYSITELIB}/black/lines.pyc
-${PYSITELIB}/black/lines.pyo
${PYSITELIB}/black/mode.py
${PYSITELIB}/black/mode.pyc
-${PYSITELIB}/black/mode.pyo
${PYSITELIB}/black/nodes.py
${PYSITELIB}/black/nodes.pyc
-${PYSITELIB}/black/nodes.pyo
${PYSITELIB}/black/numerics.py
${PYSITELIB}/black/numerics.pyc
-${PYSITELIB}/black/numerics.pyo
${PYSITELIB}/black/output.py
${PYSITELIB}/black/output.pyc
-${PYSITELIB}/black/output.pyo
${PYSITELIB}/black/parsing.py
${PYSITELIB}/black/parsing.pyc
-${PYSITELIB}/black/parsing.pyo
${PYSITELIB}/black/py.typed
${PYSITELIB}/black/report.py
${PYSITELIB}/black/report.pyc
-${PYSITELIB}/black/report.pyo
${PYSITELIB}/black/rusty.py
${PYSITELIB}/black/rusty.pyc
-${PYSITELIB}/black/rusty.pyo
${PYSITELIB}/black/strings.py
${PYSITELIB}/black/strings.pyc
-${PYSITELIB}/black/strings.pyo
${PYSITELIB}/black/trans.py
${PYSITELIB}/black/trans.pyc
-${PYSITELIB}/black/trans.pyo
${PYSITELIB}/blackd/__init__.py
${PYSITELIB}/blackd/__init__.pyc
-${PYSITELIB}/blackd/__init__.pyo
${PYSITELIB}/blackd/__main__.py
${PYSITELIB}/blackd/__main__.pyc
-${PYSITELIB}/blackd/__main__.pyo
${PYSITELIB}/blackd/middlewares.py
${PYSITELIB}/blackd/middlewares.pyc
-${PYSITELIB}/blackd/middlewares.pyo
${PYSITELIB}/blib2to3/Grammar.txt
+${PYSITELIB}/blib2to3/LICENSE
${PYSITELIB}/blib2to3/PatternGrammar.txt
+${PYSITELIB}/blib2to3/README
${PYSITELIB}/blib2to3/__init__.py
${PYSITELIB}/blib2to3/__init__.pyc
-${PYSITELIB}/blib2to3/__init__.pyo
${PYSITELIB}/blib2to3/pgen2/__init__.py
${PYSITELIB}/blib2to3/pgen2/__init__.pyc
-${PYSITELIB}/blib2to3/pgen2/__init__.pyo
${PYSITELIB}/blib2to3/pgen2/conv.py
${PYSITELIB}/blib2to3/pgen2/conv.pyc
-${PYSITELIB}/blib2to3/pgen2/conv.pyo
${PYSITELIB}/blib2to3/pgen2/driver.py
${PYSITELIB}/blib2to3/pgen2/driver.pyc
-${PYSITELIB}/blib2to3/pgen2/driver.pyo
${PYSITELIB}/blib2to3/pgen2/grammar.py
${PYSITELIB}/blib2to3/pgen2/grammar.pyc
-${PYSITELIB}/blib2to3/pgen2/grammar.pyo
${PYSITELIB}/blib2to3/pgen2/literals.py
${PYSITELIB}/blib2to3/pgen2/literals.pyc
-${PYSITELIB}/blib2to3/pgen2/literals.pyo
${PYSITELIB}/blib2to3/pgen2/parse.py
${PYSITELIB}/blib2to3/pgen2/parse.pyc
-${PYSITELIB}/blib2to3/pgen2/parse.pyo
${PYSITELIB}/blib2to3/pgen2/pgen.py
${PYSITELIB}/blib2to3/pgen2/pgen.pyc
-${PYSITELIB}/blib2to3/pgen2/pgen.pyo
${PYSITELIB}/blib2to3/pgen2/token.py
${PYSITELIB}/blib2to3/pgen2/token.pyc
-${PYSITELIB}/blib2to3/pgen2/token.pyo
${PYSITELIB}/blib2to3/pgen2/tokenize.py
${PYSITELIB}/blib2to3/pgen2/tokenize.pyc
-${PYSITELIB}/blib2to3/pgen2/tokenize.pyo
${PYSITELIB}/blib2to3/pygram.py
${PYSITELIB}/blib2to3/pygram.pyc
-${PYSITELIB}/blib2to3/pygram.pyo
${PYSITELIB}/blib2to3/pytree.py
${PYSITELIB}/blib2to3/pytree.pyc
-${PYSITELIB}/blib2to3/pytree.pyo
Home |
Main Index |
Thread Index |
Old Index