summaryrefslogtreecommitdiff
path: root/textproc/py-pydata-sphinx-theme/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-pydata-sphinx-theme/files')
-rw-r--r--textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml13
-rw-r--r--textproc/py-pydata-sphinx-theme/files/setup.py94
2 files changed, 13 insertions, 94 deletions
diff --git a/textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml b/textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml
new file mode 100644
index 000000000000..a7267a959b68
--- /dev/null
+++ b/textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml
@@ -0,0 +1,13 @@
+--- pyproject.toml.orig 2024-06-25 19:27:20 UTC
++++ pyproject.toml
+@@ -1,8 +1,6 @@
+ [build-system]
+-requires = [
+- "sphinx-theme-builder @ https://github.com/pradyunsg/sphinx-theme-builder/archive/87214d0671c943992c05e3db01dca997e156e8d6.zip",
+-]
+-build-backend = "sphinx_theme_builder"
++requires = ["flit-core >= 3.9.0"]
++build-backend = "flit_core.buildapi"
+
+ [tool.sphinx-theme-builder]
+ node-version = "16.13.2"
diff --git a/textproc/py-pydata-sphinx-theme/files/setup.py b/textproc/py-pydata-sphinx-theme/files/setup.py
deleted file mode 100644
index 2bafdd72b63d..000000000000
--- a/textproc/py-pydata-sphinx-theme/files/setup.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from setuptools import setup
-
-setup(
- name = 'pydata-sphinx-theme',
- version = '%%PORTVERSION%%',
- description = 'Bootstrap-based Sphinx theme from the PyData community',
- maintainer = 'Joris Van den Bossche',
- maintainer_email = 'jorisvandenbossche@gmail.com',
- url = None,
- packages = ['pydata_sphinx_theme'],
- package_dir = {'': 'src'},
- package_data = {'': ['*']},
- install_requires = [
- 'sphinx>=5',
- 'beautifulsoup4',
- 'docutils!=0.17.0',
- 'packaging',
- 'Babel',
- 'pygments>=2.7',
- 'accessible-pygments',
- 'typing-extensions'
- ],
- extras_require = {
- 'doc': [
- 'numpydoc',
- 'linkify-it-py', # for link shortening
- 'rich',
- 'sphinxext-rediraffe',
- 'sphinx-sitemap',
- 'sphinx-autoapi>=3.0.0',
- # For examples section
- 'myst-parser',
- 'ablog>=0.11.8',
- 'jupyter_sphinx',
- 'pandas',
- 'plotly',
- 'matplotlib',
- 'numpy',
- 'xarray',
- 'sphinx-copybutton',
- 'sphinx-design',
- 'sphinx-togglebutton',
- 'jupyterlite-sphinx',
- 'sphinxcontrib-youtube>=1.4.1',
- 'sphinx-favicon>=1.0.1',
- # Install nbsphinx in case we want to test it locally even though we can't load
- # it at the same time as MyST-NB.
- 'ipykernel',
- 'nbsphinx',
- 'ipyleaflet',
- 'colorama',
- 'ipywidgets',
- 'graphviz',
- ],
- 'test': [
- 'pytest',
- 'pytest-cov',
- 'pytest-regressions',
- 'sphinx[test]',
- ],
- 'dev': [
- 'pyyaml',
- 'pre-commit',
- 'pydata-sphinx-theme[doc,test]',
- 'tox',
- 'pandoc',
- 'sphinx-theme-builder[cli]',
- ],
- 'a11y': [
- 'pytest-playwright',
- ],
- 'i18n': [
- 'Babel',
- 'jinja2',
- ],
- },
- entry_points = {
- 'sphinx.html_themes': ['pydata_sphinx_theme = pydata_sphinx_theme'],
- },
- classifiers = [
- 'Development Status :: 5 - Production/Stable',
- 'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.9',
- 'Programming Language :: Python :: 3.10',
- 'Programming Language :: Python :: 3.11',
- 'Programming Language :: Python :: 3.12',
- 'Framework :: Sphinx',
- 'Framework :: Sphinx :: Theme',
- 'License :: OSI Approved :: BSD License',
- 'Operating System :: OS Independent',
- ],
- license = 'BSD License',
- python_requires = '>= 3.7',
-)