From d1c6d89e567d8d9687fe32d53fa7db23f5034f85 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 15 Sep 2023 09:54:48 -0600 Subject: [PATCH] Version 0.14.0 --- ...ta-sphinx-theme-0.14.0-vendor-licenses.txt | 3 ++- python-pydata-sphinx-theme-fontawesome.patch | 21 +++++++++++++------ python-pydata-sphinx-theme.spec | 18 +++++++--------- sources | 4 ++-- 4 files changed, 27 insertions(+), 19 deletions(-) rename pydata-sphinx-theme-0.13.3-vendor-licenses.txt => pydata-sphinx-theme-0.14.0-vendor-licenses.txt (90%) diff --git a/pydata-sphinx-theme-0.13.3-vendor-licenses.txt b/pydata-sphinx-theme-0.14.0-vendor-licenses.txt similarity index 90% rename from pydata-sphinx-theme-0.13.3-vendor-licenses.txt rename to pydata-sphinx-theme-0.14.0-vendor-licenses.txt index b43d7d6..977fd72 100644 --- a/pydata-sphinx-theme-0.13.3-vendor-licenses.txt +++ b/pydata-sphinx-theme-0.14.0-vendor-licenses.txt @@ -1,12 +1,13 @@ yarn run v1.22.19 $ /tmpnode_modules/.bin/license-checker --summary -├─ MIT: 321 +├─ MIT: 329 ├─ ISC: 40 ├─ BSD-2-Clause: 16 ├─ BSD-3-Clause: 6 ├─ Apache-2.0: 4 ├─ CC0-1.0: 2 ├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1 +├─ MPL-2.0: 1 ├─ CC-BY-4.0: 1 ├─ CC-BY-3.0: 1 ├─ (MIT AND CC-BY-3.0): 1 diff --git a/python-pydata-sphinx-theme-fontawesome.patch b/python-pydata-sphinx-theme-fontawesome.patch index d3c87a9..d4763ac 100644 --- a/python-pydata-sphinx-theme-fontawesome.patch +++ b/python-pydata-sphinx-theme-fontawesome.patch @@ -1,5 +1,5 @@ ---- pydata-sphinx-theme-0.13.3/webpack.config.js.orig 2023-03-30 06:54:54.000000000 -0600 -+++ pydata-sphinx-theme-0.13.3/webpack.config.js 2023-03-30 09:15:21.014245477 -0600 +--- pydata-sphinx-theme-0.14.0/webpack.config.js.orig 2023-09-15 00:05:14.000000000 -0600 ++++ pydata-sphinx-theme-0.14.0/webpack.config.js 2023-09-15 08:31:37.188931403 -0600 @@ -29,12 +29,8 @@ exec(`pybabel compile -d ${localePath} - * Paths for various assets (sources and destinations) */ @@ -13,12 +13,16 @@ /******************************************************************************* * functions to load the assets in the html head -@@ -60,12 +56,12 @@ const theme_scripts = [ +@@ -60,15 +56,15 @@ const theme_scripts = [ "scripts/pydata-sphinx-theme.js", ]; const fa_stylesheets = [ - `vendor/fontawesome/${vendorVersions.fontAwesome}/css/all.min.css`, + `file:///usr/share/fontawsome/css/all.min.css`, + ]; + const fa_scripts = [ +- `vendor/fontawesome/${vendorVersions.fontAwesome}/js/all.min.js`, ++ `file:///usr/share/fontawesome/js/all.min.js`, ]; const fa_fonts = [ - `vendor/fontawesome/${vendorVersions.fontAwesome}/webfonts/fa-solid-900.woff2`, @@ -30,7 +34,7 @@ ]; /******************************************************************************* -@@ -116,26 +112,6 @@ const htmlWebpackPlugin = new HtmlWebpac +@@ -120,31 +116,6 @@ const htmlWebpackPlugin = new HtmlWebpac templateContent: macroTemplate, }); @@ -47,6 +51,11 @@ - to: resolve(faPath.fontAwesome, "css"), - }, - { +- context: "./node_modules/@fortawesome/fontawesome-free/js", +- from: "all.min.js", +- to: resolve(faPath.fontAwesome, "js"), +- }, +- { - context: "./node_modules/@fortawesome/fontawesome-free", - from: "webfonts", - to: resolve(faPath.fontAwesome, "webfonts"), @@ -57,7 +66,7 @@ module.exports = { mode: "production", devtool: "source-map", -@@ -155,7 +131,7 @@ module.exports = { +@@ -164,7 +135,7 @@ module.exports = { ], }], }, @@ -65,4 +74,4 @@ + plugins: [htmlWebpackPlugin, new MiniCssExtractPlugin({ filename: "styles/[name].css" })], - }; + experiments: { diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index f696e6a..31f6bcb 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -4,8 +4,8 @@ %bcond_with docs Name: python-pydata-sphinx-theme -Version: 0.13.3 -Release: 3%{?dist} +Version: 0.14.0 +Release: 1%{?dist} Summary: Bootstrap-based Sphinx theme from the PyData community # This project is BSD-3-Clause. @@ -32,12 +32,10 @@ BuildRequires: make BuildRequires: nodejs-devel BuildRequires: nodejs-npm BuildRequires: python3-devel -BuildRequires: yarnpkg -%if %{without docs} BuildRequires: %{py3_dist pytest-regressions} -%endif +BuildRequires: yarnpkg -Provides: bundled(js-bootstrap) = 5.2.3 +Provides: bundled(js-bootstrap) = 5.3.2 %if %{without docs} Obsoletes: %{name}-doc < 0.13.0-1 @@ -86,9 +84,6 @@ cp -p %{SOURCE2} . # Point to the local switcher instead of the inaccessible one on the web sed -i 's,https://pydata-sphinx-theme\.readthedocs\.io/en/latest/,,' docs/conf.py -%else -# We cannot run doctests -sed -i '/pydata-sphinx-theme\[doc\]/d' pyproject.toml %endif # Substitute the installed nodejs version for the requested version @@ -123,7 +118,7 @@ cd - %endif %check -# Sphinx 5.3.0 does not have the translation the translation test looks for +# Sphinx 7.1.2 does not have the translation the translation test looks for %pytest -k 'not test_translations' %files -n python3-pydata-sphinx-theme -f %{pyproject_files} @@ -136,6 +131,9 @@ cd - %endif %changelog +* Fri Sep 15 2023 Jerry James - 0.14.0-1 +- Version 0.14.0 + * Fri Jul 21 2023 Fedora Release Engineering - 0.13.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 0eef2b8..3c2448f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pydata-sphinx-theme-0.13.3.tar.gz) = 312308838a78bf66430660ee0d7484cf20004926446111e1e8bf89fc96b38f4b8345b96856705aaa56371b31c369066a043c53d263731ccb411e7e263fc3a96a -SHA512 (pydata-sphinx-theme-0.13.3-vendor.tar.xz) = 9d20d4022fb48d2bded694a2f86d6c7bf2856ab60a0e0027a52d17effdfe7c0e20f14edc6773c018a2cfbeb2f668c0f51b67bdfe330c487ea8a1aea03ff57c23 +SHA512 (pydata-sphinx-theme-0.14.0.tar.gz) = bd75f75eca88f2da8edd197934cc6257058b0fa5699c3f0a372647fc54fcdb5c2e4dc36fbf1a7ddc96a3751118f514374345e568774911feb1297c5b762ba3e3 +SHA512 (pydata-sphinx-theme-0.14.0-vendor.tar.xz) = 1f98113ed5ae79f202c274e63f65b83cf7d36bd7f1b892cbab729364f66d8778d4e7c587093b714830dbcf7be47323ba51d0586f258c0f86f61ecea8de015e46