pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-doctor
Module Name: pkgsrc
Committed By: adam
Date: Tue Jan 14 17:20:33 UTC 2025
Modified Files:
pkgsrc/devel/py-doctor: Makefile PLIST distinfo
Log Message:
py-doctor: updated to 24.11.2
pydoctor 24.11.2
Replace deprecated usage of datetime.datetime.utcfromtimestamp()
pydoctor 24.11.1
Fix a bug that would cause a variable marked as Final not being considered as a constant if it was declared under a control-flow block.
Fix a bug in google and numpy "Attributes" section in module docstring: the module attributes now shows as "Variables" instead of "Instance Variables".
pydoctor 24.11.0
Drop Python 3.7 and support Python 3.13.
Implement canonical HTML element (<link rel="canonical" href="..."/>) to help search engines reduce outdated content. Enable this feature by passing the base URL of the API documentation with option
--html-base-url.
Improve collection of objects:
Document objects declared in the else block of 'if' statements (previously they were ignored).
Document objects declared in finalbody and else block of 'try' statements (previously they were ignored).
Objects declared in the else block of if statements and in the handlers of 'try' statements are ignored if a concurrent object is declared before (more infos on branch priorities).
Trigger a warning when several docstrings are detected for the same object.
Improve typing of docutils related code.
Run unit tests on all supported combinations of Python versions and platforms, including PyPy for Windows. Previously, tests where ran on all supported Python version for Linux, but not for MacOS and
Windows.
Replace the deprecated dependency appdirs with platformdirs.
Fix WinError caused by the failure of the symlink creation process. Pydoctor should now run on windows without the need to be administrator.
Adjust the sphinx extension to support Sphinx 8.1. The entries dynamically added to the intersphinx config from the pydoctor_url_path config option now includes a project name which defaults to
'main' (instead of putting None), use mapping instead of a list to define your own project name.
Improve the themes so the adds injected by ReadTheDocs are rendered with the correct width and do not overlap too much with the main content.
Fix an issue in the readthedocs theme that prevented to use the search bar from the summary pages (like the class hierarchy).
The generated documentation now includes a help page under the path /apidocs-help.html. This page is accessible by clicking on the information icon in the navbar (ℹ).
Improve the javascript searching code to better understand terms that contains a dot (.).
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-doctor/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-doctor/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-doctor/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-doctor/Makefile
diff -u pkgsrc/devel/py-doctor/Makefile:1.29 pkgsrc/devel/py-doctor/Makefile:1.30
--- pkgsrc/devel/py-doctor/Makefile:1.29 Mon Nov 11 07:28:07 2024
+++ pkgsrc/devel/py-doctor/Makefile Tue Jan 14 17:20:33 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2024/11/11 07:28:07 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2025/01/14 17:20:33 adam Exp $
-DISTNAME= pydoctor-24.3.3
+DISTNAME= pydoctor-24.11.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydoctor/}
@@ -11,15 +11,14 @@ COMMENT= Python API document generator
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-DEPENDS+= ${PYPKGPREFIX}-appdirs-[0-9]*:../../devel/py-appdirs
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}-cachecontrol>=0.12.14:../../devel/py-cachecontrol
DEPENDS+= ${PYPKGPREFIX}-docutils>=0.17:../../textproc/py-docutils
DEPENDS+= ${PYPKGPREFIX}-lunr>=0.6.2:../../textproc/py-lunr
+DEPENDS+= ${PYPKGPREFIX}-platformdirs-[0-9]*:../../misc/py-platformdirs
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
-DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
DEPENDS+= ${PYPKGPREFIX}-urllib3>=2.0:../../www/py-urllib3
TEST_DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
@@ -28,6 +27,11 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-subte
USE_LANGUAGES= # none
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
+.endif
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pydoctor pydoctor-${PYVERSSUFFIX} || ${TRUE}
Index: pkgsrc/devel/py-doctor/PLIST
diff -u pkgsrc/devel/py-doctor/PLIST:1.6 pkgsrc/devel/py-doctor/PLIST:1.7
--- pkgsrc/devel/py-doctor/PLIST:1.6 Mon Dec 4 06:07:50 2023
+++ pkgsrc/devel/py-doctor/PLIST Tue Jan 14 17:20:33 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2023/12/04 06:07:50 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2025/01/14 17:20:33 adam Exp $
bin/pydoctor-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -183,6 +183,9 @@ ${PYSITELIB}/pydoctor/test/epydoc/test_r
${PYSITELIB}/pydoctor/test/test_astbuilder.py
${PYSITELIB}/pydoctor/test/test_astbuilder.pyc
${PYSITELIB}/pydoctor/test/test_astbuilder.pyo
+${PYSITELIB}/pydoctor/test/test_astutils.py
+${PYSITELIB}/pydoctor/test/test_astutils.pyc
+${PYSITELIB}/pydoctor/test/test_astutils.pyo
${PYSITELIB}/pydoctor/test/test_attrs.py
${PYSITELIB}/pydoctor/test/test_attrs.pyc
${PYSITELIB}/pydoctor/test/test_attrs.pyo
@@ -254,6 +257,7 @@ ${PYSITELIB}/pydoctor/themes/__init__.py
${PYSITELIB}/pydoctor/themes/__init__.pyo
${PYSITELIB}/pydoctor/themes/base/ajax.js
${PYSITELIB}/pydoctor/themes/base/all-documents.html
+${PYSITELIB}/pydoctor/themes/base/apidocs-help.html
${PYSITELIB}/pydoctor/themes/base/apidocs.css
${PYSITELIB}/pydoctor/themes/base/attribute-child.html
${PYSITELIB}/pydoctor/themes/base/common.html
@@ -290,7 +294,6 @@ ${PYSITELIB}/pydoctor/themes/readthedocs
${PYSITELIB}/pydoctor/themes/readthedocs/fonts/plus-square-o.svg
${PYSITELIB}/pydoctor/themes/readthedocs/footer.html
${PYSITELIB}/pydoctor/themes/readthedocs/head.html
-${PYSITELIB}/pydoctor/themes/readthedocs/nav.html
${PYSITELIB}/pydoctor/themes/readthedocs/readthedocstheme.css
${PYSITELIB}/pydoctor/utils.py
${PYSITELIB}/pydoctor/utils.pyc
Index: pkgsrc/devel/py-doctor/distinfo
diff -u pkgsrc/devel/py-doctor/distinfo:1.13 pkgsrc/devel/py-doctor/distinfo:1.14
--- pkgsrc/devel/py-doctor/distinfo:1.13 Tue Jun 11 16:03:28 2024
+++ pkgsrc/devel/py-doctor/distinfo Tue Jan 14 17:20:33 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2024/06/11 16:03:28 adam Exp $
+$NetBSD: distinfo,v 1.14 2025/01/14 17:20:33 adam Exp $
-BLAKE2s (pydoctor-24.3.3.tar.gz) = 43e7f74d4fcb787b272c86f553ed53da5e7437c6748774c3a91758c879ac1b11
-SHA512 (pydoctor-24.3.3.tar.gz) = d13c07bd8338b90933d793d2848d1d7b597052b4d55e5a007aabb9437dce33ffa9681d6366b9cacdd98e09873606a3eaed721f14108706ad0a4ec97e5525aada
-Size (pydoctor-24.3.3.tar.gz) = 936493 bytes
+BLAKE2s (pydoctor-24.11.2.tar.gz) = 59ade73933a57cbebe54b5e59dd938e43b7e769ad0503af2dcf8c0a4085aced5
+SHA512 (pydoctor-24.11.2.tar.gz) = 4f9ed775b73d16d63d44df19441bb795aa377d47187c34ac1f97a7220d4d1e3651e94d26a2d40926328665d9254d892d776fb228146cbe7844a47818c7d64938
+Size (pydoctor-24.11.2.tar.gz) = 946366 bytes
Home |
Main Index |
Thread Index |
Old Index