Package python3-module-sphinxcontrib-devhelp: Specfile

%define oname sphinxcontrib-devhelp

%def_with check

Name:    python3-module-%oname
Version: 1.0.2
Release: alt1

Summary: A sphinx extension which outputs Devhelp document

License: BSD-2-Clause
Group:   Development/Python3
URL:     https://pypi.org/project/sphinxcontrib-devhelp

# https://github.com/sphinx-doc/sphinxcontrib-devhelp
Source0: %oname-%version.tar

Packager: Grigory Ustinov <grenka@altlinux.org>

BuildRequires(pre): rpm-build-python3

%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-sphinx-tests
%endif

BuildArch: noarch

%description
%summary

%prep
%setup -n %oname-%version

%build
%python3_build

%install
%python3_install

%check
py.test3 -vv

%files
%doc README.rst
%python3_sitelibdir/sphinxcontrib
%python3_sitelibdir/*.pth
%python3_sitelibdir/*.egg-info

%changelog
* Mon Mar 02 2020 Grigory Ustinov <grenka@altlinux.org> 1.0.2-alt1
- Build new version.
- Change build scheme.
- Build with check.
- Fix license.

* Thu Apr 25 2019 Grigory Ustinov <grenka@altlinux.org> 1.0.1-alt1
- Initial build for Sisyphus.