Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a630392b8 | ||
|
|
8624c18f2e | ||
|
|
c1c3b6c3e1 | ||
|
|
80b87b2e3d |
4 changed files with 33 additions and 30 deletions
|
|
@ -1,7 +1,6 @@
|
|||
# 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,15 +1,14 @@
|
|||
yarn run v1.22.22
|
||||
$ /tmp/node_modules/.bin/license-checker --summary
|
||||
├─ MIT: 232
|
||||
├─ ISC: 31
|
||||
├─ BSD-2-Clause: 14
|
||||
├─ BSD-3-Clause: 7
|
||||
├─ Apache-2.0: 6
|
||||
├─ MIT: 237
|
||||
├─ ISC: 33
|
||||
├─ BSD-2-Clause: 15
|
||||
├─ BSD-3-Clause: 6
|
||||
├─ Apache-2.0: 4
|
||||
├─ 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.46s.
|
||||
Done in 0.48s.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
%global giturl https://github.com/pradyunsg/furo
|
||||
|
||||
Name: python-furo
|
||||
Version: 2025.12.19
|
||||
Version: 2024.08.06
|
||||
Release: %autorelease
|
||||
Summary: Clean customizable Sphinx documentation theme
|
||||
|
||||
|
|
@ -14,39 +14,38 @@ 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}
|
||||
|
|
@ -84,12 +83,10 @@ 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
|
||||
|
|
@ -97,13 +94,21 @@ 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
|
||||
|
||||
%build -p
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires docs/requirements.txt
|
||||
|
||||
%build
|
||||
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
|
||||
export YARN_CACHE_FOLDER="$PWD/.package-cache"
|
||||
yarn install --offline
|
||||
nodeenv --node=system --prebuilt --clean-src $PWD/.nodeenv
|
||||
|
||||
%install -a
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files furo
|
||||
|
||||
# Build documentation
|
||||
%{py3_test_envvars} sphinx-build -b html docs html
|
||||
rm -rf html/{.buildinfo,.doctrees}
|
||||
|
|
|
|||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (furo-2025.12.19.tar.gz) = 33464253a69d925679f99f72e7dcea58316f4e32f3698378dfe7cd5ffe78733bf98c81a921a13180e06af6be66bf3c09be9097c03c5ffda787fc373f01ed28ae
|
||||
SHA512 (furo-2025.12.19-vendor.tar.xz) = e2f4c97875e335298bb15024eb0475c6d90868fc2a2f6fb2ef0626295c0b37ad49103c9be9ce126c92e2aedd4adefe92f4fbff97a8209854b03d5a1a93d9255d
|
||||
SHA512 (furo-2024.08.06.tar.gz) = 671361ddc4723663896ba7c1d8ff391da4a8c8298257727d6ba1ad9180295b3c110253632e1f1e8895d809ef193f659edcfcc8caaa1d889f2d24e808e807583d
|
||||
SHA512 (furo-2024.08.06-vendor.tar.xz) = 4a4313b30aff8dcb12ca857064bf73a18e3287e1fdd9e5ca55b277519628b8401b287f48195271d09e88249c431d390f3710f10b82b498f0176c4c40a415bb39
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue