14
0
Files
python-pydata-sphinx-theme/python-pydata-sphinx-theme.spec

119 lines
4.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-pydata-sphinx-theme
#
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python36 1
Name: python-pydata-sphinx-theme
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
Version: 0.15.4
Release: 0
Summary: Bootstrap-based Sphinx theme from the PyData community
License: BSD-3-Clause
URL: https://github.com/pydata/pydata-sphinx-theme
Source: pydata-sphinx-theme-%{version}.tar.gz
# Source: https://files.pythonhosted.org/packages/source/p/pydata-sphinx-theme/pydata_sphinx_theme-%%{version}.tar.gz
# Source1 and Source2 created with ./prepare_vendor.sh
Source1: python-pydata-sphinx-theme-%{version}-vendor.tar.xz
Source2: python-pydata-sphinx-theme-%{version}-vendor-licenses.txt
Source99: prepare_vendor.sh
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module sphinx-theme-builder}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
Requires: python-Babel
Requires: python-Sphinx
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
Requires: python-accessible-pygments
Requires: python-beautifulsoup4
- Update to 0.7.1: * Fixing prevnext translations (#486) * RLS: v0.7.0 * Update API styling for changes in sphinx 4.x (#485) * Avoid adding margin to docutils container (from bootstrap container) (#474) * Add css for blockquote and references/citations (#482) * Move API docs related CSS to separate file (#476) * Improve styling of the Previous / Next buttons (#473) * 👌 Round edges (#472) * Bump docutils version (#463) * FIX: added gtag date and moved google analytics to header (#439) * Add explicit heading aria-level to complement heading role (#456) * revert style changes (#459) * include tests in sdist (#457) * Add pa11y testing and reporting (#294) * move parent theme css earlier in the inclusion order (#451) * FIX: Include built css/js assets in source again (#450) * Re-build assests with yarn to fix linting (#448) * Bump url-parse from 1.5.1 to 1.5.3 (#443) * TST: update role for caption in expected html output (sphinx 4.1) (#441) * Remove CircleCI from jobs (#445) * Bump path-parse from 1.0.6 to 1.0.7 (#442) * Use a variable for the color of editthispage (#412) * Bump color-string from 1.5.3 to 1.6.0 (#440) * Bump postcss from 7.0.32 to 7.0.36 (#425) * fix Fairlearn link (#430) * DOC: Add a few more projects that have adopted the theme. (#423) * Fixing admonition title CSS (#407) * Add MNE-Python to theme users list (#405) * Bump dns-packet from 1.3.1 to 1.3.4 (#421) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=4
2021-11-08 15:56:18 +00:00
Requires: python-docutils
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
Requires: python-packaging
Requires: python-pygments
Requires: python-sphinx-theme-builder
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
Requires: python-typing_extensions
Suggests: python-beautifulsoup4
Suggests: python-codecov
- Update to 0.7.1: * Fixing prevnext translations (#486) * RLS: v0.7.0 * Update API styling for changes in sphinx 4.x (#485) * Avoid adding margin to docutils container (from bootstrap container) (#474) * Add css for blockquote and references/citations (#482) * Move API docs related CSS to separate file (#476) * Improve styling of the Previous / Next buttons (#473) * 👌 Round edges (#472) * Bump docutils version (#463) * FIX: added gtag date and moved google analytics to header (#439) * Add explicit heading aria-level to complement heading role (#456) * revert style changes (#459) * include tests in sdist (#457) * Add pa11y testing and reporting (#294) * move parent theme css earlier in the inclusion order (#451) * FIX: Include built css/js assets in source again (#450) * Re-build assests with yarn to fix linting (#448) * Bump url-parse from 1.5.1 to 1.5.3 (#443) * TST: update role for caption in expected html output (sphinx 4.1) (#441) * Remove CircleCI from jobs (#445) * Bump path-parse from 1.0.6 to 1.0.7 (#442) * Use a variable for the color of editthispage (#412) * Bump color-string from 1.5.3 to 1.6.0 (#440) * Bump postcss from 7.0.32 to 7.0.36 (#425) * fix Fairlearn link (#430) * DOC: Add a few more projects that have adopted the theme. (#423) * Fixing admonition title CSS (#407) * Add MNE-Python to theme users list (#405) * Bump dns-packet from 1.3.1 to 1.3.4 (#421) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=4
2021-11-08 15:56:18 +00:00
Suggests: python-docutils
Suggests: python-jupyter_sphinx
Suggests: python-numpy
Suggests: python-numpydoc
Suggests: python-pandas
Suggests: python-plotly
Suggests: python-recommonmark
Suggests: python-Sphinx
Suggests: python-xarray
BuildArch: noarch
# SECTION test requirements
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
BuildRequires: %{python_module pygments}
BuildRequires: %{python_module Babel}
BuildRequires: %{python_module Sphinx}
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
BuildRequires: %{python_module accessible-pygments}
BuildRequires: %{python_module beautifulsoup4}
- Update to 0.7.1: * Fixing prevnext translations (#486) * RLS: v0.7.0 * Update API styling for changes in sphinx 4.x (#485) * Avoid adding margin to docutils container (from bootstrap container) (#474) * Add css for blockquote and references/citations (#482) * Move API docs related CSS to separate file (#476) * Improve styling of the Previous / Next buttons (#473) * 👌 Round edges (#472) * Bump docutils version (#463) * FIX: added gtag date and moved google analytics to header (#439) * Add explicit heading aria-level to complement heading role (#456) * revert style changes (#459) * include tests in sdist (#457) * Add pa11y testing and reporting (#294) * move parent theme css earlier in the inclusion order (#451) * FIX: Include built css/js assets in source again (#450) * Re-build assests with yarn to fix linting (#448) * Bump url-parse from 1.5.1 to 1.5.3 (#443) * TST: update role for caption in expected html output (sphinx 4.1) (#441) * Remove CircleCI from jobs (#445) * Bump path-parse from 1.0.6 to 1.0.7 (#442) * Use a variable for the color of editthispage (#412) * Bump color-string from 1.5.3 to 1.6.0 (#440) * Bump postcss from 7.0.32 to 7.0.36 (#425) * fix Fairlearn link (#430) * DOC: Add a few more projects that have adopted the theme. (#423) * Fixing admonition title CSS (#407) * Add MNE-Python to theme users list (#405) * Bump dns-packet from 1.3.1 to 1.3.4 (#421) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=4
2021-11-08 15:56:18 +00:00
BuildRequires: %{python_module docutils}
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
BuildRequires: %{python_module packaging}
Accepting request 1112217 from home:mcalabkova:branches:devel:languages:python:pydata - Update to version 0.14.0: * bump: version 0.13.3 → 0.14.0 (#1440) * fix: rollback ref and Id changes (#1438) * Add dropdown_text argument to generate_header_nav_html (#1423) * Build(deps): Bump actions/checkout from 3 to 4 (#1433) * Add the ability to add a center section to the footer (#1432) * style(i18n): French Typo fixed (#1430) * BUG - Remove redundant ARIA in breadcrumb navigation (#1426) * Do not animate the version admonitions colors. (#1424) * Fix More dropdown (html, aria, bootstrap classes) (#1414) * fix: don't display the warning bar if there is an issue (#1420) * fix: place the las_update value in the meta of each page (#1409) * MAINT - Increase axe-core accessibility testing coverage (#1408) * MAINT: Test old and new Sphinx versions (#1413) * MAINT - Add css class dropdown-item to version switcher (#1411) * Fix TocTree manipulation on Sphinx 7.2+ (#1406) * Only use ``sphinx.testing.path`` on Sphinx 7.1 and earlier (#1405) * Update gallery.yaml (#1120) * Update switcher styling (#1400) * Fix docstring typo (#1399) * Add cashocs to example gallery (#1127) * Add new Brightway Documentation Page to pydata-sphinx Example Gallery (#1232) * docs: change rational of the gallery grid (#1390) * Fix redirection for pages missing in other docs versions (#1395) * Fix version warning banner message (#1394) * update version JSON config guidance (#1393) * fix: prevent link to be followed before testing the header (#1361) * Version warningbar (#1354) * fix: link to Sphinx's theme templating page (#1388) * MAINT: deprecations (#1381) OBS-URL: https://build.opensuse.org/request/show/1112217 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=10
2023-09-19 10:29:56 +00:00
BuildRequires: %{python_module pytest-regressions}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing_extensions}
BuildRequires: nodejs-default
BuildRequires: nodejs-devel
BuildRequires: nodejs-packaging
BuildRequires: yarn
# /SECTION
%python_subpackages
%description
Bootstrap-based Sphinx theme from the PyData community
%prep
%autosetup -p1 -n pydata-sphinx-theme-%{version} -a1
sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml
# Create a node header tarball so we don't try to download it
mkdir -p node-v%{nodejs_version}/include
cp -a %{_includedir}/node* node-v%{nodejs_version}/include/node
tar czf node-v%{nodejs_version}-headers.tar.gz node-v%{nodejs_version}
echo "tarball=\"$PWD/node-v%{nodejs_version}-headers.tar.gz\"" > .npmrc
%build
export STB_USE_SYSTEM_NODE=1
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
export YARN_CACHE_FOLDER="$PWD/.package-cache"
export NODE_OPTIONS=--openssl-legacy-provider
yarn install --offline
# nodeenv generated with python3, no need to generate a different
# nodeenv for each flavor
python3 -m nodeenv --node=system --prebuilt --clean-src $PWD/.nodeenv
%pyproject_wheel
%install
%pyproject_install
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
%python_expand rm -rf %{buildroot}%{$python_sitelib}/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/.gitignore
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
- Regenerate vendored js libraries (bsc#1229866). - Update to version 0.15.4: * bump: 0.15.4rc0 → 0.15.4 * ENH - Update copyright.html to not include the html tags. (#1874) * Fix url shortening for gitlab, and more test for github (#1888) * MAINT: Bump treosh/lighthouse-ci-action from 11 to 12 (#1899) * docs: update note formatting (#1893) * docs: update badge link (#1892) * Instruction to install alpha, beta, rc and nightly (#1891) * bump: 0.15.3 → 0.15.4rc0 * MAINT: simpleify _generate_header_nav_before_dropdown (#1883) * A11Y - Add visual indicator for tabs hover (#1884) * Fix hit area icon links buttons (#1866) * Build(deps-dev): Bump braces from 3.0.2 to 3.0.3 and fill-range 7.0.1 to 7.1.1 (#1881) * bump sphinxcontrib-youtube (#1877) * fix config var names in docs (#1878) * BUG - Ensure coverage comment is triggered (#1879) * guard a couple (possibly null) querySelector results (#1860) * Updates for italian translation (#1862) * Do not apply table colors to all tables, only css=.table (#1864) * MAINT: Upload nightly wheels and run packaging on PRs and pushes (#1867) * Use navbar-nav class on text links only (#1846) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ca (#1858) * MAINT: Reenable parallel write safety (#1859) * Expose logo_link in theme.conf (#1850) * DOCS: Add navbar_persistent to overview layout (#1849) * CI - Remove lint from CI (#1856) * [pre-commit.ci] pre-commit autoupdate hooks (#1848) * Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in es (#1845) * Add documentation for the back_to_top_button config option (#1843) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydata-sphinx-theme?expand=0&rev=12
2024-09-02 14:24:21 +00:00
# No python-playwrite optional dependency gh#pydata/pydata-sphinx-theme#1541
donttest="test_pygments_fallbacks"
%pytest -k "not $donttest"
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/pydata_sphinx_theme*
%changelog