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:           Wed Dec  5 15:52:42 UTC 2018

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

Log Message:
py-docstyle: updated to 3.0.0

3.0.0:

Major Updates
Support for Python 3.3 has been dropped
Added support for Python 3.7

New features
Violations are now reported on the line where the docstring starts, not the line of the def/class
Updated description of pep257 and numpy conventions
__all__ parsing is now done on a best-effort basis - if __all__ can't be statically determined, it will be ignored

Bug Fixes
Fixed a false-positive recognition of section names causing D405 to be reported
Fixed a bug where functions that don't end with a newline will sometimes raise an exception


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-docstyle/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-docstyle/PLIST
cvs rdiff -u -r1.3 -r1.4 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.5 pkgsrc/devel/py-docstyle/Makefile:1.6
--- pkgsrc/devel/py-docstyle/Makefile:1.5       Tue May 15 15:56:16 2018
+++ pkgsrc/devel/py-docstyle/Makefile   Wed Dec  5 15:52:42 2018
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2018/05/15 15:56:16 minskim Exp $
+# $NetBSD: Makefile,v 1.6 2018/12/05 15:52:42 adam Exp $
 
-DISTNAME=      pydocstyle-2.1.1
+DISTNAME=      pydocstyle-3.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pydocstyle/}
 
@@ -14,6 +13,11 @@ LICENSE=     mit
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 DEPENDS+=      ${PYPKGPREFIX}-snowballstemmer-[0-9]*:../../textproc/py-snowballstemmer
 
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
+.endif
+
 post-extract:
        ${CHMOD} go-w ${WRKSRC}/src/pydocstyle/data/*.txt
 

Index: pkgsrc/devel/py-docstyle/PLIST
diff -u pkgsrc/devel/py-docstyle/PLIST:1.2 pkgsrc/devel/py-docstyle/PLIST:1.3
--- pkgsrc/devel/py-docstyle/PLIST:1.2  Sun Jul 30 15:53:49 2017
+++ pkgsrc/devel/py-docstyle/PLIST      Wed Dec  5 15:52:42 2018
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2017/07/30 15:53:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/12/05 15:52:42 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}/pbr.json
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/pydocstyle/__init__.py

Index: pkgsrc/devel/py-docstyle/distinfo
diff -u pkgsrc/devel/py-docstyle/distinfo:1.3 pkgsrc/devel/py-docstyle/distinfo:1.4
--- pkgsrc/devel/py-docstyle/distinfo:1.3       Thu Oct 12 08:34:25 2017
+++ pkgsrc/devel/py-docstyle/distinfo   Wed Dec  5 15:52:42 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2017/10/12 08:34:25 adam Exp $
+$NetBSD: distinfo,v 1.4 2018/12/05 15:52:42 adam Exp $
 
-SHA1 (pydocstyle-2.1.1.tar.gz) = e5a07f344eaebc04bd784ea57795320b701e868b
-RMD160 (pydocstyle-2.1.1.tar.gz) = 83dd3e4a3bf190da8864a83bf5f1832ca44bea32
-SHA512 (pydocstyle-2.1.1.tar.gz) = 815c604c81e6cf7824dd29af24797534e078860d4bbbaa35962beebc7284fe27e2c4238fa806a57225680f0d96c2bef544e0243a98efdc61ac59253aba7d5e5c
-Size (pydocstyle-2.1.1.tar.gz) = 28542 bytes
+SHA1 (pydocstyle-3.0.0.tar.gz) = b37a1645c5b45694162d94ea69180079f29aac2c
+RMD160 (pydocstyle-3.0.0.tar.gz) = 2d42de8801db344734bd0706ace23509376e7430
+SHA512 (pydocstyle-3.0.0.tar.gz) = ec2313e26dd988d35c99563344befc7b538f1d5945d1b1ce767f77851ff291b713aef423bc3d57a29f59d3198f14a6c5c7d217e5989534a1b877564634edd548
+Size (pydocstyle-3.0.0.tar.gz) = 29627 bytes



Home | Main Index | Thread Index | Old Index