git: f5aff0a3c23c - main - textproc/py-sphinx-autodoc-typehints: unbreak build by update to 1.22 release (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 14 Feb 2023 09:03:26 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f5aff0a3c23c7b7e7cab66936ee6e4c851849937

commit f5aff0a3c23c7b7e7cab66936ee6e4c851849937
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-02-14 08:59:41 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-02-14 08:59:41 +0000

    textproc/py-sphinx-autodoc-typehints: unbreak build by update to 1.22 release (+)
    
    autodoc-typehints require Sphinx =>5.3
    
    Switch to PEP517 build
    
    Release notes:  https://github.com/tox-dev/sphinx-autodoc-typehints/releases/
    
    Approved by:    python@ (lwhsu)
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 textproc/py-sphinx-autodoc-typehints/Makefile | 16 ++++++++++------
 textproc/py-sphinx-autodoc-typehints/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/textproc/py-sphinx-autodoc-typehints/Makefile b/textproc/py-sphinx-autodoc-typehints/Makefile
index 677a019f79cc..568c0c07207e 100644
--- a/textproc/py-sphinx-autodoc-typehints/Makefile
+++ b/textproc/py-sphinx-autodoc-typehints/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	sphinx-autodoc-typehints
-DISTVERSION=	1.19.5
+DISTVERSION=	1.22
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,14 +12,18 @@ WWW=		https://github.com/tox-dev/sphinx-autodoc-typehints
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=40.0.4:devel/py-setuptools@${PY_FLAVOR} \
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.1:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pip>=22.2:devel/py-pip@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=40.0.4:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=2.0.0:devel/py-setuptools_scm@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sphinx>=4.5:textproc/py-sphinx@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=4.5:textproc/py-sphinx@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx>=5.3:textproc/py-sphinx@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=5.3:textproc/py-sphinx@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent pep517
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/textproc/py-sphinx-autodoc-typehints/distinfo b/textproc/py-sphinx-autodoc-typehints/distinfo
index 1eb69e7720bc..0b5935a5f59c 100644
--- a/textproc/py-sphinx-autodoc-typehints/distinfo
+++ b/textproc/py-sphinx-autodoc-typehints/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669101472
-SHA256 (sphinx_autodoc_typehints-1.19.5.tar.gz) = 38a227378e2bc15c84e29af8cb1d7581182da1107111fd1c88b19b5eb7076205
-SIZE (sphinx_autodoc_typehints-1.19.5.tar.gz) = 27903
+TIMESTAMP = 1675605848
+SHA256 (sphinx_autodoc_typehints-1.22.tar.gz) = 71fca2d5eee9b034204e4c686ab20b4d8f5eb9409396216bcae6c87c38e18ea6
+SIZE (sphinx_autodoc_typehints-1.22.tar.gz) = 35474