pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-sphinx-autodoc-typehints py-sphinx-autodoc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/519c7281769d
branches:  trunk
changeset: 449879:519c7281769d
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 07 06:48:26 2021 +0000

description:
py-sphinx-autodoc-typehints: updated to 1.11.1

1.11.1
======
* Changed formatting of ``None`` to point to the Python stdlib docs
* Updated special dataclass handling


1.11.0
======
* Dropped support for Sphinx < 3.0
* Added support for alternative parameter names (``arg``, ``argument``, ``parameter``)
* Fixed import path for Signature
* Fixed ``TypeError`` when formatting a parametrized ``typing.IO`` annotat

diffstat:

 textproc/py-sphinx-autodoc-typehints/Makefile |  14 ++++++--------
 textproc/py-sphinx-autodoc-typehints/distinfo |  10 +++++-----
 2 files changed, 11 insertions(+), 13 deletions(-)

diffs (51 lines):

diff -r 94e8c83695f6 -r 519c7281769d textproc/py-sphinx-autodoc-typehints/Makefile
--- a/textproc/py-sphinx-autodoc-typehints/Makefile     Wed Apr 07 06:44:39 2021 +0000
+++ b/textproc/py-sphinx-autodoc-typehints/Makefile     Wed Apr 07 06:48:26 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/04/06 08:06:30 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2021/04/07 06:48:26 adam Exp $
 
-DISTNAME=      sphinx-autodoc-typehints-1.10.3
+DISTNAME=      sphinx-autodoc-typehints-1.11.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sphinx-autodoc-typehints/}
@@ -11,19 +11,17 @@
 LICENSE=       mit
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-DEPENDS+=      ${PYPKGPREFIX}-sphinx>=1.4:../../textproc/py-sphinx
-DEPENDS+=      ${PYPKGPREFIX}-sphobjinv-[0-9]*:../../textproc/py-sphobjinv
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
+DEPENDS+=      ${PYPKGPREFIX}-sphinx>=3.0:../../textproc/py-sphinx
+TEST_DEPENDS+= ${PYPKGPREFIX}-sphobjinv>=2.0:../../textproc/py-sphobjinv
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.5:../../devel/py-typing-extensions
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
-
 do-test:
-       cd ${WRKSRC} && ${MAKE_ENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+       cd ${WRKSRC} && ${MAKE_ENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 94e8c83695f6 -r 519c7281769d textproc/py-sphinx-autodoc-typehints/distinfo
--- a/textproc/py-sphinx-autodoc-typehints/distinfo     Wed Apr 07 06:44:39 2021 +0000
+++ b/textproc/py-sphinx-autodoc-typehints/distinfo     Wed Apr 07 06:48:26 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/04/06 08:06:30 wiz Exp $
+$NetBSD: distinfo,v 1.3 2021/04/07 06:48:26 adam Exp $
 
-SHA1 (sphinx-autodoc-typehints-1.10.3.tar.gz) = 2b4de74f22ce3ad223fbbb78b1592595fe9fbe20
-RMD160 (sphinx-autodoc-typehints-1.10.3.tar.gz) = c3fd63f02a1017ff6882931c764192ec2653241f
-SHA512 (sphinx-autodoc-typehints-1.10.3.tar.gz) = 170fd6cea10d730eefeef4e2e4de985119dbcde06d43181bb522ec31923ddc49dd7757ca623c820e2e5008198ef9b522d70e08c0c6ff5349921f1777b797bddb
-Size (sphinx-autodoc-typehints-1.10.3.tar.gz) = 16396 bytes
+SHA1 (sphinx-autodoc-typehints-1.11.1.tar.gz) = 157e45c2b267c36844e1f2a4bfe67417d14a628a
+RMD160 (sphinx-autodoc-typehints-1.11.1.tar.gz) = 2c8023b9b1b92570a15443ce2f7033c2fa69d9dd
+SHA512 (sphinx-autodoc-typehints-1.11.1.tar.gz) = ac6b15247496ef2e284be57cf715972865859b1f3c51a7548aca07d7ded9dd53e75114064cd5a8c66539ef2cee983e1a3213570baa09b5c3ced594893e14bc38
+Size (sphinx-autodoc-typehints-1.11.1.tar.gz) = 17361 bytes



Home | Main Index | Thread Index | Old Index