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: khorben
Date: Mon Sep 28 23:55:26 UTC 2020
Added Files:
pkgsrc/textproc/py-black: ALTERNATIVES DESCR Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-black/ALTERNATIVES \
pkgsrc/textproc/py-black/DESCR pkgsrc/textproc/py-black/Makefile \
pkgsrc/textproc/py-black/PLIST pkgsrc/textproc/py-black/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/textproc/py-black/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-black/ALTERNATIVES:1.1
--- /dev/null Mon Sep 28 23:55:26 2020
+++ pkgsrc/textproc/py-black/ALTERNATIVES Mon Sep 28 23:55:26 2020
@@ -0,0 +1,3 @@
+bin/black @PREFIX@/bin/black-@PYVERSSUFFIX@
+bin/black-primer @PREFIX@/bin/black-primer-@PYVERSSUFFIX@
+bin/blackd @PREFIX@/bin/blackd-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-black/DESCR
diff -u /dev/null pkgsrc/textproc/py-black/DESCR:1.1
--- /dev/null Mon Sep 28 23:55:26 2020
+++ pkgsrc/textproc/py-black/DESCR Mon Sep 28 23:55:26 2020
@@ -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.
Index: pkgsrc/textproc/py-black/Makefile
diff -u /dev/null pkgsrc/textproc/py-black/Makefile:1.1
--- /dev/null Mon Sep 28 23:55:26 2020
+++ pkgsrc/textproc/py-black/Makefile Mon Sep 28 23:55:26 2020
@@ -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"
Index: pkgsrc/textproc/py-black/PLIST
diff -u /dev/null pkgsrc/textproc/py-black/PLIST:1.1
--- /dev/null Mon Sep 28 23:55:26 2020
+++ pkgsrc/textproc/py-black/PLIST Mon Sep 28 23:55:26 2020
@@ -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
Index: pkgsrc/textproc/py-black/distinfo
diff -u /dev/null pkgsrc/textproc/py-black/distinfo:1.1
--- /dev/null Mon Sep 28 23:55:26 2020
+++ pkgsrc/textproc/py-black/distinfo Mon Sep 28 23:55:26 2020
@@ -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