Compare commits
16 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
771c3a5709 | ||
|
|
76b4ddad7c | ||
|
|
b328964baf | ||
|
|
c3a6d5c874 | ||
|
|
7f19c7d973 | ||
|
|
94084f189e | ||
|
|
f86f3360f4 | ||
|
|
1e6f6ddf10 | ||
|
|
91aeca0635 | ||
|
|
4d006dc1f5 | ||
|
|
6993a99b53 | ||
|
|
7034cb31e6 | ||
|
|
f06897bdd0 | ||
|
|
d4207079e6 | ||
|
|
1370638aeb | ||
|
|
7ead3bf5c6 |
4 changed files with 36 additions and 36 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
yarn run v1.22.22
|
||||
$ /tmp/node_modules/.bin/license-checker --summary
|
||||
├─ MIT: 236
|
||||
├─ ISC: 35
|
||||
├─ 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.47s.
|
||||
Done in 0.46s.
|
||||
|
|
@ -1,49 +1,52 @@
|
|||
%global giturl https://github.com/pradyunsg/furo
|
||||
|
||||
Name: python-furo
|
||||
Version: 2024.04.27
|
||||
Version: 2025.12.19
|
||||
Release: %autorelease
|
||||
Summary: Clean customizable Sphinx documentation theme
|
||||
|
||||
License: MIT
|
||||
URL: https://pradyunsg.me/furo/
|
||||
VCS: https://github.com/pradyunsg/furo
|
||||
Source0: %{vcs}/archive/%{version}/furo-%{version}.tar.gz
|
||||
VCS: git:%{giturl}.git
|
||||
Source0: %{giturl}/archive/%{version}/furo-%{version}.tar.gz
|
||||
# Source1 and Source2 created with ./prepare_vendor.sh
|
||||
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}
|
||||
|
|
@ -69,6 +72,7 @@ Summary: Documentation for %{name}
|
|||
# - _static/readthedocs-dummy.js: MIT
|
||||
# - _static/searchtools.js: BSD-2-Clause
|
||||
# - _static/skeleton.css: MIT
|
||||
# - _static/sphinx-design.min.css: MIT
|
||||
# - _static/sphinx_highlight.js: BSD-2-Clause
|
||||
# - _static/tabs.*: MIT
|
||||
License: MIT AND BSD-2-Clause AND CC-BY-SA-4.0
|
||||
|
|
@ -80,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
|
||||
|
|
@ -91,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}
|
||||
|
|
@ -113,7 +111,7 @@ rm -rf html/{.buildinfo,.doctrees}
|
|||
%check
|
||||
# The tests require web access. If any tests show up that can be run without a
|
||||
# network, do this:
|
||||
#%%pytest
|
||||
#%%pytest -v
|
||||
%pyproject_check_import
|
||||
|
||||
%files -n python3-furo -f %{pyproject_files}
|
||||
|
|
|
|||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (furo-2024.04.27.tar.gz) = d088b807dc414d941ed732db48d7c834e1f40f3fe31a166783d0419c773641655fab3402b670c8c58ba4e8460fb677ac58a053d7e5f52067e65e1047cfa1d20b
|
||||
SHA512 (furo-2024.04.27-vendor.tar.xz) = a240d679ac25eaac23dedfed8ffacec61451adb69a5910bf520f3ab6836e2ec5a714e7496291025eb6c6d88b38fa67ceb864e6a17547f5c3a6e53930125e5984
|
||||
SHA512 (furo-2025.12.19.tar.gz) = 33464253a69d925679f99f72e7dcea58316f4e32f3698378dfe7cd5ffe78733bf98c81a921a13180e06af6be66bf3c09be9097c03c5ffda787fc373f01ed28ae
|
||||
SHA512 (furo-2025.12.19-vendor.tar.xz) = e2f4c97875e335298bb15024eb0475c6d90868fc2a2f6fb2ef0626295c0b37ad49103c9be9ce126c92e2aedd4adefe92f4fbff97a8209854b03d5a1a93d9255d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue