summaryrefslogtreecommitdiff
path: root/textproc/py-furo/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-furo/files')
-rw-r--r--textproc/py-furo/files/patch-pyproject.toml20
-rw-r--r--textproc/py-furo/files/setup.py64
2 files changed, 20 insertions, 64 deletions
diff --git a/textproc/py-furo/files/patch-pyproject.toml b/textproc/py-furo/files/patch-pyproject.toml
new file mode 100644
index 000000000000..3b6bc146f138
--- /dev/null
+++ b/textproc/py-furo/files/patch-pyproject.toml
@@ -0,0 +1,20 @@
+--- pyproject.toml.orig 2024-07-24 09:09:51 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+-requires = ["sphinx-theme-builder >= 0.2.0a10"]
+-build-backend = "sphinx_theme_builder"
++requires = ["flit-core >= 3.9.0"]
++build-backend = "flit_core.buildapi"
+
+ [tool.sphinx-theme-builder]
+ node-version = "18.16.0"
+@@ -15,7 +15,7 @@ dependencies = [
+ requires-python = ">=3.8"
+ dependencies = [
+ "beautifulsoup4",
+- "sphinx >= 6.0,<9.0",
++ "sphinx >= 5.0,<9.0",
+ "sphinx-basic-ng >= 1.0.0.beta2",
+ "pygments >= 2.7",
+ ]
diff --git a/textproc/py-furo/files/setup.py b/textproc/py-furo/files/setup.py
deleted file mode 100644
index e06f11d12151..000000000000
--- a/textproc/py-furo/files/setup.py
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/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,<9.0', 'sphinx-basic-ng >= 1.0.0.beta2', '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 <mail@pradyunsg.me>',
- 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.8',
- )