diff --git a/README.md b/README.md index 6c5b0d4..e22cdfc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # python-furo Furo is a Sphinx theme, which is: + - Intentionally minimal --- the most important thing is the content, not the scaffolding around it. - Responsive --- adapting perfectly to the available screen space, to diff --git a/furo-2024.08.06-vendor-licenses.txt b/furo-2025.12.19-vendor-licenses.txt similarity index 56% rename from furo-2024.08.06-vendor-licenses.txt rename to furo-2025.12.19-vendor-licenses.txt index 57ee66a..896f1bb 100644 --- a/furo-2024.08.06-vendor-licenses.txt +++ b/furo-2025.12.19-vendor-licenses.txt @@ -1,14 +1,15 @@ yarn run v1.22.22 $ /tmp/node_modules/.bin/license-checker --summary -├─ MIT: 237 -├─ ISC: 33 -├─ BSD-2-Clause: 15 -├─ BSD-3-Clause: 6 -├─ Apache-2.0: 4 +├─ MIT: 232 +├─ ISC: 31 +├─ BSD-2-Clause: 14 +├─ BSD-3-Clause: 7 +├─ Apache-2.0: 6 ├─ CC0-1.0: 3 ├─ Python-2.0: 1 ├─ CC-BY-4.0: 1 +├─ BlueOak-1.0.0: 1 ├─ CC-BY-3.0: 1 └─ (MIT AND CC-BY-3.0): 1 -Done in 0.48s. +Done in 0.46s. diff --git a/python-furo.spec b/python-furo.spec index a62811c..e1bb2b5 100644 --- a/python-furo.spec +++ b/python-furo.spec @@ -1,7 +1,7 @@ %global giturl https://github.com/pradyunsg/furo Name: python-furo -Version: 2024.08.06 +Version: 2025.12.19 Release: %autorelease Summary: Clean customizable Sphinx documentation theme @@ -14,38 +14,39 @@ Source1: furo-%{version}-vendor.tar.xz Source2: furo-%{version}-vendor-licenses.txt BuildArch: noarch +BuildSystem: pyproject +BuildOption(generate_buildrequires): docs/requirements.txt +BuildOption(install): -L furo BuildRequires: make BuildRequires: nodejs-devel BuildRequires: nodejs-npm BuildRequires: python-sphinx-doc -BuildRequires: python3-devel BuildRequires: python3-docs BuildRequires: yarnpkg -%global _description %{expand: -Furo is a Sphinx theme, which is: -- Intentionally minimal --- the most important thing is the content, not - the scaffolding around it. -- Responsive --- adapting perfectly to the available screen space, to - work on all sorts of devices. -- Customizable --- change the color palette, font families, logo and - more! +%global _description %{expand:Furo is a Sphinx theme, which is: +- Intentionally minimal --- the most important thing is the content, not the + scaffolding around it. +- Responsive --- adapting perfectly to the available screen space, to work on + all sorts of devices. +- Customizable --- change the color palette, font families, logo and more! - Easy to navigate --- with carefully-designed sidebar navigation and inter-page links. - Good looking content --- through clear typography and well-stylized elements. - Good looking search --- helps readers find what they want quickly. -- Biased for smaller docsets --- intended for smaller documentation - sets, where presenting the entire hierarchy in the sidebar is not - overwhelming.} +- Biased for smaller docsets --- intended for smaller documentation sets, + where presenting the entire hierarchy in the sidebar is not overwhelming.} -%description %_description +%description +%_description %package -n python3-furo Summary: Clean customizable Sphinx documentation theme -%description -n python3-furo %_description +%description -n python3-furo +%_description %package doc Summary: Documentation for %{name} @@ -83,10 +84,12 @@ Documentation for %{name}. %autosetup -n furo-%{version} -a1 cp -p %{SOURCE2} . +%conf # Don't ship version control files find . -name .gitignore -delete # Substitute the installed nodejs version for the requested version +%global nodejs_version %(%{_bindir}/node -v | sed s/v//) sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml # Use local objects.inv for intersphinx @@ -94,21 +97,13 @@ sed -e 's|\("https://docs\.python\.org/3", \)None|\1"%{_docdir}/python3-docs/htm -e 's|\("https://www\.sphinx-doc\.org/en/master", \)None|\1"%{_docdir}/python-sphinx-doc/html/objects.inv"|' \ -i docs/conf.py -%generate_buildrequires -%pyproject_buildrequires docs/requirements.txt - -%build +%build -p export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 export YARN_CACHE_FOLDER="$PWD/.package-cache" yarn install --offline nodeenv --node=system --prebuilt --clean-src $PWD/.nodeenv -%pyproject_wheel - -%install -%pyproject_install -%pyproject_save_files furo - +%install -a # Build documentation %{py3_test_envvars} sphinx-build -b html docs html rm -rf html/{.buildinfo,.doctrees} diff --git a/sources b/sources index 5ed74ca..8b1c538 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (furo-2024.08.06.tar.gz) = 671361ddc4723663896ba7c1d8ff391da4a8c8298257727d6ba1ad9180295b3c110253632e1f1e8895d809ef193f659edcfcc8caaa1d889f2d24e808e807583d -SHA512 (furo-2024.08.06-vendor.tar.xz) = 4a4313b30aff8dcb12ca857064bf73a18e3287e1fdd9e5ca55b277519628b8401b287f48195271d09e88249c431d390f3710f10b82b498f0176c4c40a415bb39 +SHA512 (furo-2025.12.19.tar.gz) = 33464253a69d925679f99f72e7dcea58316f4e32f3698378dfe7cd5ffe78733bf98c81a921a13180e06af6be66bf3c09be9097c03c5ffda787fc373f01ed28ae +SHA512 (furo-2025.12.19-vendor.tar.xz) = e2f4c97875e335298bb15024eb0475c6d90868fc2a2f6fb2ef0626295c0b37ad49103c9be9ce126c92e2aedd4adefe92f4fbff97a8209854b03d5a1a93d9255d