From 7668cedb379c55db16a7e132852802ffa8cdf8e8 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 27 Nov 2023 18:03:06 +0800 Subject: [PATCH] textproc/py-furo: Update to 2023.9.10 Changes: https://github.com/pradyunsg/furo/blob/main/docs/changelog.md https://pradyunsg.me/furo/changelog/ --- textproc/py-furo/Makefile | 2 +- textproc/py-furo/distinfo | 10 +++++----- .../py-furo/files/patch-src-furo-__init__.py | 11 +++++++++++ textproc/py-furo/files/setup.py | 19 ++++++++++++++++++- 4 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 textproc/py-furo/files/patch-src-furo-__init__.py diff --git a/textproc/py-furo/Makefile b/textproc/py-furo/Makefile index 45947676159fb..de698268d716f 100644 --- a/textproc/py-furo/Makefile +++ b/textproc/py-furo/Makefile @@ -1,5 +1,5 @@ PORTNAME= furo -PORTVERSION= 2023.7.26 +PORTVERSION= 2023.9.10 CATEGORIES= textproc python MASTER_SITES= PYPI \ LOCAL/sunpoet:static diff --git a/textproc/py-furo/distinfo b/textproc/py-furo/distinfo index 08d419496f09d..09b2b02e350a4 100644 --- a/textproc/py-furo/distinfo +++ b/textproc/py-furo/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1691070166 -SHA256 (furo-2023.7.26.tar.gz) = 257f63bab97aa85213a1fa24303837a3c3f30be92901ec732fea74290800f59e -SIZE (furo-2023.7.26.tar.gz) = 1656642 -SHA256 (furo-2023.7.26-static.tar.gz) = 8ca1326403b40a932d2db7aeefa9f160defe0053ca5ec7914aba395b4dafba50 -SIZE (furo-2023.7.26-static.tar.gz) = 177152 +TIMESTAMP = 1700759864 +SHA256 (furo-2023.9.10.tar.gz) = 5707530a476d2a63b8cad83b4f961f3739a69f4b058bcf38a03a39fa537195b2 +SIZE (furo-2023.9.10.tar.gz) = 1657257 +SHA256 (furo-2023.9.10-static.tar.gz) = 3ec833b31b2c0a4304557a01aad7c11eb5d705c5c4f72366809582df157ed810 +SIZE (furo-2023.9.10-static.tar.gz) = 177152 diff --git a/textproc/py-furo/files/patch-src-furo-__init__.py b/textproc/py-furo/files/patch-src-furo-__init__.py new file mode 100644 index 0000000000000..317907a229432 --- /dev/null +++ b/textproc/py-furo/files/patch-src-furo-__init__.py @@ -0,0 +1,11 @@ +--- src/furo/__init__.py.orig 2023-09-10 14:57:28 UTC ++++ src/furo/__init__.py +@@ -347,7 +347,7 @@ def _overwrite_pygments_css( + + def setup(app: sphinx.application.Sphinx) -> Dict[str, Any]: + """Entry point for sphinx theming.""" +- app.require_sphinx("6.0") ++ app.require_sphinx("5.0") + + app.add_config_value( + "pygments_dark_style", default="native", rebuild="env", types=[str] diff --git a/textproc/py-furo/files/setup.py b/textproc/py-furo/files/setup.py index 7d60e18029b89..64b9518ddfa2a 100644 --- a/textproc/py-furo/files/setup.py +++ b/textproc/py-furo/files/setup.py @@ -37,11 +37,28 @@ description='A clean customisable Sphinx documentation theme.', author=None, author_email='Pradyun Gedam ', + classifiers=[ + 'Framework :: Sphinx', + 'Framework :: Sphinx :: Theme', + 'Development Status :: 5 - Production/Stable', + 'License :: OSI Approved :: MIT License', + 'Environment :: Web Environment', + 'Intended Audience :: Developers', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + 'Operating System :: OS Independent', + 'Topic :: Documentation', + 'Topic :: Software Development :: Documentation', + ], url=None, packages=packages, package_data=package_data, package_dir=package_dir, install_requires=install_requires, entry_points=entry_points, - python_requires='>=3.7', + python_requires='>=3.8', )