Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2018 18:32:59 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464840 - in head/devel: . py-black
Message-ID:  <201803171832.w2HIWxtW099738@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Mar 17 18:32:59 2018
New Revision: 464840
URL: https://svnweb.freebsd.org/changeset/ports/464840

Log:
  New port: devel/py-black: Python code formatter
  
  PR:		226666
  Submitted by:	Neel Chauhan <neel@neelc.org>

Added:
  head/devel/py-black/
  head/devel/py-black/Makefile   (contents, props changed)
  head/devel/py-black/distinfo   (contents, props changed)
  head/devel/py-black/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Mar 17 18:26:04 2018	(r464839)
+++ head/devel/Makefile	Sat Mar 17 18:32:59 2018	(r464840)
@@ -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

Added: head/devel/py-black/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-black/Makefile	Sat Mar 17 18:32:59 2018	(r464840)
@@ -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>

Added: head/devel/py-black/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-black/distinfo	Sat Mar 17 18:32:59 2018	(r464840)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1521309658
+SHA256 (black-18.3a1.tar.gz) = c9662827051587b732ecb4994a268f218eda896137b3ea6b8af8510682438b79
+SIZE (black-18.3a1.tar.gz) = 59772

Added: head/devel/py-black/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-black/pkg-descr	Sat Mar 17 18:32:59 2018	(r464840)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803171832.w2HIWxtW099738>