git: 88c9d2919c17 - main - textproc/py-sphinx-book-theme: Unbreak this port after a7a3ac5596fdb27fb974c7993002b63994fe001e

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:30:19 UTC
The branch main has been updated by sunpoet:

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

commit 88c9d2919c17d7beba4845ab7cd2fd9fd6f8fa89
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:48:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:21:22 +0000

    textproc/py-sphinx-book-theme: Unbreak this port after a7a3ac5596fdb27fb974c7993002b63994fe001e
    
    - Allow build with py-sphinx 5.x
    - Bump PORTREVISION for package change
---
 textproc/py-sphinx-book-theme/Makefile       | 4 ++--
 textproc/py-sphinx-book-theme/files/setup.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/textproc/py-sphinx-book-theme/Makefile b/textproc/py-sphinx-book-theme/Makefile
index 60cd2094b589..39a7176810c8 100644
--- a/textproc/py-sphinx-book-theme/Makefile
+++ b/textproc/py-sphinx-book-theme/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sphinx-book-theme
 PORTVERSION=	0.3.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI \
 		LOCAL/sunpoet:static
@@ -17,7 +17,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pydata-sphinx-theme>=0.8.0<0.9:textproc/py-pydata-sphinx-theme@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sphinx>=3,1<5,1:textproc/py-sphinx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx>=3,1<6,1:textproc/py-sphinx@${PY_FLAVOR} \
 
 USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
diff --git a/textproc/py-sphinx-book-theme/files/setup.py b/textproc/py-sphinx-book-theme/files/setup.py
index d39c8f31a7bc..555a8b6ce523 100644
--- a/textproc/py-sphinx-book-theme/files/setup.py
+++ b/textproc/py-sphinx-book-theme/files/setup.py
@@ -14,7 +14,7 @@ setup(
     package_dir = {'': 'src'},
     package_data = {'': ['*']},
     install_requires = [
-        'sphinx>=3,<5',
+        'sphinx>=3,<6',
         'pydata-sphinx-theme~=0.8.0',
         'pyyaml',
     ],