pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-sphinx-autoapi py-sphinx-autoapi: updated ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/94e8c83695f6
branches: trunk
changeset: 449878:94e8c83695f6
user: adam <adam%pkgsrc.org@localhost>
date: Wed Apr 07 06:44:39 2021 +0000
description:
py-sphinx-autoapi: updated to 1.7.0
V1.7.0 (2021-01-31)
-------------------
Features
* The fully qualified path of objects are included type annotations
so that Sphinx can link to them.
* Added support for Sphinx 3.3. and 3.4.
* The docstrings of ``object.__init__``, ``object.__new__``,
``type.__init__``, and ``type.__new__`` are not inherited.
Bug Fixes
* The overload signatures of ``__init__`` methods are documented.
V1.6.0 (2021-01-20)
-------------------
Breaking Changes
* Dropped support for Python 2 and Sphinx 1.x/2.x.
Python 2 source code can still be parsed.
Features
* Added support for using type hints as parameter types and return types
via the ``sphinx.ext.autodoc.typehints`` extension.
* Basic incremental build support is enabled ``autoapi_keep_files`` is enabled.
Providing none of the source files have changed,
AutoAPI will skip parsing the source code and regenerating the API documentation.
* Can pass a callback that edits the Jinja Environment object before
template rendering begins.
This allows custom filters, tests, and globals to be added to the environment.
* Added support for Python 3.9.
Bug Fixes
* Fixed TypeError when parsing a class that inherits from ``type``.
* Fixed an unnecessary deprecation warning being raised when running
sphinx-build from the same directory as conf.py.
* Fixed properties documented by Autodoc directives geting documented as methods.
V1.5.1 (2020-10-01)
-------------------
Bug Fixes
* Fixed AttributeError when generating an inheritance diagram for a module.
V1.5.0 (2020-08-31)
-------------------
This will be the last minor version to support Python 2 and Sphinx 1.x/2.x.
Features
* Declare the extension as parallel unsafe.
* All overload signatures are documented.
* Files are found in order of preference according to ``autoapi_file_patterns``.
* Added support for Sphinx 3.2.
Bug Fixes
* Fixed return types not showing for methods.
* Fixed incorrect formatting of properties on generated method directives.
* Fixed every toctree entry getting added as a new list.
* Fixed only some entries getting added to the toctree.
Trivial/Internal Changes
* autoapisummary directive inherits from autosummary for future stability.
diffstat:
textproc/py-sphinx-autoapi/Makefile | 12 +++++-------
textproc/py-sphinx-autoapi/distinfo | 10 +++++-----
2 files changed, 10 insertions(+), 12 deletions(-)
diffs (50 lines):
diff -r f62992119ccd -r 94e8c83695f6 textproc/py-sphinx-autoapi/Makefile
--- a/textproc/py-sphinx-autoapi/Makefile Wed Apr 07 06:24:13 2021 +0000
+++ b/textproc/py-sphinx-autoapi/Makefile Wed Apr 07 06:44:39 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/08/24 08:42:38 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2021/04/07 06:44:39 adam Exp $
-DISTNAME= sphinx-autoapi-1.4.0
+DISTNAME= sphinx-autoapi-1.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sphinx-autoapi/}
@@ -10,8 +10,8 @@
COMMENT= Autodoc style documenation for multiple languages
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-astroid-[0-9]*:../../devel/py-astroid
-DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.6:../../textproc/py-sphinx
+DEPENDS+= ${PYPKGPREFIX}-astroid>=2.4:../../devel/py-astroid
+DEPENDS+= ${PYPKGPREFIX}-sphinx>=3.0:../../textproc/py-sphinx
DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
DEPENDS+= ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
@@ -22,10 +22,8 @@
PYTHON_VERSIONS_INCOMPATIBLE= 27
-TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
-
do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r f62992119ccd -r 94e8c83695f6 textproc/py-sphinx-autoapi/distinfo
--- a/textproc/py-sphinx-autoapi/distinfo Wed Apr 07 06:24:13 2021 +0000
+++ b/textproc/py-sphinx-autoapi/distinfo Wed Apr 07 06:44:39 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/08/24 08:42:38 wiz Exp $
+$NetBSD: distinfo,v 1.3 2021/04/07 06:44:39 adam Exp $
-SHA1 (sphinx-autoapi-1.4.0.tar.gz) = afe9a1ba9d95628ac9ae5446cb5ff2845dd6bdc7
-RMD160 (sphinx-autoapi-1.4.0.tar.gz) = bae4134c5189f0ed5b860cbd130df953420ac770
-SHA512 (sphinx-autoapi-1.4.0.tar.gz) = 4cd1e6ee56d35d9c954c458c19cff73054de5eee60848329b7bff5b8ba2fc585d0079210bce7727c2c492dc1eef25f5b6d00e10bfb0e7bf01fa56ba935f85591
-Size (sphinx-autoapi-1.4.0.tar.gz) = 42195698 bytes
+SHA1 (sphinx-autoapi-1.7.0.tar.gz) = b7aba8cc391511427d95192add154c6bfa4bd31e
+RMD160 (sphinx-autoapi-1.7.0.tar.gz) = 960ee1bcffe66c129ce06206b3ba41864161f807
+SHA512 (sphinx-autoapi-1.7.0.tar.gz) = ba77a77dfdb7207ebe594e54076dcc252dcf288dc8617bec30e3a8969c04420dde7290bb62d2d46f7295df30df231a3fe16d3ab7c520946e3786422da1f72dba
+Size (sphinx-autoapi-1.7.0.tar.gz) = 42148159 bytes
Home |
Main Index |
Thread Index |
Old Index