diff options
author | wiz <wiz@pkgsrc.org> | 2017-04-04 13:31:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-04-04 13:31:37 +0000 |
commit | 123ccff7ccf77d5df21a6a416463aeb7caa7aac7 (patch) | |
tree | 82c2880a4e00efe2ac5bd98bde4a19aad31af283 /devel/py-docstyle | |
parent | 4a0cc9d3de7751e6787976787b5ae6f06ebd9741 (diff) | |
download | pkgsrc-123ccff7ccf77d5df21a6a416463aeb7caa7aac7.tar.gz |
Import py-docstyle-1.1.1 as devel/py-docstyle.
pydocstyle is a static analysis tool for checking compliance with
Python docstring conventions.
pydocstyle supports most of PEP 257 out of the box, but it should
not be considered a reference implementation.
Diffstat (limited to 'devel/py-docstyle')
-rw-r--r-- | devel/py-docstyle/ALTERNATIVES | 2 | ||||
-rw-r--r-- | devel/py-docstyle/DESCR | 5 | ||||
-rw-r--r-- | devel/py-docstyle/Makefile | 19 | ||||
-rw-r--r-- | devel/py-docstyle/PLIST | 32 | ||||
-rw-r--r-- | devel/py-docstyle/distinfo | 6 |
5 files changed, 64 insertions, 0 deletions
diff --git a/devel/py-docstyle/ALTERNATIVES b/devel/py-docstyle/ALTERNATIVES new file mode 100644 index 00000000000..d0429f5c1d9 --- /dev/null +++ b/devel/py-docstyle/ALTERNATIVES @@ -0,0 +1,2 @@ +bin/pep257 @PREFIX@/bin/pep257-@PYVERSSUFFIX@ +bin/pydocstyle @PREFIX@/bin/pydocstyle-@PYVERSSUFFIX@ diff --git a/devel/py-docstyle/DESCR b/devel/py-docstyle/DESCR new file mode 100644 index 00000000000..4daeaf8df36 --- /dev/null +++ b/devel/py-docstyle/DESCR @@ -0,0 +1,5 @@ +pydocstyle is a static analysis tool for checking compliance with +Python docstring conventions. + +pydocstyle supports most of PEP 257 out of the box, but it should +not be considered a reference implementation. diff --git a/devel/py-docstyle/Makefile b/devel/py-docstyle/Makefile new file mode 100644 index 00000000000..ac745871bf4 --- /dev/null +++ b/devel/py-docstyle/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2017/04/04 13:31:37 wiz Exp $ + +DISTNAME= pydocstyle-1.1.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydocstyle/} +EXTRACT_SUFX= .zip + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/PyCQA/pydocstyle +COMMENT= Python docstring style checker +LICENSE= mit + +post-install: + cd ${DESTDIR}${PREFIX}/bin && ${MV} pep257 pep257-${PYVERSSUFFIX} || ${TRUE} + cd ${DESTDIR}${PREFIX}/bin && ${MV} pydocstyle pydocstyle-${PYVERSSUFFIX} || ${TRUE} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-docstyle/PLIST b/devel/py-docstyle/PLIST new file mode 100644 index 00000000000..c0a34c90e5b --- /dev/null +++ b/devel/py-docstyle/PLIST @@ -0,0 +1,32 @@ +@comment $NetBSD: PLIST,v 1.1 2017/04/04 13:31:37 wiz Exp $ +bin/pep257-${PYVERSSUFFIX} +bin/pydocstyle-${PYVERSSUFFIX} +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/pydocstyle/__init__.py +${PYSITELIB}/pydocstyle/__main__.py +${PYSITELIB}/pydocstyle/__init__.pyo +${PYSITELIB}/pydocstyle/__init__.pyc +${PYSITELIB}/pydocstyle/__main__.pyo +${PYSITELIB}/pydocstyle/__main__.pyc +${PYSITELIB}/pydocstyle/checker.pyo +${PYSITELIB}/pydocstyle/checker.pyc +${PYSITELIB}/pydocstyle/cli.pyo +${PYSITELIB}/pydocstyle/cli.pyc +${PYSITELIB}/pydocstyle/config.pyo +${PYSITELIB}/pydocstyle/config.pyc +${PYSITELIB}/pydocstyle/parser.pyo +${PYSITELIB}/pydocstyle/parser.pyc +${PYSITELIB}/pydocstyle/utils.pyo +${PYSITELIB}/pydocstyle/utils.pyc +${PYSITELIB}/pydocstyle/violations.pyo +${PYSITELIB}/pydocstyle/violations.pyc +${PYSITELIB}/pydocstyle/checker.py +${PYSITELIB}/pydocstyle/cli.py +${PYSITELIB}/pydocstyle/config.py +${PYSITELIB}/pydocstyle/parser.py +${PYSITELIB}/pydocstyle/utils.py +${PYSITELIB}/pydocstyle/violations.py diff --git a/devel/py-docstyle/distinfo b/devel/py-docstyle/distinfo new file mode 100644 index 00000000000..3c34c5c295e --- /dev/null +++ b/devel/py-docstyle/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/04/04 13:31:37 wiz Exp $ + +SHA1 (pydocstyle-1.1.1.zip) = 5a714b8ea97d6ca5969b9437f9bb997bcd3e64b3 +RMD160 (pydocstyle-1.1.1.zip) = f5b748286a4b95b87865d0c2034226b60858e857 +SHA512 (pydocstyle-1.1.1.zip) = f8b9a2f5706c40ad34752812897eaebd4fd0dbb06715582fdc977c1515d59c22bd50dee0f35565b96a19a3efa21ba90fc46fdc5ec179889d49cec93dfc18c588 +Size (pydocstyle-1.1.1.zip) = 26570 bytes |