diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-black/Makefile | 34 | ||||
-rw-r--r-- | textproc/py-black/PLIST | 72 | ||||
-rw-r--r-- | textproc/py-black/distinfo | 8 |
3 files changed, 90 insertions, 24 deletions
diff --git a/textproc/py-black/Makefile b/textproc/py-black/Makefile index c398269ac00..86a0f261fee 100644 --- a/textproc/py-black/Makefile +++ b/textproc/py-black/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:23 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2022/01/11 09:13:29 adam Exp $ -DISTNAME= black-20.8b1 +DISTNAME= black-21.12b0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 CATEGORIES= textproc devel python MASTER_SITES= ${MASTER_SITE_PYPI:=b/black/} @@ -14,25 +13,28 @@ LICENSE= mit USE_LANGUAGES= # none BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm -DEPENDS+= ${PYPKGPREFIX}-click>=6.5:../../devel/py-click -DEPENDS+= ${PYPKGPREFIX}-pathspec>=0.6<1:../../devel/py-pathspec -DEPENDS+= ${PYPKGPREFIX}-attrs>=18.1.0:../../devel/py-attrs -DEPENDS+= ${PYPKGPREFIX}-appdirs-[0-9]*:../../devel/py-appdirs -DEPENDS+= ${PYPKGPREFIX}-toml>=0.9.4:../../textproc/py-toml -DEPENDS+= ${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast -DEPENDS+= ${PYPKGPREFIX}-regex-[0-9]*:../../textproc/py-regex +DEPENDS+= ${PYPKGPREFIX}-click>=7.1.2:../../devel/py-click +DEPENDS+= ${PYPKGPREFIX}-mypy_extensions>=0.4.3:../../lang/py-mypy_extensions +DEPENDS+= ${PYPKGPREFIX}-pathspec>=0.9.0:../../devel/py-pathspec +DEPENDS+= ${PYPKGPREFIX}-platformdirs>=2:../../misc/py-platformdirs +DEPENDS+= ${PYPKGPREFIX}-tomli>=0.2.6:../../textproc/py-tomli +DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10.0.2:../../devel/py-typing-extensions # only for blackd: -DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.3.2:../../www/py-aiohttp -DEPENDS+= ${PYPKGPREFIX}-aiohttp-cors-[0-9]*:../../www/py-aiohttp-cors +DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.7.4:../../www/py-aiohttp -PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-aiohttp +PYTHON_VERSIONS_INCOMPATIBLE= 27 +.include "../../lang/python/pyversion.mk" +.if ${_PYTHON_VERSION} < 38 +DEPENDS+= ${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast +.endif USE_PKG_RESOURCES= yes post-install: - cd ${DESTDIR}${PREFIX}/bin && for b in black black-primer blackd; \ - do ${MV} $$b $$b-${PYVERSSUFFIX}; \ - done +.for bin in black black-primer blackd + cd ${DESTDIR}${PREFIX}/bin && \ + ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} +.endfor .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-black/PLIST b/textproc/py-black/PLIST index 9bc7877bfe5..2ab79b91a2a 100644 --- a/textproc/py-black/PLIST +++ b/textproc/py-black/PLIST @@ -1,10 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1 2020/09/28 23:55:26 khorben Exp $ +@comment $NetBSD: PLIST,v 1.2 2022/01/11 09:13:29 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,22 +9,89 @@ ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt ${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 ${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}/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 +${PYSITELIB}/blackd/middlewares.py +${PYSITELIB}/blackd/middlewares.pyc +${PYSITELIB}/blackd/middlewares.pyo ${PYSITELIB}/blib2to3/Grammar.txt ${PYSITELIB}/blib2to3/PatternGrammar.txt ${PYSITELIB}/blib2to3/__init__.py diff --git a/textproc/py-black/distinfo b/textproc/py-black/distinfo index 064b6c00e95..9543af05bd7 100644 --- a/textproc/py-black/distinfo +++ b/textproc/py-black/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2021/10/26 11:23:00 nia Exp $ +$NetBSD: distinfo,v 1.4 2022/01/11 09:13:29 adam Exp $ -BLAKE2s (black-20.8b1.tar.gz) = 320b6318073f5cbe789d32184c272b1b81197523aef24a73996171bc988a4397 -SHA512 (black-20.8b1.tar.gz) = f047c2a1ce759a8e19eed2e1869752bb8a63bf17a554aff5d9e834a48cd390b23918b78e01d5c36c0fb7599439d7e422847bde504ff698d53df5c5939a8870d2 -Size (black-20.8b1.tar.gz) = 1096433 bytes +BLAKE2s (black-21.12b0.tar.gz) = d2b2d65a85f1104ef0ecfb259cbfe8e85f6552b1915a2b1f10476f3c5d194c70 +SHA512 (black-21.12b0.tar.gz) = 1063644b17e56650b03fa515b3f6bd05762d66a43359dbe587279bf9818e73c1ce48421984389fcd1764432dbb36f90fc1cb6bcd528f81289afd0ddf330b7aac +Size (black-21.12b0.tar.gz) = 594232 bytes |