177d73c
Name:           python-sphinxcontrib-github-alt
851a1a9
Version:        1.2
999c565
Release:        %autorelease
177d73c
Summary:        Link to GitHub issues, pull requests, commits and users from Sphinx docs
34af13a
License:        BSD-2-Clause
177d73c
URL:            https://github.com/jupyter/sphinxcontrib_github_alt
f3b2ee2
Source:         %{pypi_source sphinxcontrib_github_alt}
177d73c
177d73c
BuildArch:      noarch
177d73c
177d73c
BuildRequires:  python3-devel
f3b2ee2
f3b2ee2
%global _description %{expand:
f3b2ee2
Link to GitHub issues, pull requests, commits and users for a particular
f3b2ee2
project.
f3b2ee2
It's called 'alt' because sphinxcontrib-github already exists. IPython &
f3b2ee2
Jupyter projects have been using the syntax defined in this extension for
f3b2ee2
some time before we made it into its own package, so we didn't want to
f3b2ee2
switch to sphinxcontrib-github.}
177d73c
177d73c
%description %_description
177d73c
177d73c
177d73c
%package -n     python3-sphinxcontrib-github-alt
f3b2ee2
Summary:        %{summary}
f3b2ee2
%py_provides python3-sphinxcontrib_github_alt
177d73c
f3b2ee2
%description -n python3-sphinxcontrib-github-alt %_description
177d73c
177d73c
177d73c
%prep
177d73c
%autosetup -n sphinxcontrib_github_alt-%{version}
177d73c
177d73c
f3b2ee2
%generate_buildrequires
f3b2ee2
%pyproject_buildrequires
f3b2ee2
f3b2ee2
177d73c
%build
f3b2ee2
%pyproject_wheel
177d73c
177d73c
177d73c
%install
f3b2ee2
%pyproject_install
f3b2ee2
%pyproject_save_files sphinxcontrib_github_alt
177d73c
177d73c
f3b2ee2
%check
f3b2ee2
# there are no tests upstream
f3b2ee2
%pyproject_check_import
177d73c
177d73c
f3b2ee2
%files -n python3-sphinxcontrib-github-alt -f %{pyproject_files}
177d73c
%doc README.rst
177d73c
%license COPYING.md
177d73c
177d73c
177d73c
%changelog
999c565
%autochangelog