pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-black py-black: import version 20.8b1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74c46e06d695
branches:  trunk
changeset: 439775:74c46e06d695
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Mon Sep 28 23:55:26 2020 +0000

description:
py-black: import version 20.8b1

By using Black, you agree to cede control over minutiae of hand-formatting. In
return, Black gives you speed, determinism, and freedom from pycodestyle nagging
about formatting. You will save time and mental energy for more important
matters.

diffstat:

 textproc/py-black/ALTERNATIVES |   3 +
 textproc/py-black/DESCR        |   4 ++
 textproc/py-black/Makefile     |  35 +++++++++++++++++++++
 textproc/py-black/PLIST        |  68 ++++++++++++++++++++++++++++++++++++++++++
 textproc/py-black/distinfo     |   6 +++
 5 files changed, 116 insertions(+), 0 deletions(-)

diffs (136 lines):

diff -r 461c31734b0d -r 74c46e06d695 textproc/py-black/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-black/ALTERNATIVES    Mon Sep 28 23:55:26 2020 +0000
@@ -0,0 +1,3 @@
+bin/black @PREFIX@/bin/black-@PYVERSSUFFIX@
+bin/black-primer @PREFIX@/bin/black-primer-@PYVERSSUFFIX@
+bin/blackd @PREFIX@/bin/blackd-@PYVERSSUFFIX@
diff -r 461c31734b0d -r 74c46e06d695 textproc/py-black/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-black/DESCR   Mon Sep 28 23:55:26 2020 +0000
@@ -0,0 +1,4 @@
+By using Black, you agree to cede control over minutiae of hand-formatting. In
+return, Black gives you speed, determinism, and freedom from pycodestyle nagging
+about formatting. You will save time and mental energy for more important
+matters.
diff -r 461c31734b0d -r 74c46e06d695 textproc/py-black/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-black/Makefile        Mon Sep 28 23:55:26 2020 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2020/09/28 23:55:26 khorben Exp $
+
+DISTNAME=      black-20.8b1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=b/black/}
+
+MAINTAINER=    root%zta.lk@localhost
+HOMEPAGE=      https://black.readthedocs.io/
+COMMENT=       Uncompromising Python code formatter
+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
+# only for blackd:
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.3.2:../../www/py-aiohttp
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp-cors-[0-9]*:../../www/py-aiohttp-cors
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-aiohttp
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && for b in black black-primer blackd; \
+          do ${MV} $$b $$b-${PYVERSSUFFIX}; \
+        done
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 461c31734b0d -r 74c46e06d695 textproc/py-black/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-black/PLIST   Mon Sep 28 23:55:26 2020 +0000
@@ -0,0 +1,68 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/28 23:55:26 khorben 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
+${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/__init__.py
+${PYSITELIB}/black/__init__.pyc
+${PYSITELIB}/black/__init__.pyo
+${PYSITELIB}/black/__main__.py
+${PYSITELIB}/black/__main__.pyc
+${PYSITELIB}/black/__main__.pyo
+${PYSITELIB}/black/py.typed
+${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}/blackd/__init__.py
+${PYSITELIB}/blackd/__init__.pyc
+${PYSITELIB}/blackd/__init__.pyo
+${PYSITELIB}/blib2to3/Grammar.txt
+${PYSITELIB}/blib2to3/PatternGrammar.txt
+${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
diff -r 461c31734b0d -r 74c46e06d695 textproc/py-black/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-black/distinfo        Mon Sep 28 23:55:26 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/09/28 23:55:26 khorben Exp $
+
+SHA1 (black-20.8b1.tar.gz) = 65462f991edd03e8e7f4f26364d2ace6757b17b8
+RMD160 (black-20.8b1.tar.gz) = 63de27671405a15165325731e0b74e4bfe1be80d
+SHA512 (black-20.8b1.tar.gz) = f047c2a1ce759a8e19eed2e1869752bb8a63bf17a554aff5d9e834a48cd390b23918b78e01d5c36c0fb7599439d7e422847bde504ff698d53df5c5939a8870d2
+Size (black-20.8b1.tar.gz) = 1096433 bytes



Home | Main Index | Thread Index | Old Index