Version 0.14.0

This commit is contained in:
Jerry James 2023-09-15 09:54:48 -06:00
commit d1c6d89e56
4 changed files with 27 additions and 19 deletions

View file

@ -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

View file

@ -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: {

View file

@ -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 <loganjerry@gmail.com> - 0.14.0-1
- Version 0.14.0
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View file

@ -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