diff --git a/textproc/py-furo/Makefile b/textproc/py-furo/Makefile index 45947676159f..de698268d716 100644 --- a/textproc/py-furo/Makefile +++ b/textproc/py-furo/Makefile @@ -1,34 +1,34 @@ PORTNAME= furo -PORTVERSION= 2023.7.26 +PORTVERSION= 2023.9.10 CATEGORIES= textproc python MASTER_SITES= PYPI \ LOCAL/sunpoet:static PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME}-static${EXTRACT_SUFX}:static MAINTAINER= sunpoet@FreeBSD.org COMMENT= Clean customizable Sphinx documentation theme WWW= https://pradyunsg.me/furo/ \ https://github.com/pradyunsg/furo LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.7:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=5.0,1<8.0,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-basic-ng>=0:textproc/py-sphinx-basic-ng@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py post-install: cd ${WRKDIR}/static/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/furo/theme/furo/static/ .include diff --git a/textproc/py-furo/distinfo b/textproc/py-furo/distinfo index 08d419496f09..09b2b02e350a 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 000000000000..317907a22943 --- /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 7d60e18029b8..64b9518ddfa2 100644 --- a/textproc/py-furo/files/setup.py +++ b/textproc/py-furo/files/setup.py @@ -1,47 +1,64 @@ #!/usr/bin/env python # setup.py generated by flit for tools that don't yet use PEP 517 from distutils.core import setup packages = \ ['furo'] package_data = \ {'': ['*'], 'furo': ['assets/*', 'assets/scripts/*', 'assets/styles/*', 'assets/styles/base/*', 'assets/styles/components/*', 'assets/styles/content/*', 'assets/styles/extensions/*', 'assets/styles/variables/*', 'theme/*', 'theme/furo/*', 'theme/furo/components/*', 'theme/furo/partials/*', 'theme/furo/sidebar/*', 'theme/furo/static/*']} package_dir = \ {'': 'src'} install_requires = \ ['beautifulsoup4', 'sphinx >= 5.0,<8.0', 'sphinx-basic-ng', 'pygments >= 2.7'] entry_points = \ {'sphinx.html_themes': ['furo = furo']} setup(name='furo', version='%%PORTVERSION%%', 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', )