pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-docstyle



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jul 30 15:53:49 UTC 2017

Modified Files:
        pkgsrc/devel/py-docstyle: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-docstyle/Makefile \
    pkgsrc/devel/py-docstyle/PLIST pkgsrc/devel/py-docstyle/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-docstyle/Makefile
diff -u pkgsrc/devel/py-docstyle/Makefile:1.1 pkgsrc/devel/py-docstyle/Makefile:1.2
--- pkgsrc/devel/py-docstyle/Makefile:1.1       Tue Apr  4 13:31:37 2017
+++ pkgsrc/devel/py-docstyle/Makefile   Sun Jul 30 15:53:49 2017
@@ -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/pydocs
 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"
Index: pkgsrc/devel/py-docstyle/PLIST
diff -u pkgsrc/devel/py-docstyle/PLIST:1.1 pkgsrc/devel/py-docstyle/PLIST:1.2
--- pkgsrc/devel/py-docstyle/PLIST:1.1  Tue Apr  4 13:31:37 2017
+++ pkgsrc/devel/py-docstyle/PLIST      Sun Jul 30 15:53:49 2017
@@ -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
Index: pkgsrc/devel/py-docstyle/distinfo
diff -u pkgsrc/devel/py-docstyle/distinfo:1.1 pkgsrc/devel/py-docstyle/distinfo:1.2
--- pkgsrc/devel/py-docstyle/distinfo:1.1       Tue Apr  4 13:31:37 2017
+++ pkgsrc/devel/py-docstyle/distinfo   Sun Jul 30 15:53:49 2017
@@ -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



Home | Main Index | Thread Index | Old Index