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