Blame SPECS/python-sphinxcontrib-apidoc.spec

91d9d6
%global pypi_name sphinxcontrib-apidoc
91d9d6
91d9d6
91d9d6
Name:           python-%{pypi_name}
91d9d6
Version:        0.3.0
91d9d6
Release:        2%{?dist}
91d9d6
Summary:        A Sphinx extension for running 'sphinx-apidoc' on each build
91d9d6
91d9d6
License:        BSD
91d9d6
URL:            http://www.sphinx-doc.org/
91d9d6
Source0:        https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
91d9d6
BuildArch:      noarch
91d9d6
91d9d6
BuildRequires:  python3-sphinx
91d9d6
91d9d6
BuildRequires:  python3-devel
91d9d6
BuildRequires:  python3-pbr
91d9d6
BuildRequires:  python3-pytest
91d9d6
BuildRequires:  python3-sphinx
91d9d6
BuildRequires:  python3-setuptools
91d9d6
91d9d6
%global common_desc \
91d9d6
This package contains Sphinx extension for running sphinx-apidoc_ \
91d9d6
on each build.Overview *sphinx-apidoc* is a tool for automatic generation \
91d9d6
of Sphinx sources that, using the autodoc <sphinx_autodoc>_ extension, \
91d9d6
documents a whole package in the style of other automatic API documentation \
91d9d6
tools. *sphinx-apidoc* does not actually build documentation - rather it \
91d9d6
simply generates it.
91d9d6
91d9d6
%description
91d9d6
%common_desc
91d9d6
91d9d6
%package -n python3-%{pypi_name}
91d9d6
Summary:    %{summary}
91d9d6
%{?python_provide:%python_provide python3-%{pypi_name}}
91d9d6
Requires:   python3-pbr
91d9d6
Requires:   python3-sphinx
91d9d6
91d9d6
%description -n python3-%{pypi_name}
91d9d6
%common_desc
91d9d6
91d9d6
91d9d6
%prep
91d9d6
%autosetup -n %{pypi_name}-%{version}
91d9d6
# Remove bundled egg-info
91d9d6
rm -rf %{pypi_name}.egg-info
91d9d6
91d9d6
%build
91d9d6
91d9d6
%py3_build
91d9d6
91d9d6
%install
91d9d6
91d9d6
%py3_install
91d9d6
91d9d6
# %check
91d9d6
# FIXME(chkumar246): Tests are broken in current version, So
91d9d6
# disabling it, Once new version will be available. We will
91d9d6
# add it.
91d9d6
# py.test ||
91d9d6
# %if %{with python3}
91d9d6
# py.test-3 ||
91d9d6
# %endif
91d9d6
91d9d6
%files -n python3-%{pypi_name}
91d9d6
%license LICENSE
91d9d6
%doc README.rst
91d9d6
%{python3_sitelib}/sphinxcontrib_apidoc*nspkg.pth
91d9d6
%{python3_sitelib}/sphinxcontrib/apidoc
91d9d6
%{python3_sitelib}/sphinxcontrib_apidoc-%{version}-py%{python3_version}.egg-info
91d9d6
91d9d6
%changelog
91d9d6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
91d9d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
91d9d6
91d9d6
* Tue Sep 15 2020 Joel Capitao <jcapitao@redhat.com> - 0.3.0-1
91d9d6
- Update to 0.3.0
91d9d6
91d9d6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-16
91d9d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
91d9d6
91d9d6
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-15
91d9d6
- Rebuilt for Python 3.9
91d9d6
91d9d6
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-14
91d9d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
91d9d6
91d9d6
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-13
91d9d6
- Rebuilt for Python 3.8.0rc1 (#1748018)
91d9d6
91d9d6
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-12
91d9d6
- Rebuilt for Python 3.8
91d9d6
91d9d6
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-11
91d9d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
91d9d6
91d9d6
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-10
91d9d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
91d9d6
91d9d6
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.1-9
91d9d6
- Python2 binary package has been removed
91d9d6
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
91d9d6
91d9d6
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-8
91d9d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
91d9d6
91d9d6
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-7
91d9d6
- Rebuilt for Python 3.7
91d9d6
91d9d6
* Tue Apr 10 2018 Chandan Kumar <chkumar246@gmail.com> - 0.2.1-6
91d9d6
- Fixed python3 files
91d9d6
91d9d6
* Tue Apr 10 2018 Chandan Kumar <chkumar246@gmail.com> - 0.2.1-5
91d9d6
- Disabled tests
91d9d6
91d9d6
* Tue Apr 10 2018 Chandan Kumar <chkumar246@gmail.com> - 0.2.1-4
91d9d6
- Added conditional for python3 support
91d9d6
91d9d6
* Tue Apr 10 2018 Chandan Kumar <chkumar246@gmail.com> - 0.2.1-3
91d9d6
- Added python3 conditionals on BR
91d9d6
91d9d6
* Tue Apr 10 2018 Chandan Kumar <chkumar246@gmail.com> - 0.2.1-2
91d9d6
- Added python3 BR and fixed tests
91d9d6
91d9d6
* Tue Apr 10 2018 Chandan Kumar <chkumar246@gmail.com> - 0.2.1-1
91d9d6
- Initial package.