pkgsrc-WIP-changes archive

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

Added py-black. Although blackd is not working yet due to missing deps. No ALTERNATIVES yet.



Module Name:	pkgsrc-wip
Committed By:	Aleksej Lebedev <root%zta.lk@localhost>
Pushed By:	zhtw
Date:		Wed Nov 6 16:30:48 2019 +0100
Changeset:	0d58580d4cf513b647cc654d669dfb1db9c9d7af

Added Files:
	py-black/DESCR
	py-black/Makefile
	py-black/PLIST
	py-black/distinfo

Log Message:
Added py-black. Although blackd is not working yet due to missing deps. No ALTERNATIVES yet.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0d58580d4cf513b647cc654d669dfb1db9c9d7af

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-black/DESCR    |  4 ++++
 py-black/Makefile | 28 +++++++++++++++++++++++++++
 py-black/PLIST    | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 py-black/distinfo |  6 ++++++
 4 files changed, 95 insertions(+)

diffs:
diff --git a/py-black/DESCR b/py-black/DESCR
new file mode 100644
index 0000000000..ab3150f0f4
--- /dev/null
+++ b/py-black/DESCR
@@ -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 --git a/py-black/Makefile b/py-black/Makefile
new file mode 100644
index 0000000000..10241f765b
--- /dev/null
+++ b/py-black/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME=	black-19.10b0
+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
+
+WRKSRC=		${WRKDIR}/black-19.10b0
+USE_LANGUAGES=	# none
+
+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:../../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:../../textproc/py-regex
+# only for blackd:
+#DEPENDS+=	${PYPKGPREFIX}-aiohttp>=3.3.2:../../www/py-aiohttp
+#DEPENDS+=	${PYPKGPREFIX}-aiohttp-cors:../../www/py-aiohttp-cors # not in pkgsrc yet
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-black/PLIST b/py-black/PLIST
new file mode 100644
index 0000000000..08641c1d5b
--- /dev/null
+++ b/py-black/PLIST
@@ -0,0 +1,57 @@
+@comment $NetBSD$
+bin/black
+bin/blackd
+${PYSITELIB}/_black_version.pyo
+${PYSITELIB}/_black_version.pyc
+${PYSITELIB}/black.pyo
+${PYSITELIB}/black.pyc
+${PYSITELIB}/blackd.pyo
+${PYSITELIB}/blackd.pyc
+${PYSITELIB}/_black_version.py
+${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.py
+${PYSITELIB}/blackd.py
+${PYSITELIB}/blib2to3/Grammar.txt
+${PYSITELIB}/blib2to3/PatternGrammar.txt
+${PYSITELIB}/blib2to3/__init__.py
+${PYSITELIB}/blib2to3/__init__.pyo
+${PYSITELIB}/blib2to3/__init__.pyc
+${PYSITELIB}/blib2to3/pygram.pyo
+${PYSITELIB}/blib2to3/pygram.pyc
+${PYSITELIB}/blib2to3/pytree.pyo
+${PYSITELIB}/blib2to3/pytree.pyc
+${PYSITELIB}/blib2to3/pgen2/__init__.py
+${PYSITELIB}/blib2to3/pgen2/__init__.pyo
+${PYSITELIB}/blib2to3/pgen2/__init__.pyc
+${PYSITELIB}/blib2to3/pgen2/conv.pyo
+${PYSITELIB}/blib2to3/pgen2/conv.pyc
+${PYSITELIB}/blib2to3/pgen2/driver.pyo
+${PYSITELIB}/blib2to3/pgen2/driver.pyc
+${PYSITELIB}/blib2to3/pgen2/grammar.pyo
+${PYSITELIB}/blib2to3/pgen2/grammar.pyc
+${PYSITELIB}/blib2to3/pgen2/literals.pyo
+${PYSITELIB}/blib2to3/pgen2/literals.pyc
+${PYSITELIB}/blib2to3/pgen2/parse.pyo
+${PYSITELIB}/blib2to3/pgen2/parse.pyc
+${PYSITELIB}/blib2to3/pgen2/pgen.pyo
+${PYSITELIB}/blib2to3/pgen2/pgen.pyc
+${PYSITELIB}/blib2to3/pgen2/token.pyo
+${PYSITELIB}/blib2to3/pgen2/token.pyc
+${PYSITELIB}/blib2to3/pgen2/tokenize.pyo
+${PYSITELIB}/blib2to3/pgen2/tokenize.pyc
+${PYSITELIB}/blib2to3/pgen2/conv.py
+${PYSITELIB}/blib2to3/pgen2/driver.py
+${PYSITELIB}/blib2to3/pgen2/grammar.py
+${PYSITELIB}/blib2to3/pgen2/literals.py
+${PYSITELIB}/blib2to3/pgen2/parse.py
+${PYSITELIB}/blib2to3/pgen2/pgen.py
+${PYSITELIB}/blib2to3/pgen2/token.py
+${PYSITELIB}/blib2to3/pgen2/tokenize.py
+${PYSITELIB}/blib2to3/pygram.py
+${PYSITELIB}/blib2to3/pytree.py
diff --git a/py-black/distinfo b/py-black/distinfo
new file mode 100644
index 0000000000..286e470aec
--- /dev/null
+++ b/py-black/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (black-19.10b0.tar.gz) = 90c2b12e408cab149bc06c6e3d13f0d767aaa519
+RMD160 (black-19.10b0.tar.gz) = 5475694f3ba9879f6b911a681e2f5729c79493fd
+SHA512 (black-19.10b0.tar.gz) = abc6d2623ab50e59bed01fdb7a6ee7434c2d3e0f779a046d9141087aa6ef46b73b3aacc6bf84ac70b9384817bd2c707a3fa262811f11a2f61a99251d2b84dd02
+Size (black-19.10b0.tar.gz) = 1019740 bytes


Home | Main Index | Thread Index | Old Index