New port: devel/py-black: Python code formatter

PR:		226666
Submitted by:	Neel Chauhan <neel@neelc.org>
This commit is contained in:
Yuri Victorovich 2018-03-17 18:32:59 +00:00
parent fdbaab1adc
commit e6a7950fdd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464840
4 changed files with 33 additions and 0 deletions

View File

@ -4297,6 +4297,7 @@
SUBDIR += py-bison
SUBDIR += py-bitarray
SUBDIR += py-bitstring
SUBDIR += py-black
SUBDIR += py-blessings
SUBDIR += py-blinker
SUBDIR += py-blist

23
devel/py-black/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= black
DISTVERSION= 18.3a1
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= neel@neelc.org
COMMENT= Python code formatter
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pypandoc>0:textproc/py-pypandoc@${PY_FLAVOR} # pypandoc is optional, but recommended
USES= python:3.6+
USE_PYTHON= distutils autoplist concurrent
NO_ARCH= yes
.include <bsd.port.mk>

3
devel/py-black/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1521309658
SHA256 (black-18.3a1.tar.gz) = c9662827051587b732ecb4994a268f218eda896137b3ea6b8af8510682438b79
SIZE (black-18.3a1.tar.gz) = 59772

6
devel/py-black/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Black is the uncompromising Python code formatter. By using it, you agree to
cease 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.
WWW: https://github.com/ambv/black