2019-12-06 15:37:02 +08:00
|
|
|
Name: python-sphinxcontrib-websupport
|
2020-08-04 16:22:53 +08:00
|
|
|
Version: 1.1.2
|
|
|
|
|
Release: 1
|
2019-12-06 15:37:02 +08:00
|
|
|
Summary: Sphinx API for Web Apps
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://sphinx-doc.org/
|
2020-08-04 16:22:53 +08:00
|
|
|
Source0: https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/sphinxcontrib-websupport-%{version}.tar.gz
|
2019-12-06 15:37:02 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
|
|
|
|
documentation into your Web application.
|
|
|
|
|
|
|
|
|
|
%package -n python2-sphinxcontrib-websupport
|
|
|
|
|
Summary: Sphinx API for Web Apps
|
|
|
|
|
%{?python_provide:%python_provide python2-sphinxcontrib-websupport}
|
|
|
|
|
BuildRequires: python2-devel python2-docutils python2-jinja2 python2-mock
|
|
|
|
|
BuildRequires: python2-pytest python2-setuptools python2-six
|
|
|
|
|
BuildRequires: python2-sphinx python2-sqlalchemy python2-whoosh
|
|
|
|
|
Requires: python2-docutils python2-jinja2 python2-six
|
|
|
|
|
Requires: python2-sphinx python2-sqlalchemy python2-whoosh
|
|
|
|
|
|
|
|
|
|
%description -n python2-sphinxcontrib-websupport
|
|
|
|
|
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
|
|
|
|
documentation into your Web application.
|
|
|
|
|
|
|
|
|
|
%package -n python3-sphinxcontrib-websupport
|
|
|
|
|
Summary: Sphinx API for Web Apps
|
|
|
|
|
%{?python_provide:%python_provide python3-sphinxcontrib-websupport}
|
|
|
|
|
BuildRequires: python3-devel python3-docutils python3-setuptools
|
|
|
|
|
BuildRequires: python3-jinja2 python3-mock python3-pytest python3-six
|
|
|
|
|
BuildRequires: python3-sphinx python3-sqlalchemy python3-whoosh
|
|
|
|
|
Requires: python3-docutils python3-jinja2 python3-six python3-sphinx
|
|
|
|
|
Requires: python3-sqlalchemy python3-whoosh
|
|
|
|
|
|
|
|
|
|
%description -n python3-sphinxcontrib-websupport
|
|
|
|
|
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
|
|
|
|
documentation into your Web application.
|
|
|
|
|
|
|
|
|
|
%prep
|
2020-08-04 16:22:53 +08:00
|
|
|
%autosetup -n sphinxcontrib-websupport-%{version} -p1
|
2019-12-06 15:37:02 +08:00
|
|
|
rm -rf sphinxcontrib-websupport.egg-info
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
%py2_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
%py2_install
|
|
|
|
|
|
|
|
|
|
%check
|
2020-08-04 16:22:53 +08:00
|
|
|
export PYTHONPATH=%{buildroot}%{python2_sitelib}
|
|
|
|
|
%{__python2} tests/test_websupport.py
|
|
|
|
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
|
|
|
|
%{__python3} tests/test_websupport.py
|
2019-12-06 15:37:02 +08:00
|
|
|
|
|
|
|
|
%files -n python2-sphinxcontrib-websupport
|
|
|
|
|
%doc LICENSE README.rst
|
|
|
|
|
%{python2_sitelib}/sphinxcontrib/websupport
|
|
|
|
|
%{python2_sitelib}/{sphinxcontrib_websupport-*.pth,sphinxcontrib_websupport-*.egg-info}
|
|
|
|
|
|
|
|
|
|
%files -n python3-sphinxcontrib-websupport
|
|
|
|
|
%doc LICENSE README.rst
|
|
|
|
|
%{python3_sitelib}/sphinxcontrib/websupport
|
|
|
|
|
%{python3_sitelib}/{sphinxcontrib_websupport-*.pth,sphinxcontrib_websupport-*.egg-info}
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-08-04 16:22:53 +08:00
|
|
|
* Tue Aug 04 2020 Yeqing Peng <pengyeqing@huawei.com> - 1.1.2-1
|
|
|
|
|
- update to 1.1.2
|
|
|
|
|
|
2019-12-06 15:37:02 +08:00
|
|
|
* Thu Nov 28 2019 Wanjiankang <wanjiankang@huawei.com> - 1.0.1-11
|
2019-12-14 14:35:34 +08:00
|
|
|
- Initial RPM
|