git: 5447e2ed1663 - main - textproc/py-pydata-sphinx-theme: Unbreak this port after a7a3ac5596fdb27fb974c7993002b63994fe001e

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 05 Feb 2023 15:55:51 UTC
The branch main has been updated by sunpoet:

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

commit 5447e2ed1663a31566e0ff311755cdc0bb47ba93
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-05 15:19:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-05 15:48:06 +0000

    textproc/py-pydata-sphinx-theme: Unbreak this port after a7a3ac5596fdb27fb974c7993002b63994fe001e
    
    - Allow build with py-sphinx 5.x
    - Bump PORTREVISION for package change
    
    Reference:      https://github.com/pydata/pydata-sphinx-theme/commit/b806673afbcc5e13a68d2a28b1dde92c8729cbd7
---
 textproc/py-pydata-sphinx-theme/Makefile       | 2 +-
 textproc/py-pydata-sphinx-theme/files/setup.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/textproc/py-pydata-sphinx-theme/Makefile b/textproc/py-pydata-sphinx-theme/Makefile
index d7d88e3f1007..a8bd7c9a6a6f 100644
--- a/textproc/py-pydata-sphinx-theme/Makefile
+++ b/textproc/py-pydata-sphinx-theme/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}docutils>=0.17.1:textproc/py-docutils@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sphinx>=3.5.4,1<5,1:textproc/py-sphinx@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}sphinx>=4,1<6,1:textproc/py-sphinx@${PY_FLAVOR}
 
 USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
diff --git a/textproc/py-pydata-sphinx-theme/files/setup.py b/textproc/py-pydata-sphinx-theme/files/setup.py
index 9dbfc96da9b3..b17d21e95978 100644
--- a/textproc/py-pydata-sphinx-theme/files/setup.py
+++ b/textproc/py-pydata-sphinx-theme/files/setup.py
@@ -11,7 +11,7 @@ setup(
     package_dir = {'': 'src'},
     package_data = {'': ['*']},
     install_requires = [
-        'sphinx>=3.5.4,<5',
+        'sphinx>=4,<6',
         'beautifulsoup4',
         'docutils!=0.17.0',
         'packaging',