- Add py-flake8-docstrings, py3-flake8-docstrings

Extension for flake8 which uses pydocstyle to check docstrings

WWW: https://pypi.python.org/pypi/flake8-docstrings
This commit is contained in:
Dmitry Marakasov 2017-02-05 14:27:21 +00:00
parent 0f3defbaa7
commit 6d93e09db3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433411
5 changed files with 44 additions and 0 deletions

View file

@ -4243,6 +4243,7 @@
SUBDIR += py-five.localsitemanager
SUBDIR += py-flake8
SUBDIR += py-flake8-builtins
SUBDIR += py-flake8-docstrings
SUBDIR += py-flake8-import-order
SUBDIR += py-flake8-polyfill
SUBDIR += py-flake8-quotes
@ -4873,6 +4874,7 @@
SUBDIR += py3-dbus
SUBDIR += py3-flake8
SUBDIR += py3-flake8-builtins
SUBDIR += py3-flake8-docstrings
SUBDIR += py3-flake8-import-order
SUBDIR += py3-flake8-polyfill
SUBDIR += py3-flake8-quotes

View file

@ -0,0 +1,24 @@
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= flake8-docstrings
PORTVERSION= 1.0.3
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Extension for flake8 which uses pydocstyle to check docstrings
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8 \
${PYTHON_PKGNAMEPREFIX}flake8-polyfill>=0:devel/py-flake8-polyfill \
${PYTHON_PKGNAMEPREFIX}pydocstyle>=0:devel/py-pydocstyle
USES?= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1486303498
SHA256 (flake8-docstrings-1.0.3.tar.gz) = 5783a90476e4521b2f9815b5ce734adfd1046071e0238d1df2670354ae3153ae
SIZE (flake8-docstrings-1.0.3.tar.gz) = 4532

View file

@ -0,0 +1,3 @@
Extension for flake8 which uses pydocstyle to check docstrings
WWW: https://pypi.python.org/pypi/flake8-docstrings

View file

@ -0,0 +1,12 @@
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
MASTERDIR= ${.CURDIR}/../py-flake8-docstrings
RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py3-flake8 \
${PYTHON_PKGNAMEPREFIX}flake8-polyfill>=0:devel/py3-flake8-polyfill \
${PYTHON_PKGNAMEPREFIX}pydocstyle>=0:devel/py3-pydocstyle
USES= python:3
.include "${MASTERDIR}/Makefile"