diff --git a/0001-fix-deps-limit-version.patch b/0001-fix-deps-limit-version.patch deleted file mode 100644 index 117e1ca4d21fdaa022dd9c6a2d9b0265c778a916..0000000000000000000000000000000000000000 --- a/0001-fix-deps-limit-version.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0436b11d95d0f60bb6266c1dcd2cd6952678634e Mon Sep 17 00:00:00 2001 -From: desert-sailor -Date: Tue, 5 Nov 2024 14:31:06 +0800 -Subject: [PATCH] fix deps limit version - ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 0708c83..ecf0138 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -16,7 +16,7 @@ requires-python = ">=3.8" - dependencies = [ - "beautifulsoup4", - "sphinx >= 6.0,<9.0", -- "sphinx-basic-ng >= 1.0.0.beta2", -+ "sphinx-basic-ng >= 1.0.0b2", - "pygments >= 2.7", - ] - --- -2.43.0 - diff --git a/furo-2024.08.06.tar.gz b/furo-2024.08.06.tar.gz deleted file mode 100644 index a2e418b401d55d42a286560b55471c5f19bb50c3..0000000000000000000000000000000000000000 Binary files a/furo-2024.08.06.tar.gz and /dev/null differ diff --git a/furo-2024.08.06-vendor-licenses.txt b/furo-2025.07.19-vendor-licenses.txt similarity index 57% rename from furo-2024.08.06-vendor-licenses.txt rename to furo-2025.07.19-vendor-licenses.txt index 58b699c5859f4024448c99d2d685fb53bc29e941..8f1b82afe564123f5d90f71e408ff8c85ffc107a 100644 --- a/furo-2024.08.06-vendor-licenses.txt +++ b/furo-2025.07.19-vendor-licenses.txt @@ -1,8 +1,8 @@ -yarn run v1.22.19 -$ /tmpnode_modules/.bin/license-checker --summary -├─ MIT: 236 +yarn run v1.22.22 +$ /tmp/node_modules/.bin/license-checker --summary +├─ MIT: 230 ├─ ISC: 31 -├─ BSD-2-Clause: 15 +├─ BSD-2-Clause: 14 ├─ BSD-3-Clause: 7 ├─ Apache-2.0: 5 ├─ CC0-1.0: 3 @@ -11,4 +11,4 @@ $ /tmpnode_modules/.bin/license-checker --summary ├─ CC-BY-3.0: 1 └─ (MIT AND CC-BY-3.0): 1 -Done in 0.60s. +Done in 0.46s. diff --git a/furo-2024.08.06-vendor.tar.xz b/furo-2025.07.19-vendor.tar.xz similarity index 65% rename from furo-2024.08.06-vendor.tar.xz rename to furo-2025.07.19-vendor.tar.xz index 53b464176c1320a4fe6866979b381b74f434cf37..5f5cec57f3ac54ba8b305b33cc12775f2967fc10 100644 Binary files a/furo-2024.08.06-vendor.tar.xz and b/furo-2025.07.19-vendor.tar.xz differ diff --git a/furo-2025.07.19.tar.gz b/furo-2025.07.19.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..16c2b6ad9455ed58b1240b8afc046490d9145561 Binary files /dev/null and b/furo-2025.07.19.tar.gz differ diff --git a/prepare_vendor.sh b/prepare_vendor.sh deleted file mode 100755 index 9a4b622924b60cd3c51fe26775b3c48c345aaf12..0000000000000000000000000000000000000000 --- a/prepare_vendor.sh +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/bash -yum -y install nodejs-yarn spectool rpm-build - -PKG_URL=$(spectool *.spec --source 0 | sed -e 's/Source0:[ ]*//g') -PKG_TARBALL=$(basename $PKG_URL) -PKG_NAME=$(rpmspec -q --queryformat="%{NAME}" *.spec --srpm | sed 's/^python-//') -PKG_VERSION=$(rpmspec -q --queryformat="%{VERSION}" *.spec --srpm) -PKG_SRCDIR="${PKG_NAME}-${PKG_VERSION}" -PKG_DIR="$PWD" -PKG_TMPDIR=$(mktemp --tmpdir -d ${PKG_NAME}-XXXXXXXX) -PKG_PATH="$PKG_TMPDIR/$PKG_SRCDIR/" - -echo "URL: $PKG_URL" -echo "TARBALL: $PKG_TARBALL" -echo "NAME: $PKG_NAME" -echo "VERSION: $PKG_VERSION" -echo "PATH: $PKG_PATH" - -cleanup_tmpdir() { - popd 2>/dev/null - rm -rf $PKG_TMPDIR - rm -rf /tmp/yarn--* -} -trap cleanup_tmpdir SIGINT - -cleanup_and_exit() { - cleanup_tmpdir - if test "$1" = 0 -o -z "$1" ; then - exit 0 - else - exit $1 - fi -} - -if [ ! -w "$PKG_TARBALL" ]; then - wget "$PKG_URL" -fi - - -mkdir -p $PKG_TMPDIR -tar -xf $PKG_TARBALL -C $PKG_TMPDIR - -cd $PKG_PATH - -export YARN_CACHE_FOLDER="$PWD/.package-cache" -echo ">>>>>> Install npm modules" -rm package-lock.json -yarn install -if [ $? -ne 0 ]; then - echo "ERROR: yarn install failed" - cleanup_and_exit 1 -fi - -echo ">>>>>> Cleanup object dirs" -find node_modules/ -type d -name "*.o.d" -execdir rm {} + -find node_modules/ -type d -name "__pycache__" -execdir rm {} + - -echo ">>>>>> Cleanup object files" -find node_modules/ -name "*.node" -execdir rm {} + - -find node_modules/ -name "*.dll" | grep -Fv signal-client | xargs rm -f -find node_modules/ -name "*.dylib" -delete -find node_modules/ -name "*.so" -delete -find node_modules/ -name "*.o" -delete -find node_modules/ -name "*.a" -delete -find node_modules/ -name "*.snyk-*.flag" -delete - -echo ">>>>>> Cleanup build info" -find node_modules/ -name "builderror.log" -delete -find node_modules/ -name "yarn-error.log" -delete -find node_modules/ -name "yarn.lock" -delete -find node_modules/ -name ".deps" -type d -execdir rm {} + -find node_modules/ -name "Makefile" -delete -find node_modules/ -name "*.target.mk" -delete -find node_modules/ -name "config.gypi" -delete -find node_modules/ -name "package.json" -exec sed -i "s#$PKG_PATH#/tmp#g" {} \; - -echo ">>>>>> Cleanup yarn tarballs" -find node_modules/ -name ".yarn-tarball.tgz" -delete - -echo ">>>>>> Cleanup source maps" -find node_modules/ -name "*.js.map" -delete -find node_modules/ -name "*.ts.map" -delete -find node_modules/ -name "*.mjs.map" -delete -find node_modules/ -name "*.cjs.map" -delete -find node_modules/ -name "*.css.map" -delete -find node_modules/ -name "*.min.map" -delete - -echo ">>>>>> Package vendor files" -rm -f $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz -XZ_OPT="-9e -T$(nproc)" tar cJf $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz .package-cache -if [ $? -ne 0 ]; then - cleanup_and_exit 1 -fi - -yarn add license-checker -yarn license-checker --summary | sed "s#$PKG_PATH#/tmp#g" > $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor-licenses.txt - -cd - - -rm -rf .package-cache -cleanup_and_exit 0 diff --git a/python-furo.spec b/python-furo.spec index 90cd8b4d1cb6c3fb589339007514a749393cabe2..1b007ed56c42391b7e192712ff3bd3802408a38d 100644 --- a/python-furo.spec +++ b/python-furo.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-furo -Version: 2024.08.06 +Version: 2025.07.19 Release: 1 Summary: A clean customisable Sphinx documentation theme. @@ -11,7 +11,6 @@ Source0: https://github.com/pradyunsg/furo/archive/%{version}/furo-%{vers # Source1 and Source2 created with ./prepare_vendor.sh Source1: furo-%{version}-vendor.tar.xz Source2: furo-%{version}-vendor-licenses.txt -Patch1: 0001-fix-deps-limit-version.patch BuildArch: noarch BuildRequires: nodejs-devel @@ -128,6 +127,12 @@ rm -rf html/{.buildinfo,.doctrees} %license LICENSE %changelog +* Mon Sep 29 2025 liutao1 liutao1@kylinos.cn - 2025.7.19-1 +- Update package with version 2025.7.19 + Fix flickering header drop shadow + Remove "debug printf" for headerTop value + Add rel=edit attribute to "Edit this page" link/icon + * Tue Nov 5 2024 Dongxing Wang - 2024.08.06-1 - Update package with version 2024.08.06 Fix how content overflow is handled