pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-doctor py-doctor: updated to 22.9.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc2defffd475
branches:  trunk
changeset: 389059:dc2defffd475
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 29 17:13:22 2022 +0000

description:
py-doctor: updated to 22.9.1

pydoctor 22.9.1

pydoctor --help works again.

pydoctor 22.9.0

Add a special kind for exceptions (before, they were treated just like any other class).
The ZopeInterface features now renders again. A regression was introduced in pydoctor 22.7.0.
Python syntax errors are now logged as violations.
Fixed rare crash in the rendering of parsed elements (i.e. docstrings and ASTs). This is because XHTML entities like non-breaking spaces are not supported by Twisted's XMLString at the moment.
Show the value of type aliases and type variables.
The --prepend-package now work as documented. A regression was introduced in pydoctor 22.7.0 and it was not nesting new packages under the "fake" package.
self parameter is now removed only when the target is a method. In the previous version, it was always removed in any context.
cls parameter is now removed only when the target is a class method. In the previous version, it was always removed in any context.
Add anchors aside attributes and functions to ease the process of sharing links to these API docs.
Fix a bug in the return clause of google-style docstrings where the return type would be treated as the description when there is no explicit description.
Trigger warnings for unknown config options.
Fix minor UX issues in the search bar.
Fix deprecation in Docutils 0.19 frontend

diffstat:

 devel/py-doctor/Makefile |  16 ++++++----------
 devel/py-doctor/distinfo |   8 ++++----
 2 files changed, 10 insertions(+), 14 deletions(-)

diffs (53 lines):

diff -r 6350f8793d9c -r dc2defffd475 devel/py-doctor/Makefile
--- a/devel/py-doctor/Makefile  Tue Nov 29 17:09:45 2022 +0000
+++ b/devel/py-doctor/Makefile  Tue Nov 29 17:13:22 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2022/09/12 06:54:04 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2022/11/29 17:13:22 adam Exp $
 
-DISTNAME=      pydoctor-22.7.0
+DISTNAME=      pydoctor-22.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pydoctor/}
@@ -12,8 +12,8 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-appdirs-[0-9]*:../../devel/py-appdirs
 DEPENDS+=      ${PYPKGPREFIX}-astor>=0.8.1:../../devel/py-astor
-DEPENDS+=      ${PYPKGPREFIX}-attrs>=0:../../devel/py-attrs
-DEPENDS+=      ${PYPKGPREFIX}-configargparse>=0:../../devel/py-configargparse
+DEPENDS+=      ${PYPKGPREFIX}-attrs-[0-9]*:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-configargparse-[0-9]*:../../devel/py-configargparse
 DEPENDS+=      ${PYPKGPREFIX}-cachecontrol-[0-9]*:../../devel/py-cachecontrol
 DEPENDS+=      ${PYPKGPREFIX}-lunr>=0.6.2:../../textproc/py-lunr
 DEPENDS+=      ${PYPKGPREFIX}-docutils>=0.17:../../textproc/py-docutils
@@ -25,14 +25,10 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-PYTHON_VERSIONS_INCOMPATIBLE+= 27 37
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37
 
 .include "../../lang/python/pyversion.mk"
-
-.if ${PYPKGPREFIX} == "py37"
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-.endif
-.if ${PYPKGPREFIX} == "py37" || ${PYPKGPREFIX} == "py38"
+.if ${_PYTHON_VERSION} == 38
 DEPENDS+=      ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
 .endif
 
diff -r 6350f8793d9c -r dc2defffd475 devel/py-doctor/distinfo
--- a/devel/py-doctor/distinfo  Tue Nov 29 17:09:45 2022 +0000
+++ b/devel/py-doctor/distinfo  Tue Nov 29 17:13:22 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2022/09/11 17:52:22 wiz Exp $
+$NetBSD: distinfo,v 1.10 2022/11/29 17:13:22 adam Exp $
 
-BLAKE2s (pydoctor-22.7.0.tar.gz) = c4002a09edc2a7e40285998513839d23348eec6d615da57a28b881264f3772da
-SHA512 (pydoctor-22.7.0.tar.gz) = adae10f1602be7bb4258b970d441bb2d3055a48542a6cc6ef46fb9a6b8b6b93e82ddec6cd5a4a59801fed1bcd17866cc1fe5bed0e25f327d40ada7cf31a22d8f
-Size (pydoctor-22.7.0.tar.gz) = 894933 bytes
+BLAKE2s (pydoctor-22.9.1.tar.gz) = ab618dc5cca1a8162f3feef8fc46983ac3185bd65dece2c9480cce9e780bbc88
+SHA512 (pydoctor-22.9.1.tar.gz) = 87cdbbb252573b42ae0adce9505c69354699c3edccdee2e3345a0d9aef6472f25ae6203b5c4462645620b863786c018026536d2c74ec1c17efadafebde858bfa
+Size (pydoctor-22.9.1.tar.gz) = 906353 bytes



Home | Main Index | Thread Index | Old Index