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 Feb 20 17:59:00 UTC 2023
Modified Files:
pkgsrc/textproc/py-black: Makefile distinfo
Log Message:
py-black: updated to 23.1.0
23.1.0
Highlights
This is the first release of 2023, and following our stability policy, it comes with a number of improvements to our stable style, including improvements to empty line handling, removal of redundant
parentheses in several contexts, and output that highlights implicitly concatenated strings better.
There are also many changes to the preview style; try out black --preview and give us feedback to help us set the stable style for next year.
In addition to style changes, Black now automatically infers the supported Python versions from your pyproject.toml file, removing the need to set Black’s target versions separately.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.11 -r1.12 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.12 pkgsrc/textproc/py-black/Makefile:1.13
--- pkgsrc/textproc/py-black/Makefile:1.12 Mon Dec 12 10:07:36 2022
+++ pkgsrc/textproc/py-black/Makefile Mon Feb 20 17:59:00 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2022/12/12 10:07:36 adam Exp $
+# $NetBSD: Makefile,v 1.13 2023/02/20 17:59:00 adam Exp $
-DISTNAME= black-22.12.0
+DISTNAME= black-23.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/black/}
@@ -10,25 +10,28 @@ HOMEPAGE= https://black.readthedocs.io/
COMMENT= Uncompromising Python code formatter
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
+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
DEPENDS+= ${PYPKGPREFIX}-pathspec>=0.9.0:../../devel/py-pathspec
DEPENDS+= ${PYPKGPREFIX}-platformdirs>=2:../../misc/py-platformdirs
-DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
# only needed for blackd:
DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.7.4:../../www/py-aiohttp
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+USE_LANGUAGES= # none
+
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 310
+.if ${_PYTHON_VERSION} != 311
+DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
+.endif
+.if ${_PYTHON_VERSION} == 38 || ${_PYTHON_VERSION} == 39
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10.0.0:../../devel/py-typing-extensions
.endif
Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.11 pkgsrc/textproc/py-black/distinfo:1.12
--- pkgsrc/textproc/py-black/distinfo:1.11 Mon Dec 12 10:07:36 2022
+++ pkgsrc/textproc/py-black/distinfo Mon Feb 20 17:59:00 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2022/12/12 10:07:36 adam Exp $
+$NetBSD: distinfo,v 1.12 2023/02/20 17:59:00 adam Exp $
-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
+BLAKE2s (black-23.1.0.tar.gz) = bc59511a5a2caa2c85b63a4e740a1d0cafb7f4544fcc1265ec68856a63f85f92
+SHA512 (black-23.1.0.tar.gz) = 8a8cc6c083108fa5ced41e24569c05bea781ae970ef0384a6c5f69d465a75ff9afb5ee6249faa16e6adb4b50f821da70f8cd7d3c265b453ca1dd54a31dea1ee9
+Size (black-23.1.0.tar.gz) = 568619 bytes
Home |
Main Index |
Thread Index |
Old Index