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} | Name:           python-%{srcname} | ||||||
| Summary:        Persistent/Functional/Immutable data structures | Summary:        Persistent/Functional/Immutable data structures | ||||||
| Version:        0.17.3 | Version:        0.17.3 | ||||||
| Release:        4%{?dist} | Release:        5%{?dist} | ||||||
| 
 | 
 | ||||||
| # The entire source is MIT, except pyrsistent/_toolz.py which is BSD. | # The entire source is MIT, except pyrsistent/_toolz.py which is BSD. | ||||||
| License:        MIT and BSD | License:        MIT and BSD | ||||||
| @ -96,7 +96,11 @@ BuildArch:      noarch | |||||||
| 
 | 
 | ||||||
| %build | %build | ||||||
| %py3_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 | rm -f docs/build/html/.buildinfo | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @ -128,6 +132,9 @@ env PYTHONHASHSEED=0 %pytest --doctest-modules %{srcname} | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| %changelog | %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 | * Fri Feb 19 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.17.3-4 | ||||||
| - Use the GitHub tarball instead of the PyPI tarball | - Use the GitHub tarball instead of the PyPI tarball | ||||||
| - Switch URL to HTTPS | - Switch URL to HTTPS | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user