diff --git a/pydata-sphinx-theme-0.17.1-vendor-licenses.txt b/pydata-sphinx-theme-0.18.0-vendor-licenses.txt similarity index 66% rename from pydata-sphinx-theme-0.17.1-vendor-licenses.txt rename to pydata-sphinx-theme-0.18.0-vendor-licenses.txt index 78b81eb..0d4c7d2 100644 --- a/pydata-sphinx-theme-0.17.1-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.18.0-vendor-licenses.txt @@ -1,12 +1,14 @@ yarn run v1.22.22 $ /tmp/node_modules/.bin/license-checker --summary -├─ MIT: 262 -├─ ISC: 31 +├─ MIT: 346 +├─ ISC: 38 ├─ BSD-2-Clause: 19 -├─ BSD-3-Clause: 7 -├─ Apache-2.0: 6 -├─ CC0-1.0: 3 +├─ BSD-3-Clause: 8 +├─ Apache-2.0: 7 +├─ CC0-1.0: 4 +├─ MIT-0: 2 ├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1 +├─ Python-2.0: 1 ├─ MPL-2.0: 1 ├─ CC-BY-4.0: 1 ├─ (WTFPL OR MIT): 1 @@ -15,4 +17,4 @@ $ /tmp/node_modules/.bin/license-checker --summary ├─ (MIT AND CC-BY-3.0): 1 └─ 0BSD: 1 -Done in 0.58s. +Done in 0.68s. diff --git a/python-pydata-sphinx-theme-fontawesome.patch b/python-pydata-sphinx-theme-fontawesome.patch index 5eda863..0387abf 100644 --- a/python-pydata-sphinx-theme-fontawesome.patch +++ b/python-pydata-sphinx-theme-fontawesome.patch @@ -1,13 +1,13 @@ ---- pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/scripts/fontawesome.js.orig 2024-12-17 03:38:01.000000000 -0700 -+++ pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/scripts/fontawesome.js 2024-12-17 09:09:44.347458128 -0700 +--- pydata-sphinx-theme-0.18.0/src/pydata_sphinx_theme/assets/scripts/fontawesome.js.orig 2026-05-20 01:34:51.000000000 -0600 ++++ pydata-sphinx-theme-0.18.0/src/pydata_sphinx_theme/assets/scripts/fontawesome.js 2026-05-20 09:11:54.447608563 -0600 @@ -1,4 +1,4 @@ // TODO: @trallard might end up moving this to the main JS file // Define the custom behavior of the page -import "@fortawesome/fontawesome-free/js/all.min.js"; +import "/usr/share/fontawesome/js/all.min.js"; ---- pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/styles/pydata-sphinx-theme.scss.orig 2024-12-17 03:38:01.000000000 -0700 -+++ pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/styles/pydata-sphinx-theme.scss 2024-12-17 09:10:32.401619489 -0700 +--- pydata-sphinx-theme-0.18.0/src/pydata_sphinx_theme/assets/styles/pydata-sphinx-theme.scss.orig 2026-05-20 01:34:51.000000000 -0600 ++++ pydata-sphinx-theme-0.18.0/src/pydata_sphinx_theme/assets/styles/pydata-sphinx-theme.scss 2026-05-20 09:11:54.447949228 -0600 @@ -7,10 +7,10 @@ @import "~bootstrap/scss/bootstrap"; @@ -23,11 +23,3 @@ // Variables @import "variables/layout"; ---- pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/styles/variables/_fonts.scss.orig 2024-12-17 03:38:01.000000000 -0700 -+++ pydata-sphinx-theme-0.16.1/src/pydata_sphinx_theme/assets/styles/variables/_fonts.scss 2024-12-17 09:10:57.682173950 -0700 -@@ -44,4 +44,4 @@ html { - } - - $line-height-body: 1.65; --$fa-font-path: "vendor/fontawesome/webfonts/"; -+$fa-font-path: "/usr/share/fontawesome/webfonts/"; diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 63113f8..604481c 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -6,7 +6,7 @@ %global giturl https://github.com/pydata/pydata-sphinx-theme Name: python-pydata-sphinx-theme -Version: 0.17.1 +Version: 0.18.0 Release: %autorelease Summary: Bootstrap-based Sphinx theme from the PyData community @@ -44,7 +44,7 @@ BuildRequires: /usr/bin/node BuildRequires: /usr/bin/npm BuildRequires: yarnpkg -Provides: bundled(js-bootstrap) = 5.3.8 +Provides: bundled(npm(bootstrap)) = 5.3.8 %if %{without docs} Obsoletes: %{name}-doc < 0.13.0-1 @@ -107,16 +107,13 @@ sed -i 's,https://pydata-sphinx-theme\.readthedocs\.io/en/latest/,,' docs/conf.p sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml # Skip the playwright tests, since playwright is not available in Fedora -sed -i '/pytest-playwright/d' pyproject.toml +%pyproject_patch_dependency pytest-playwright:ignore # Do not run coverage tools in an RPM build -sed -i '/pytest-cov/d' pyproject.toml +%pyproject_patch_dependency pytest-cov:ignore -%generate_buildrequires -p # The Fedora sphinx package does not provide sphinx[test] sed -i 's/\(sphinx\)\[test\]/\1/' pyproject.toml -# Do not run code coverage tools -sed -i 's/, "pytest-cov"//' pyproject.toml %build -p export YARN_CACHE_FOLDER="$PWD/.package-cache" diff --git a/sources b/sources index 3014ef8..a46aa8f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pydata-sphinx-theme-0.17.1.tar.gz) = 883a3e11a200ecb05f7bd4a9cb528168963a161a3c2c263534359e94abc982de1ea249731a5a63a467bc99f6b0e3bb7de59d093b8c9a67c83377a7d866899fc6 -SHA512 (pydata-sphinx-theme-0.17.1-vendor.tar.xz) = 6606572c77329d228bc4b845fd7349d72a217f522d83546d8163f51d4b63b0089819493b0fee1706ee6ec2c901efa5e0edce030d8a5d22fbafd78b9057c8e665 +SHA512 (pydata-sphinx-theme-0.18.0.tar.gz) = ecd6d9e138007ca7c42807d3fad9d275abc1531f3360beeae18d8b960825a2704de1c136c6bc49e74f82a7bf29094fcee5c43da551d6b99831b4f8e82156dcfd +SHA512 (pydata-sphinx-theme-0.18.0-vendor.tar.xz) = 925d7589105d314176ae051e8342b2d65b63d1a941cde3a83700118d5823843e9a0c15fbc55da1dc2f0db5f9c6805af74702c77d3ef932fdcb679d2849adcafa