From 79ed2ae9904740f8e5cc789056b0984d3d4a7195 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 8 Jun 2024 12:24:15 +0000 Subject: [PATCH] py-sphinx-autoapi: update to 3.1.1. v3.1.1 (2024-05-22) ------------------- Bugfixes ^^^^^^^^ - Fix private subpackages causing orphan pages (#446) v3.1.0 (2024-05-20) ------------------- Features ^^^^^^^^ - Objects can render to their own page (#226) - Render PEP-695 type aliases as TypeAlias assignments. (#414) Bugfixes ^^^^^^^^ - Values are always rendered for TypeAlises and PEP-695 type aliases. (#224) - Fix submodule with `__init__.pyi` documented as `__init__` instead of submodule name (#398) - Fix IndexError when a module docstring contains only a heading (#412) - Preserve strings inside Literal type annotations (#423) - Stopped using xrefs in page titles (#427) - Fix unpickable configuration value warning when using autoapi_prepare_jinja_env (#445) - Fix emitting ignore event twice for methods. Misc ^^^^ - #388 --- textproc/py-sphinx-autoapi/Makefile | 12 ++++---- textproc/py-sphinx-autoapi/PLIST | 46 +++++++++++------------------ textproc/py-sphinx-autoapi/distinfo | 8 ++--- 3 files changed, 29 insertions(+), 37 deletions(-) diff --git a/textproc/py-sphinx-autoapi/Makefile b/textproc/py-sphinx-autoapi/Makefile index 332d0ba5ddd9..b98c0d7a0312 100644 --- a/textproc/py-sphinx-autoapi/Makefile +++ b/textproc/py-sphinx-autoapi/Makefile @@ -1,15 +1,17 @@ -# $NetBSD: Makefile,v 1.12 2023/11/07 22:38:05 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2024/06/08 12:24:15 wiz Exp $ -DISTNAME= sphinx-autoapi-3.0.0 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +DISTNAME= sphinx_autoapi-3.1.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} CATEGORIES= textproc python -MASTER_SITES= ${MASTER_SITE_PYPI:=s/sphinx-autoapi/} +MASTER_SITES= ${MASTER_SITE_PYPI:=s/sphinx_autoapi/} MAINTAINER= minskim@NetBSD.org HOMEPAGE= https://github.com/readthedocs/sphinx-autoapi COMMENT= Autodoc style documentation for multiple languages LICENSE= mit +TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools +TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel DEPENDS+= ${PYPKGPREFIX}-anyascii-[0-9]*:../../textproc/py-anyascii DEPENDS+= ${PYPKGPREFIX}-astroid>=2.7:../../devel/py-astroid DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 @@ -27,5 +29,5 @@ TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests -.include "../../lang/python/egg.mk" +.include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-sphinx-autoapi/PLIST b/textproc/py-sphinx-autoapi/PLIST index 8062daf8a46d..96a2c580a92a 100644 --- a/textproc/py-sphinx-autoapi/PLIST +++ b/textproc/py-sphinx-autoapi/PLIST @@ -1,7 +1,19 @@ -@comment $NetBSD: PLIST,v 1.5 2023/10/14 08:01:49 wiz Exp $ +@comment $NetBSD: PLIST,v 1.6 2024/06/08 12:24:15 wiz Exp $ ${PYSITELIB}/autoapi/__init__.py ${PYSITELIB}/autoapi/__init__.pyc ${PYSITELIB}/autoapi/__init__.pyo +${PYSITELIB}/autoapi/_astroid_utils.py +${PYSITELIB}/autoapi/_astroid_utils.pyc +${PYSITELIB}/autoapi/_astroid_utils.pyo +${PYSITELIB}/autoapi/_mapper.py +${PYSITELIB}/autoapi/_mapper.pyc +${PYSITELIB}/autoapi/_mapper.pyo +${PYSITELIB}/autoapi/_objects.py +${PYSITELIB}/autoapi/_objects.pyc +${PYSITELIB}/autoapi/_objects.pyo +${PYSITELIB}/autoapi/_parser.py +${PYSITELIB}/autoapi/_parser.pyc +${PYSITELIB}/autoapi/_parser.pyo ${PYSITELIB}/autoapi/directives.py ${PYSITELIB}/autoapi/directives.pyc ${PYSITELIB}/autoapi/directives.pyo @@ -14,31 +26,9 @@ ${PYSITELIB}/autoapi/extension.pyo ${PYSITELIB}/autoapi/inheritance_diagrams.py ${PYSITELIB}/autoapi/inheritance_diagrams.pyc ${PYSITELIB}/autoapi/inheritance_diagrams.pyo -${PYSITELIB}/autoapi/mappers/__init__.py -${PYSITELIB}/autoapi/mappers/__init__.pyc -${PYSITELIB}/autoapi/mappers/__init__.pyo -${PYSITELIB}/autoapi/mappers/base.py -${PYSITELIB}/autoapi/mappers/base.pyc -${PYSITELIB}/autoapi/mappers/base.pyo -${PYSITELIB}/autoapi/mappers/python/__init__.py -${PYSITELIB}/autoapi/mappers/python/__init__.pyc -${PYSITELIB}/autoapi/mappers/python/__init__.pyo -${PYSITELIB}/autoapi/mappers/python/astroid_utils.py -${PYSITELIB}/autoapi/mappers/python/astroid_utils.pyc -${PYSITELIB}/autoapi/mappers/python/astroid_utils.pyo -${PYSITELIB}/autoapi/mappers/python/mapper.py -${PYSITELIB}/autoapi/mappers/python/mapper.pyc -${PYSITELIB}/autoapi/mappers/python/mapper.pyo -${PYSITELIB}/autoapi/mappers/python/objects.py -${PYSITELIB}/autoapi/mappers/python/objects.pyc -${PYSITELIB}/autoapi/mappers/python/objects.pyo -${PYSITELIB}/autoapi/mappers/python/parser.py -${PYSITELIB}/autoapi/mappers/python/parser.pyc -${PYSITELIB}/autoapi/mappers/python/parser.pyo ${PYSITELIB}/autoapi/settings.py ${PYSITELIB}/autoapi/settings.pyc ${PYSITELIB}/autoapi/settings.pyo -${PYSITELIB}/autoapi/templates/base/base.rst ${PYSITELIB}/autoapi/templates/index.rst ${PYSITELIB}/autoapi/templates/python/attribute.rst ${PYSITELIB}/autoapi/templates/python/class.rst @@ -49,8 +39,8 @@ ${PYSITELIB}/autoapi/templates/python/method.rst ${PYSITELIB}/autoapi/templates/python/module.rst ${PYSITELIB}/autoapi/templates/python/package.rst ${PYSITELIB}/autoapi/templates/python/property.rst -${PYSITELIB}/${EGG_INFODIR}/PKG-INFO -${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt -${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PYSITELIB}/${EGG_INFODIR}/requires.txt -${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst +${PYSITELIB}/${WHEEL_INFODIR}/METADATA +${PYSITELIB}/${WHEEL_INFODIR}/RECORD +${PYSITELIB}/${WHEEL_INFODIR}/WHEEL +${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt diff --git a/textproc/py-sphinx-autoapi/distinfo b/textproc/py-sphinx-autoapi/distinfo index 965156619e15..cd287fde65da 100644 --- a/textproc/py-sphinx-autoapi/distinfo +++ b/textproc/py-sphinx-autoapi/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.12 2023/10/14 08:01:49 wiz Exp $ +$NetBSD: distinfo,v 1.13 2024/06/08 12:24:15 wiz Exp $ -BLAKE2s (sphinx-autoapi-3.0.0.tar.gz) = bc7c76b9c95b59f79aa853b1004be971714d42ef9d9ce6cfe231775e8440e38a -SHA512 (sphinx-autoapi-3.0.0.tar.gz) = f59fb203e1b867f02d5757fb3f58dcaf52b936eff67f4837ae75d9cbff24989d19bb254830bf0e2f90bae1760204e8900ea2e30573da654ad0b5223b9c39750d -Size (sphinx-autoapi-3.0.0.tar.gz) = 58081 bytes +BLAKE2s (sphinx_autoapi-3.1.1.tar.gz) = fef2a632ba15384e7624e1a5883b6852df876ac339f4792f46cff9ee492288ff +SHA512 (sphinx_autoapi-3.1.1.tar.gz) = 2c833279dfc00b95a83325c6fdbe61115e56c62966f2d0f260974ede2ced5699b5d56170240f4116b8f7b02254eaa68ef35a8263f54d55997bfda94c796010fb +Size (sphinx_autoapi-3.1.1.tar.gz) = 62024 bytes