View | Details | Raw Unified | Return to bug 262659 | Differences between
and this patch

Collapse All | Expand All

(-)b/textproc/Makefile (-1 / +1 lines)
Lines 1468-1474 Link Here
1468
    SUBDIR += py-sphinx-argparse
1468
    SUBDIR += py-sphinx-argparse
1469
    SUBDIR += py-sphinx-autoapi
1469
    SUBDIR += py-sphinx-autoapi
1470
    SUBDIR += py-sphinx-autobuild
1470
    SUBDIR += py-sphinx-autobuild
1471
    SUBDIR += py-sphinx-autodoc-typehints
1471
    SUBDIR += py-sphinx_autodoc_typehints
1472
    SUBDIR += py-sphinx-book-theme
1472
    SUBDIR += py-sphinx-book-theme
1473
    SUBDIR += py-sphinx-copybutton
1473
    SUBDIR += py-sphinx-copybutton
1474
    SUBDIR += py-sphinx-inline-tabs
1474
    SUBDIR += py-sphinx-inline-tabs
(-)a/textproc/py-sphinx-autodoc-typehints/distinfo (-3 lines)
Removed Link Here
1
TIMESTAMP = 1618751389
2
SHA256 (sphinx-autodoc-typehints-1.12.0.tar.gz) = 193617d9dbe0847281b1399d369e74e34cd959c82e02c7efde077fca908a9f52
3
SIZE (sphinx-autodoc-typehints-1.12.0.tar.gz) = 19494
(-)b/textproc/py-sphinx_autodoc_typehints/Makefile (-5 / +5 lines)
Lines 1-5 Link Here
1
PORTNAME=	sphinx-autodoc-typehints
1
PORTNAME=	sphinx_autodoc_typehints
2
PORTVERSION=	1.12.0
2
PORTVERSION=	1.17.0
3
CATEGORIES=	textproc python
3
CATEGORIES=	textproc python
4
MASTER_SITES=	CHEESESHOP
4
MASTER_SITES=	CHEESESHOP
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 10-22 COMMENT= Type hints (PEP 484) support for the Sphinx autodoc extension Link Here
10
LICENSE=	MIT
10
LICENSE=	MIT
11
LICENSE_FILE=	${WRKSRC}/LICENSE
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
12
13
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=3.0,1:textproc/py-sphinx@${PY_FLAVOR}
13
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=4.0:textproc/py-sphinx@${PY_FLAVOR}
14
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=2.0.0:devel/py-setuptools_scm@${PY_FLAVOR} \
14
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=2.0.0:devel/py-setuptools_scm@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}setuptools>=40.0.4:devel/py-setuptools@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}setuptools>=40.0.4:devel/py-setuptools@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}sphinx>=3.0,1:textproc/py-sphinx@${PY_FLAVOR}
17
		${PYTHON_PKGNAMEPREFIX}sphinx>=4.0:textproc/py-sphinx@${PY_FLAVOR}
18
18
19
USES=		python:3.6+
19
USES=		python:3.7+
20
USE_PYTHON=	autoplist distutils
20
USE_PYTHON=	autoplist distutils
21
NO_ARCH=	yes
21
NO_ARCH=	yes
22
22
(-)b/textproc/py-sphinx_autodoc_typehints/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1647681080
2
SHA256 (sphinx_autodoc_typehints-1.17.0.tar.gz) = 51c7b3f5cb9ccd15d0b52088c62df3094f1abd9612930340365c26def8629a14
3
SIZE (sphinx_autodoc_typehints-1.17.0.tar.gz) = 30722
(-)b/textproc/py-sphinx_autodoc_typehints/pkg-descr (-1 / +1 lines)
Lines 2-5 This extension allows you to use Python 3 annotations for documenting Link Here
2
acceptable argument types and return value types of functions. This allows you
2
acceptable argument types and return value types of functions. This allows you
3
to use type hints in a very natural fashion.
3
to use type hints in a very natural fashion.
4
4
5
WWW: https://github.com/agronholm/sphinx-autodoc-typehints
5
WWW: https://github.com/tox-dev/sphinx-autodoc-typehints

Return to bug 262659