Accepting request 331499 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/331499 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Sphinx?expand=0&rev=32
This commit is contained in:
commit
ff4e9e8be3
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 16 13:16:01 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Don't buildrequires latex-related stuff.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 4 13:27:51 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Split latex-related stuff into its own subpackage so we can
|
||||
depend on the necessary latex components.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 29 13:18:28 UTC 2015 - hpj@urpla.net
|
||||
|
||||
|
@ -49,6 +49,7 @@ Requires: python-docutils >= 0.11
|
||||
Requires: python-six >= 1.4
|
||||
Requires: python-snowballstemmer
|
||||
Requires: python-sphinx_rtd_theme
|
||||
|
||||
%if 0%{?suse_version}
|
||||
Recommends: python-rst2pdf
|
||||
%endif
|
||||
@ -92,6 +93,79 @@ Sphinx uses reStructuredText as its markup language, and many of its strengths
|
||||
come from the power and straightforwardness of reStructuredText and its parsing
|
||||
and translating suite, the Docutils.
|
||||
|
||||
%package latex
|
||||
Summary: Sphinx packages for LaTeX
|
||||
Group: Productivity/Publishing/TeX/Base
|
||||
Requires: texlive-latex
|
||||
Requires: texlive-metafont
|
||||
Requires: texlive-pdftex
|
||||
Requires: tex(article.cls)
|
||||
Requires: tex(pdftex.def)
|
||||
Requires: tex(utf8.def)
|
||||
Requires: tex(utf8x.def)
|
||||
Requires: tex(8r.enc)
|
||||
Requires: tex(english.ldf)
|
||||
Requires: tex(pdftex.map)
|
||||
Requires: tex(alltt.sty)
|
||||
Requires: tex(amsfonts.sty)
|
||||
Requires: tex(amsmath.sty)
|
||||
Requires: tex(amssymb.sty)
|
||||
Requires: tex(amsthm.sty)
|
||||
Requires: tex(array.sty)
|
||||
Requires: tex(atbegshi.sty)
|
||||
Requires: tex(babel.sty)
|
||||
Requires: tex(bm.sty)
|
||||
Requires: tex(cmap.sty)
|
||||
Requires: tex(color.sty)
|
||||
Requires: tex(colortbl.sty)
|
||||
Requires: tex(dvipdfmx.def)
|
||||
Requires: tex(fancybox.sty)
|
||||
Requires: tex(fancyhdr.sty)
|
||||
Requires: tex(fancyvrb.sty)
|
||||
Requires: tex(float.sty)
|
||||
Requires: tex(fncychap.sty)
|
||||
Requires: tex(fontenc.sty)
|
||||
Requires: tex(footnote.sty)
|
||||
Requires: tex(framed.sty)
|
||||
Requires: tex(graphics.sty)
|
||||
Requires: tex(graphicx.sty)
|
||||
Requires: tex(hypcap.sty)
|
||||
Requires: tex(hyperref.sty)
|
||||
Requires: tex(ifthen.sty)
|
||||
Requires: tex(inputenc.sty)
|
||||
Requires: tex(longtable.sty)
|
||||
Requires: tex(makeidx.sty)
|
||||
Requires: tex(multirow.sty)
|
||||
Requires: tex(palatino.sty)
|
||||
Requires: tex(parskip.sty)
|
||||
Requires: tex(preview.sty)
|
||||
Requires: tex(tabulary.sty)
|
||||
Requires: tex(textcomp.sty)
|
||||
Requires: tex(threeparttable.sty)
|
||||
Requires: tex(times.sty)
|
||||
Requires: tex(titlesec.sty)
|
||||
Requires: tex(upquote.sty)
|
||||
Requires: tex(wrapfig.sty)
|
||||
Requires: tex(pcrr.tfm)
|
||||
Requires: tex(phvr.tfm)
|
||||
Requires: tex(pplr.tfm)
|
||||
Requires: tex(ptmr.tfm)
|
||||
Requires: tex(pzcmi.tfm)
|
||||
|
||||
%description latex
|
||||
Sphinx is a tool that makes it easy to create intelligent and beautiful
|
||||
documentation for Python projects (or other documents consisting of multiple
|
||||
reStructuredText sources), written by Georg Brandl. It was originally created
|
||||
for the new Python documentation, and has excellent facilities for Python
|
||||
project documentation, but C/C++ is supported as well, and more languages are
|
||||
planned.
|
||||
|
||||
Sphinx uses reStructuredText as its markup language, and many of its strengths
|
||||
come from the power and straightforwardness of reStructuredText and its parsing
|
||||
and translating suite, the Docutils.
|
||||
|
||||
This package contains the LaTeX components for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n Sphinx-%{version}
|
||||
sed -i '/#\!/d' sphinx/pycode/pgen2/token.py # Fix non-excutable-script warning
|
||||
@ -160,6 +234,9 @@ fi
|
||||
%{_mandir}/man1/sphinx-quickstart.1.gz
|
||||
%{_mandir}/man1/sphinx-quickstart-%{py_ver}.1.gz
|
||||
%{python_sitelib}/sphinx/
|
||||
%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 )
|
||||
%exclude %{python_sitelib}/sphinx/texinputs/
|
||||
%endif
|
||||
%{python_sitelib}/Sphinx-%{version}-py%{py_ver}.egg-info
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-apidoc
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-autogen
|
||||
@ -174,4 +251,12 @@ fi
|
||||
%defattr(-,root,root,-)
|
||||
%doc EXAMPLES build/sphinx/html
|
||||
|
||||
# Requirements are not available on SLES
|
||||
%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 )
|
||||
%files latex
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS LICENSE
|
||||
%{python_sitelib}/sphinx/texinputs/
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user