New port: textproc/py-yapf

A formatter for Python code.
WWW: https://github.com/google/yapf
This commit is contained in:
Antoine Brodin 2017-06-03 19:44:31 +00:00
parent e9e2f0b083
commit 772cdf2367
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442518
4 changed files with 27 additions and 0 deletions

View file

@ -1361,6 +1361,7 @@
SUBDIR += py-xlutils
SUBDIR += py-xlwriter
SUBDIR += py-xlwt
SUBDIR += py-yapf
SUBDIR += py-zope.app.i18n
SUBDIR += py-zope.app.locales
SUBDIR += py-zope.i18nmessageid

20
textproc/py-yapf/Makefile Normal file
View file

@ -0,0 +1,20 @@
# $FreeBSD$
PORTNAME= yapf
PORTVERSION= 0.16.2
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Formatter for Python code
LICENSE= APACHE20
NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP}
TEST_TARGET= test
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1496501208
SHA256 (yapf-0.16.2.tar.gz) = 96732f1a0bc1b2bc3398ead271cd2409a59f45febc83360cf1ad56ff8c492036
SIZE (yapf-0.16.2.tar.gz) = 115357

View file

@ -0,0 +1,3 @@
A formatter for Python code.
WWW: https://github.com/google/yapf