summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-12-05 15:52:42 +0000
committeradam <adam@pkgsrc.org>2018-12-05 15:52:42 +0000
commit9c3a8c11e06f3925c2ace146817566e4eb1c11f8 (patch)
tree7b07ad3ca86e83c5fa0289525f6a39825a76697c /devel
parentca4f065790f92886f7b6c62cbca5f2e9837192df (diff)
downloadpkgsrc-9c3a8c11e06f3925c2ace146817566e4eb1c11f8.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/py-docstyle/Makefile10
-rw-r--r--devel/py-docstyle/PLIST3
-rw-r--r--devel/py-docstyle/distinfo10
3 files changed, 14 insertions, 9 deletions
diff --git a/devel/py-docstyle/Makefile b/devel/py-docstyle/Makefile
index 610134d0d72..0310b093e02 100644
--- a/devel/py-docstyle/Makefile
+++ b/devel/py-docstyle/Makefile
@@ -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
diff --git a/devel/py-docstyle/PLIST b/devel/py-docstyle/PLIST
index a19b8f33f44..39346809751 100644
--- a/devel/py-docstyle/PLIST
+++ b/devel/py-docstyle/PLIST
@@ -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 --git a/devel/py-docstyle/distinfo b/devel/py-docstyle/distinfo
index f1e30238c52..57850a0e4b9 100644
--- a/devel/py-docstyle/distinfo
+++ b/devel/py-docstyle/distinfo
@@ -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