summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-07-30 15:53:49 +0000
committeradam <adam@pkgsrc.org>2017-07-30 15:53:49 +0000
commit777a87f7c59357b0f45fa75d52b7bf791fe0aabc (patch)
treeb9be8efada5e410415f9c6a12e4f5da3809afa3a
parent8fb47e8d5a98a257e7edc3bd9e9ea57aab49941b (diff)
downloadpkgsrc-777a87f7c59357b0f45fa75d52b7bf791fe0aabc.tar.gz
2.0.0:
Major Updates * Support for numpy conventions verification has been added. * Support for Python 2.6 has been dropped. * Support for PyPy3 has been temporarily dropped, until it will be equivalent to CPython 3.3+ and supported by pip. * Support for the pep257 console script has been dropped. Only the pydocstyle console script should be used. * Errors are now printed to stdout instead of stderr. New Features * Decorator-based skipping via --ignore-decorators has been added. * Support for using pycodestyle style wildcards has been added. * Superfluous opening quotes are now reported as part of D300. * Fixed a false-positive recognition of D410 and added D412. * Added --config=<path> flag to override the normal config file discovery and choose a specific config file. * Support for specifying error codes with partial prefix has been added, e.g., --select=D101,D2. * All configuration file can now have the .ini extension. * Added better imperative mood checks using third party stemmer. Bug Fixes * Made parser more robust to bad source files * Modules are now considered private if their name starts with a single underscore. This is a bugfix where “public module” (D100) was reported regardless of module name. * Removed error when __all__ is a list. * Fixed a bug where the @ sign was used as a matrix multiplication operator in Python 3.5, but was considered a decorator by the parser
-rw-r--r--devel/py-docstyle/Makefile11
-rw-r--r--devel/py-docstyle/PLIST39
-rw-r--r--devel/py-docstyle/distinfo10
3 files changed, 35 insertions, 25 deletions
diff --git a/devel/py-docstyle/Makefile b/devel/py-docstyle/Makefile
index ac745871bf4..a6feead9418 100644
--- a/devel/py-docstyle/Makefile
+++ b/devel/py-docstyle/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2017/04/04 13:31:37 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2017/07/30 15:53:49 adam Exp $
-DISTNAME= pydocstyle-1.1.1
+DISTNAME= pydocstyle-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydocstyle/}
@@ -11,8 +11,13 @@ HOMEPAGE= http://github.com/PyCQA/pydocstyle
COMMENT= Python docstring style checker
LICENSE= mit
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-snowballstemmer-[0-9]*:../../textproc/py-snowballstemmer
+
+post-extract:
+ ${CHMOD} go-w ${WRKSRC}/src/pydocstyle/data/*.txt
+
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"
diff --git a/devel/py-docstyle/PLIST b/devel/py-docstyle/PLIST
index c0a34c90e5b..a19b8f33f44 100644
--- a/devel/py-docstyle/PLIST
+++ b/devel/py-docstyle/PLIST
@@ -1,32 +1,37 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/04 13:31:37 wiz Exp $
-bin/pep257-${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2017/07/30 15:53:49 adam Exp $
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}/requires.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/__init__.pyo
+${PYSITELIB}/pydocstyle/__main__.py
${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/__main__.pyo
${PYSITELIB}/pydocstyle/checker.py
+${PYSITELIB}/pydocstyle/checker.pyc
+${PYSITELIB}/pydocstyle/checker.pyo
${PYSITELIB}/pydocstyle/cli.py
+${PYSITELIB}/pydocstyle/cli.pyc
+${PYSITELIB}/pydocstyle/cli.pyo
${PYSITELIB}/pydocstyle/config.py
+${PYSITELIB}/pydocstyle/config.pyc
+${PYSITELIB}/pydocstyle/config.pyo
+${PYSITELIB}/pydocstyle/data/imperatives.txt
+${PYSITELIB}/pydocstyle/data/imperatives_blacklist.txt
${PYSITELIB}/pydocstyle/parser.py
+${PYSITELIB}/pydocstyle/parser.pyc
+${PYSITELIB}/pydocstyle/parser.pyo
${PYSITELIB}/pydocstyle/utils.py
+${PYSITELIB}/pydocstyle/utils.pyc
+${PYSITELIB}/pydocstyle/utils.pyo
${PYSITELIB}/pydocstyle/violations.py
+${PYSITELIB}/pydocstyle/violations.pyc
+${PYSITELIB}/pydocstyle/violations.pyo
+${PYSITELIB}/pydocstyle/wordlists.py
+${PYSITELIB}/pydocstyle/wordlists.pyc
+${PYSITELIB}/pydocstyle/wordlists.pyo
diff --git a/devel/py-docstyle/distinfo b/devel/py-docstyle/distinfo
index 3c34c5c295e..a0bb818b521 100644
--- a/devel/py-docstyle/distinfo
+++ b/devel/py-docstyle/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/04/04 13:31:37 wiz Exp $
+$NetBSD: distinfo,v 1.2 2017/07/30 15:53:49 adam 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
+SHA1 (pydocstyle-2.0.0.zip) = 95eced658be8891eb1192e32f49283b4fecda47d
+RMD160 (pydocstyle-2.0.0.zip) = a7160186e96cc4caebf2b120791fc67f81cfb436
+SHA512 (pydocstyle-2.0.0.zip) = e0d7b4547135eb2a43f0f303eef91a1cfb41cdd868ac2f8b8583c74a6697a3bf3442a9b641b7f7d2ffea9fec4219185e06e4cae2df37873d0f936fe3a9915662
+Size (pydocstyle-2.0.0.zip) = 33343 bytes