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,34 +1,34 @@ PORTNAME= sphinx-book-theme PORTVERSION= 0.3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc python MASTER_SITES= PYPI \ LOCAL/sunpoet:static PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= sphinx_book_theme-${PORTVERSION}${EXTRACT_SUFX} \ sphinx_book_theme-${PORTVERSION}-static${EXTRACT_SUFX}:static MAINTAINER= sunpoet@FreeBSD.org COMMENT= Bootstrap-based Sphinx theme from the PyData community WWW= https://github.com/executablebooks/sphinx-book-theme LICENSE= BSD3CLAUSE 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 NO_ARCH= yes WRKSRC= ${WRKDIR}/sphinx_book_theme-${PORTVERSION} post-patch: @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py post-install: cd ${WRKDIR}/static/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinx_book_theme/ .include 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 @@ -1,70 +1,70 @@ from setuptools import setup setup( name = 'sphinx-book-theme', version = '%%PORTVERSION%%', description = 'A clean book theme for scientific explanations and documentation with Sphinx', maintainer = 'Chris Holdgraf', maintainer_email = 'choldgraf@gmail.com', url = None, packages = [ 'sphinx_book_theme', 'sphinx_book_theme.header_buttons', ], package_dir = {'': 'src'}, package_data = {'': ['*']}, install_requires = [ - 'sphinx>=3,<5', + 'sphinx>=3,<6', 'pydata-sphinx-theme~=0.8.0', 'pyyaml', ], extras_require = { 'code_style': [ 'pre-commit~=2.7.0' ], 'doc': [ 'ablog~=0.10.13', 'ipywidgets', 'folium', 'numpy', 'matplotlib', 'numpydoc', 'myst-nb~=0.13.2', 'nbclient', 'pandas', 'plotly', 'sphinx~=4.0', # Force Sphinx to be the latest version 'sphinx-copybutton', 'sphinx-design', 'sphinx-examples', 'sphinx-tabs', 'sphinx-togglebutton>=0.2.1', 'sphinx-thebe>=0.1.1', 'sphinxcontrib-bibtex~=2.2', 'sphinxcontrib-youtube', 'sphinxext-opengraph', ], 'test': [ 'beautifulsoup4>=4.6.1,<5', 'coverage', 'myst_nb~=0.13.2', 'pytest~=6.0.1', 'pytest-cov', 'pytest-regressions~=2.0.1', 'sphinx_thebe' ], }, entry_points = { 'sphinx.html_themes': ['sphinx_book_theme = sphinx_book_theme'], }, classifiers = [ 'Development Status :: 4 - Beta', 'Programming Language :: Python :: 3', 'Framework :: Sphinx', 'Framework :: Sphinx :: Theme', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', ], license = 'BSD License', python_requires = '>= 3.7', )