[Bug 276417] textproc/py-sphinx_rtd_theme: Update to 3.1.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Apr 2026 04:23:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276417

Alastair Hogge <agh@riseup.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #260305|0                           |1
        is obsolete|                            |

--- Comment #4 from Alastair Hogge <agh@riseup.net> ---
Comment on attachment 260305
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260305
textproc/py-sphinx_rtd_theme: Update to 3.0.2

>From 2a4f3c391ecbab2806030f6ca85d76dc0a348b40 Mon Sep 17 00:00:00 2001
>From: Alastair Hogge <agh@riseup.net>
>Date: Sat, 10 May 2025 09:49:46 +0800
>Subject: [PATCH] textproc/py-sphinx_rtd_theme: Update to 3.0.2
>
>Update to 3.0.2:
>* Expand pkg-descr
>* port{clippt|fmt|lint} maintenance
>* Switch to GitHub to retrieve the documentation sources, and add html
>  DOCS option
>* Switch to PEP517 build
>* Use ${DISTVERSION} over ${PORTVERSION}
>
>https://github.com/readthedocs/sphinx_rtd_theme/compare/1.0.0...3.0.2
>
> PR:		276417
>---
> textproc/py-sphinx_rtd_theme/Makefile  | 37 ++++++++++++++++++++++----
> textproc/py-sphinx_rtd_theme/distinfo  |  6 ++---
> textproc/py-sphinx_rtd_theme/pkg-descr |  4 ++-
> 3 files changed, 38 insertions(+), 9 deletions(-)
>
>diff --git a/textproc/py-sphinx_rtd_theme/Makefile b/textproc/py-sphinx_rtd_theme/Makefile
>index b7e5169f413f..f3a413a9b297 100644
>--- a/textproc/py-sphinx_rtd_theme/Makefile
>+++ b/textproc/py-sphinx_rtd_theme/Makefile
>@@ -1,8 +1,6 @@
> PORTNAME=	sphinx_rtd_theme
>-PORTVERSION=	1.0.0
>-PORTREVISION=	1
>+DISTVERSION=	3.0.2
> CATEGORIES=	textproc python
>-MASTER_SITES=	PYPI
> PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> 
> MAINTAINER=	robak@FreeBSD.org
>@@ -12,8 +10,37 @@ WWW=		https://github.com/readthedocs/sphinx_rtd_theme
> LICENSE=	MIT
> LICENSE_FILE=	${WRKSRC}/LICENSE
> 
>+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
>+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
>+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docutils>:textproc/py-docutils@${PY_FLAVOR} \
>+		${PYTHON_PKGNAMEPREFIX}sphinx>=6:textproc/py-sphinx@${PY_FLAVOR} \
>+		${PYTHON_PKGNAMEPREFIX}sphinxcontrib-jquery>=4,<5:textproc/py-sphinxcontrib-jquery@${PY_FLAVOR} \
>+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
>+
>+USES=		pytest python
>+USE_GITHUB=	yes
>+GH_ACCOUNT=	readthedocs
>+USE_PYTHON=	autoplist concurrent pep517
>+
> NO_ARCH=	yes
>-USES=		python
>-USE_PYTHON=	distutils autoplist
>+
>+PORTDOCS=	*
>+
>+OPTIONS_DEFINE=	DOCS
>+
>+DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=6:textproc/py-sphinx@${PY_FLAVOR} \
>+			${PYTHON_PKGNAMEPREFIX}sphinxcontrib-jquery>=4,<5:textproc/py-sphinxcontrib-jquery@${PY_FLAVOR}
>+
>+_DOCS_INSTALL_EXCLUDES=	"-not -name .buildinfo -not -regex ^./_sources.*"
>+
>+do-build-DOCS-on:
>+	(cd ${WRKSRC}/docs && \
>+		${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -b html -d \
>+		./build/doctrees . ./build/html)
>+
>+do-install-DOCS-on:
>+	${MKDIR} ${STAGEDIR}${DOCSDIR}
>+	(cd ${WRKSRC}/docs/build/html && \
>+		${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ ${_DOCS_INSTALL_EXCLUDES})
> 
> .include <bsd.port.mk>
>diff --git a/textproc/py-sphinx_rtd_theme/distinfo b/textproc/py-sphinx_rtd_theme/distinfo
>index 8127cc68f1a7..f7500eec0c3a 100644
>--- a/textproc/py-sphinx_rtd_theme/distinfo
>+++ b/textproc/py-sphinx_rtd_theme/distinfo
>@@ -1,3 +1,3 @@
>-TIMESTAMP = 1637240415
>-SHA256 (sphinx_rtd_theme-1.0.0.tar.gz) = eec6d497e4c2195fa0e8b2016b337532b8a699a68bcb22a512870e16925c6a5c
>-SIZE (sphinx_rtd_theme-1.0.0.tar.gz) = 2780623
>+TIMESTAMP = 1746798280
>+SHA256 (readthedocs-sphinx_rtd_theme-3.0.2_GH0.tar.gz) = 6d8e0435e525afe04cb3a10e9429cff37febef612a376576b69b63178f289aba
>+SIZE (readthedocs-sphinx_rtd_theme-3.0.2_GH0.tar.gz) = 3161950
>diff --git a/textproc/py-sphinx_rtd_theme/pkg-descr b/textproc/py-sphinx_rtd_theme/pkg-descr
>index 395803b1ddf4..e7b49342640a 100644
>--- a/textproc/py-sphinx_rtd_theme/pkg-descr
>+++ b/textproc/py-sphinx_rtd_theme/pkg-descr
>@@ -1 +1,3 @@
>-Prototype mobile-friendly Read the Docs Sphinx theme.
>+This Sphinx theme was designed to provide a great reader experience for
>+documentation users on both desktop and mobile devices. This theme is used
>+primarily on Read the Docs but can work with any Sphinx project.
>-- 
>2.49.0
>

-- 
You are receiving this mail because:
You are on the CC list for the bug.