Version 2025.09.25

- Use the pyproject declarative buildsystem
This commit is contained in:
Jerry James 2025-10-16 11:48:37 -06:00
commit b328964baf
3 changed files with 22 additions and 29 deletions

View file

@ -4,11 +4,11 @@ $ /tmp/node_modules/.bin/license-checker --summary
├─ ISC: 31
├─ BSD-2-Clause: 14
├─ BSD-3-Clause: 7
├─ Apache-2.0: 5
├─ Apache-2.0: 6
├─ CC0-1.0: 3
├─ Python-2.0: 1
├─ CC-BY-4.0: 1
├─ CC-BY-3.0: 1
└─ (MIT AND CC-BY-3.0): 1
Done in 0.46s.
Done in 0.49s.

View file

@ -1,7 +1,7 @@
%global giturl https://github.com/pradyunsg/furo
Name: python-furo
Version: 2025.07.19
Version: 2025.09.25
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}
@ -95,21 +96,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 -L furo
%install -a
# Build documentation
%{py3_test_envvars} sphinx-build -b html docs html
rm -rf html/{.buildinfo,.doctrees}

View file

@ -1,2 +1,2 @@
SHA512 (furo-2025.07.19.tar.gz) = 1b3c1c2c80f95093c92c6c19e5368d0c53a43e5dee0461e697ab63679dd5ac46d21ea74abf48cb39c6bc3c9b983bc923d3e2872abd4382ab9dad617302e32dc1
SHA512 (furo-2025.07.19-vendor.tar.xz) = aaabee1f2a895711ffaffc9ec6aeb32614b6b9f8ebaaf4e5b820b6ae0c3f12cc6765748375ab57fa7fae8d9c2cb19331ae8e61d7c40ff3229194e811f21c6209
SHA512 (furo-2025.09.25.tar.gz) = 89476a4122ce6834f0a77cc9d7df6ef0b965e49f28f6dbeeaece59b49297ad39b2a146e1c13560924f562304d003c1f8fbfc6506addfdf8335ad4603dc0ccfff
SHA512 (furo-2025.09.25-vendor.tar.xz) = 8353cb99015692469999615529bbcd05ee72d94ef3f30d8185113355ec491dc1dec2c755d05b36e006d08160b8194618fd86a2e4fcbad3a01c1a85a4a43a2c38