git: ba73ec7981ce - main - textproc/py-sphinx-theme-builder: Update to 0.2.0b2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Apr 2023 20:43:11 UTC
The branch main has been updated by sunpoet:

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

commit ba73ec7981ce6236c2bdb195318adcc87f914062
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 20:40:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 20:40:39 +0000

    textproc/py-sphinx-theme-builder: Update to 0.2.0b2
    
    Changes:        https://github.com/pradyunsg/sphinx-theme-builder/blob/main/docs/changelog.md
---
 textproc/py-sphinx-theme-builder/Makefile | 14 +++++++++-----
 textproc/py-sphinx-theme-builder/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/textproc/py-sphinx-theme-builder/Makefile b/textproc/py-sphinx-theme-builder/Makefile
index 8b7a6852625a..2d884baa06f7 100644
--- a/textproc/py-sphinx-theme-builder/Makefile
+++ b/textproc/py-sphinx-theme-builder/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	sphinx-theme-builder
-PORTVERSION=	0.2.0b1
-PORTREVISION=	2
+PORTVERSION=	0.2.0b2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,8 +15,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_F
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nodeenv>=0:devel/py-nodeenv@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyproject-metadata>=0:devel/py-pyproject-metadata@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR}
 
 USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent pep517
@@ -32,4 +30,10 @@ CLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}sphinx-autobuild>=0:textproc/py-sphinx-autobuild@${PY_FLAVOR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/py-sphinx-theme-builder/distinfo b/textproc/py-sphinx-theme-builder/distinfo
index a7f71fc702bb..10a5acb6c2eb 100644
--- a/textproc/py-sphinx-theme-builder/distinfo
+++ b/textproc/py-sphinx-theme-builder/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665073162
-SHA256 (sphinx-theme-builder-0.2.0b1.tar.gz) = e9bb4a0a8516bab8769b9ddf003b70e5878611113319eb1fdb690af84a3a595f
-SIZE (sphinx-theme-builder-0.2.0b1.tar.gz) = 22433
+TIMESTAMP = 1681052966
+SHA256 (sphinx-theme-builder-0.2.0b2.tar.gz) = e9cd98c2bb35bf414fe721469a043cdcc10f0808d1ffcf606acb4a6282a6f288
+SIZE (sphinx-theme-builder-0.2.0b2.tar.gz) = 1328086