Package python3-module-mkdocs: Specfile
%define _unpackaged_files_terminate_build 1 %define oname mkdocs %def_with check Name: python3-module-%oname Version: 1.2.2 Release: alt1 Summary: Python tool to create HTML documentation from markdown sources License: BSD-2-Clause Group: Development/Python3 Url: https://pypi.org/project/mkdocs/ BuildArch: noarch Source: %name-%version.tar Patch0: %name-%version-alt.patch BuildRequires(pre): rpm-build-python3 %if_with check # install_requires: BuildRequires: python3(click) BuildRequires: python3(jinja2) BuildRequires: python3(markdown) BuildRequires: python3(yaml) BuildRequires: python3(watchdog) BuildRequires: python3-module-ghp-import BuildRequires: python3(yaml_env_tag) BuildRequires: python3(importlib_metadata) BuildRequires: python3(packaging) BuildRequires: python3(mergedeep) BuildRequires: python3(tox) BuildRequires: python3(tox_no_deps) %endif %description MkDocs is a fast, simple and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file. %prep %setup %autopatch -p1 rm mkdocs/themes/*/fonts/fontawesome-webfont.* %build %python3_build_debug %install %python3_install rm -r %buildroot%python3_sitelibdir/%oname/tests/ %check export PIP_NO_BUILD_ISOLATION=no export PIP_NO_INDEX=YES export TOXENV=py3 export TOXENV=py%{python_version_nodots python3}-unittests tox.py3 --sitepackages --no-deps -vvr -s false %files %_bindir/mkdocs %python3_sitelibdir/%oname/ %python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/ %changelog * Mon Jul 19 2021 Stanislav Levin <slev@altlinux.org> 1.2.2-alt1 - 1.0.4 -> 1.2.2. - Enabled testing. * Thu Jun 24 2021 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.0.4-alt4 - drop excessive python3-module-jinja2-tests BR * Mon Jun 01 2020 Andrey Bychkov <mrdrew@altlinux.org> 1.0.4-alt3 - Requires fixed. * Tue Apr 14 2020 Andrey Bychkov <mrdrew@altlinux.org> 1.0.4-alt2 - Build for python2 disabled. * Wed Apr 24 2019 Fr. Br. George <george@altlinux.ru> 1.0.4-alt1 - Autobuild version bump to 1.0.4 * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 0.16.1-alt1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Mon May 29 2017 Lenar Shakirov <snejok@altlinux.ru> 0.16.1-alt1 - 0.16.1 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.11.1-alt1.1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 0.11.1-alt1.1 - NMU: Use buildreq for BR. * Sat Nov 22 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.11.1-alt1 - Initial build for Sisyphus |