Parallelize Sphinx documentation build
This commit is contained in:
parent
2637febcc3
commit
724b77cdf4
@ -12,7 +12,7 @@ original structure is left untouched.}
|
||||
Name: python-%{srcname}
|
||||
Summary: Persistent/Functional/Immutable data structures
|
||||
Version: 0.17.3
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
|
||||
# The entire source is MIT, except pyrsistent/_toolz.py which is BSD.
|
||||
License: MIT and BSD
|
||||
@ -96,7 +96,11 @@ BuildArch: noarch
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%make_build -C docs html SPHINXOPTS='--keep-going'
|
||||
|
||||
# Default SPHINXOPTS are '-W -n', but -W turns warnings into errors and there
|
||||
# are some warnings. We want to build the documentation as best we can anyway.
|
||||
# Additionally, we parallelize sphinx-build.
|
||||
%make_build -C docs html SPHINXOPTS='-n %{?_smp_mflags}'
|
||||
rm -f docs/build/html/.buildinfo
|
||||
|
||||
|
||||
@ -128,6 +132,9 @@ env PYTHONHASHSEED=0 %pytest --doctest-modules %{srcname}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.17.3-5
|
||||
- Parallelize Sphinx documentation build
|
||||
|
||||
* Fri Feb 19 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.17.3-4
|
||||
- Use the GitHub tarball instead of the PyPI tarball
|
||||
- Switch URL to HTTPS
|
||||
|
Loading…
Reference in New Issue
Block a user