Compare commits
10 Commits
484ea1b94b
...
fbbc50d753
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fbbc50d753 | ||
|
|
604bd4fd32 | ||
|
|
1ba52b4d29 | ||
|
|
5fa61e6ba0 | ||
|
|
a0d8fe5746 | ||
|
|
25ad267599 | ||
|
|
4a8f9a081c | ||
|
|
06c10be50d | ||
|
|
4c32293117 | ||
|
|
20357cab2c |
Binary file not shown.
@ -1,30 +1,17 @@
|
|||||||
%global commit ebe84efc1a869da8d5689c706cdcf6ea864f0d9b
|
|
||||||
Name: python-sphinxcontrib-websupport
|
Name: python-sphinxcontrib-websupport
|
||||||
Version: 1.0.1
|
Version: 1.2.4
|
||||||
Release: 11
|
Release: 3
|
||||||
Summary: Sphinx API for Web Apps
|
Summary: Sphinx API for Web Apps
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://sphinx-doc.org/
|
URL: http://sphinx-doc.org/
|
||||||
Source0: https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/%{commit}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-websupport/sphinxcontrib-websupport-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
||||||
documentation into your Web application.
|
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
|
%package -n python3-sphinxcontrib-websupport
|
||||||
Summary: Sphinx API for Web Apps
|
Summary: Sphinx API for Web Apps
|
||||||
@ -40,25 +27,18 @@ sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
|||||||
documentation into your Web application.
|
documentation into your Web application.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n sphinxcontrib-websupport-%{commit} -p1
|
%autosetup -n sphinxcontrib-websupport-%{version} -p1
|
||||||
rm -rf sphinxcontrib-websupport.egg-info
|
rm -rf sphinxcontrib-websupport.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
%py2_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
%py2_install
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
PYTHONPATH=. py.test tests/
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||||
PYTHONPATH=. py.test-3 tests/
|
%{__python3} tests/test_websupport.py
|
||||||
|
|
||||||
%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
|
%files -n python3-sphinxcontrib-websupport
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
@ -66,4 +46,17 @@ PYTHONPATH=. py.test-3 tests/
|
|||||||
%{python3_sitelib}/{sphinxcontrib_websupport-*.pth,sphinxcontrib_websupport-*.egg-info}
|
%{python3_sitelib}/{sphinxcontrib_websupport-*.pth,sphinxcontrib_websupport-*.egg-info}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 14 2022 yaoxin <yaoxin30@h-partners.com> - 1.2.4-3
|
||||||
|
- Modify invalid Source
|
||||||
|
|
||||||
|
* Thu Oct 27 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.2.4-2
|
||||||
|
- Rebuild for next release
|
||||||
|
|
||||||
|
* Mon Feb 1 2021 yuanxin <yuanxin24@huawei.com> - 1.2.4-1
|
||||||
|
- Upgrade version to 1.2.4
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 tianwei <tianwei12g@huawei.com> - 1.2.2-1
|
||||||
|
- update release to 1.2.2
|
||||||
|
|
||||||
* Thu Nov 28 2019 Wanjiankang <wanjiankang@huawei.com> - 1.0.1-11
|
* Thu Nov 28 2019 Wanjiankang <wanjiankang@huawei.com> - 1.0.1-11
|
||||||
|
- Initial RPM
|
||||||
|
|||||||
4
python-sphinxcontrib-websupport.yaml
Normal file
4
python-sphinxcontrib-websupport.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: pypi
|
||||||
|
src_repo: sphinxcontrib-websupport
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
BIN
sphinxcontrib-websupport-1.2.4.tar.gz
Normal file
BIN
sphinxcontrib-websupport-1.2.4.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user