pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-docstyle py-docstyle: updated to 3.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/10df13df4d37
branches: trunk
changeset: 388385:10df13df4d37
user: adam <adam%pkgsrc.org@localhost>
date: Wed Dec 05 15:52:42 2018 +0000
description:
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
diffstat:
devel/py-docstyle/Makefile | 10 +++++++---
devel/py-docstyle/PLIST | 3 ++-
devel/py-docstyle/distinfo | 10 +++++-----
3 files changed, 14 insertions(+), 9 deletions(-)
diffs (56 lines):
diff -r 3dc3308ac2fa -r 10df13df4d37 devel/py-docstyle/Makefile
--- a/devel/py-docstyle/Makefile Wed Dec 05 15:51:31 2018 +0000
+++ b/devel/py-docstyle/Makefile Wed Dec 05 15:52:42 2018 +0000
@@ -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 @@
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
diff -r 3dc3308ac2fa -r 10df13df4d37 devel/py-docstyle/PLIST
--- a/devel/py-docstyle/PLIST Wed Dec 05 15:51:31 2018 +0000
+++ b/devel/py-docstyle/PLIST Wed Dec 05 15:52:42 2018 +0000
@@ -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
diff -r 3dc3308ac2fa -r 10df13df4d37 devel/py-docstyle/distinfo
--- a/devel/py-docstyle/distinfo Wed Dec 05 15:51:31 2018 +0000
+++ b/devel/py-docstyle/distinfo Wed Dec 05 15:52:42 2018 +0000
@@ -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