svn commit: r433411 - in head/devel: . py-flake8-docstrings py3-flake8-docstrings

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Feb 5 14:27:23 UTC 2017


Author: amdmi3
Date: Sun Feb  5 14:27:21 2017
New Revision: 433411
URL: https://svnweb.freebsd.org/changeset/ports/433411

Log:
  - Add py-flake8-docstrings, py3-flake8-docstrings
  
  Extension for flake8 which uses pydocstyle to check docstrings
  
  WWW: https://pypi.python.org/pypi/flake8-docstrings

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Feb  5 14:25:02 2017	(r433410)
+++ head/devel/Makefile	Sun Feb  5 14:27:21 2017	(r433411)
@@ -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

Added: head/devel/py-flake8-docstrings/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-flake8-docstrings/Makefile	Sun Feb  5 14:27:21 2017	(r433411)
@@ -0,0 +1,24 @@
+# Created by: Dmitry Marakasov <amdmi3 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	flake8-docstrings
+PORTVERSION=	1.0.3
+CATEGORIES=	devel
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	amdmi3 at 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>

Added: head/devel/py-flake8-docstrings/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-flake8-docstrings/distinfo	Sun Feb  5 14:27:21 2017	(r433411)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1486303498
+SHA256 (flake8-docstrings-1.0.3.tar.gz) = 5783a90476e4521b2f9815b5ce734adfd1046071e0238d1df2670354ae3153ae
+SIZE (flake8-docstrings-1.0.3.tar.gz) = 4532

Added: head/devel/py-flake8-docstrings/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-flake8-docstrings/pkg-descr	Sun Feb  5 14:27:21 2017	(r433411)
@@ -0,0 +1,3 @@
+Extension for flake8 which uses pydocstyle to check docstrings
+
+WWW: https://pypi.python.org/pypi/flake8-docstrings

Added: head/devel/py3-flake8-docstrings/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py3-flake8-docstrings/Makefile	Sun Feb  5 14:27:21 2017	(r433411)
@@ -0,0 +1,12 @@
+# Created by: Dmitry Marakasov <amdmi3 at 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"


More information about the svn-ports-all mailing list