同步操作将从 src-openEuler/python-sphinx 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-sphinxSummary: Python documentation generatorVersion: 1.7.6Release: 6Epoch: 1License: BSD and Public Domain and Python and (MIT or GPLv2)URL: http://sphinx-doc.org/Source0: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gzSource1: default-sphinx-command.inPatch0001: xfail-test_latex_remote_images.patchPatch0002: sphinx-test_theming.diffBuildArch: noarchBuildRequires: python2-devel >= 2.4 python2-babel python2-setuptools python2-docutils python2-jinja2 python2-pygments >= 2.0BuildRequires: python2-six python2-sphinx_rtd_theme python2-sphinx-theme-alabaster python2-imagesize python2-requestsBuildRequires: python2-packaging python2-typing dos2unix python2-sphinxcontrib-websupport python2-html5lib python2-whooshBuildRequires: python2-nose python2-pytest python2-pytest-cov gettext texinfo graphviz python2-sqlalchemy texlive-dvipngBuildRequires: python2-mock python2-html5lib python2-whoosh python2-snowballstemmer python2-enum34 texlive-dvisvgm texlive-ucsBuildRequires: python2-snowballstemmer python2-enum34 texlive-collection-fontsrecommended texlive-collection-latexBuildRequires: tex(cmap.sty) tex(ecrm1000.tfm) tex(footnote.sty) tex(framed.sty) tex(multirow.sty) tex(parskip.sty)BuildRequires: tex(threeparttable.sty) tex(upquote.sty) tex(wrapfig.sty) tex(capt-of.sty) tex(needspace.sty) tex(eqparbox.sty)BuildRequires: tex(amsmath.sty) tex(amsthm.sty) tex(amssymb.sty) tex(amsfonts.sty) tex(bm.sty) tex(palatino.sty) tex(multirow.sty)BuildRequires: tex(eqparbox.sty) tex(atbegshi.sty) tex(anyfontsize.sty) tex(luatex85.sty) tex(fncychap.sty)BuildRequires: tex(tabulary.sty) tex(polyglossia.sty) tex(ctablestack.sty) tex(eu1enc.def) tex(titlesec.sty)BuildRequires: python3-devel python3-babel python3-setuptools python3-docutils python3-jinja2 python3-pygmentsBuildRequires: python3-six python3-sphinx_rtd_theme python3-sphinx-theme-alabaster python3-packaging python3-imagesizeBuildRequires: python3-requests python3-sphinxcontrib-websupport python3-nose python3-pytest python3-pytest-covBuildRequires: python3-sqlalchemy python3-mock python3-html5lib python3-whoosh python3-snowballstemmer%descriptionSphinx is a tool that makes it easy to create intelligent andbeautiful documentation for Python projects (or other documentsconsisting of multiple reStructuredText sources), written by GeorgBrandl. It was originally created to translate the new Pythondocumentation, but has now been cleaned up in the hope that it will beuseful to many other projects.Sphinx uses reStructuredText as its markup language, and many of itsstrengths come from the power and straightforwardness ofreStructuredText and its parsing and translating suite, the Docutils.Although it is still under constant development, the followingfeatures are already present, work fine and can be seen "in action" inthe Python docs:* Output formats: HTML (including Windows HTML Help) and LaTeX,for printable PDF versions* Extensive cross-references: semantic markup and automatic linksfor functions, classes, glossary terms and similar pieces ofinformation* Hierarchical structure: easy definition of a document tree, withautomatic links to siblings, parents and children* Automatic indices: general index as well as a module index* Code handling: automatic highlighting using the Pygments highlighter* Various extensions are available, e.g. for automatic testing ofsnippets and inclusion of appropriately formatted docstrings.%package -n python2-sphinxSummary: Python documentation generatorRequires: python-sphinx-locale = %{?epoch}:%{version}-%{release}Requires: python2-babel python2-docutils python2-jinja2 python2-pygments python2-mockRequires: python2-snowballstemmer python2-sphinx_rtd_theme python2-sphinx-theme-alabasterRequires: python2-six python2-imagesize python2-requests python2-packaging python2-typingRequires: python2-sphinxcontrib-websupport environment(modules)Requires(pre): /usr/sbin/alternativesRecommends: graphviz ImageMagickObsoletes: python-sphinx <= 1.2.3 python-sphinxcontrib-napoleon < 0.5 python2-Sphinx <= 1.3.1-4Provides: python-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release}Provides: python2-Sphinx = %{?epoch}:%{version}-%{release}Provides: python(Sphinx) = %{?epoch}:%{version}-%{release}Conflicts: python3-sphinx < %{?epoch}:%{version}-%{release}%{?python_provide:%python_provide python2-sphinx}%description -n python2-sphinxSphinx is a tool that makes it easy to create intelligent andbeautiful documentation for Python projects (or other documentsconsisting of multiple reStructuredText sources), written by GeorgBrandl. It was originally created to translate the new Pythondocumentation, but has now been cleaned up in the hope that it will beuseful to many other projects.Sphinx uses reStructuredText as its markup language, and many of itsstrengths come from the power and straightforwardness ofreStructuredText and its parsing and translating suite, the Docutils.Although it is still under constant development, the followingfeatures are already present, work fine and can be seen "in action" inthe Python docs:* Output formats: HTML (including Windows HTML Help) and LaTeX,for printable PDF versions* Extensive cross-references: semantic markup and automatic linksfor functions, classes, glossary terms and similar pieces ofinformation* Hierarchical structure: easy definition of a document tree, withautomatic links to siblings, parents and children* Automatic indices: general index as well as a module index* Code handling: automatic highlighting using the Pygments highlighter* Various extensions are available, e.g. for automatic testing ofsnippets and inclusion of appropriately formatted docstrings.%package -n python3-sphinxSummary: Python documentation generatorRequires: python-sphinx-locale = %{?epoch}:%{version}-%{release}Requires: python3-babel python3-docutils python3-jinja2 python3-pygmentsRequires: python3-snowballstemmer python3-sphinx_rtd_theme python3-sphinx-theme-alabasterRequires: python3-imagesize python3-requests python3-six python3-packagingRequires: environment(modules) python3-sphinxcontrib-websupport python3-mockRequires(pre): /usr/sbin/alternativesRecommends: graphviz ImageMagickObsoletes: python3-sphinxcontrib-napoleon < 0.3.0Provides: python3-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release}Provides: python(Sphinx) = %{?epoch}:%{version}-%{release}Conflicts: python2-Sphinx < %{?epoch}:%{version}-%{release}%{?python_provide:%python_provide python3-sphinx}%description -n python3-sphinxSphinx is a tool that makes it easy to create intelligent andbeautiful documentation for Python projects (or other documentsconsisting of multiple reStructuredText sources), written by GeorgBrandl. It was originally created to translate the new Pythondocumentation, but has now been cleaned up in the hope that it will beuseful to many other projects.Sphinx uses reStructuredText as its markup language, and many of itsstrengths come from the power and straightforwardness ofreStructuredText and its parsing and translating suite, the Docutils.Although it is still under constant development, the followingfeatures are already present, work fine and can be seen "in action" inthe Python docs:* Output formats: HTML (including Windows HTML Help) and LaTeX,for printable PDF versions* Extensive cross-references: semantic markup and automatic linksfor functions, classes, glossary terms and similar pieces ofinformation* Hierarchical structure: easy definition of a document tree, withautomatic links to siblings, parents and children* Automatic indices: general index as well as a module index* Code handling: automatic highlighting using the Pygments highlighter* Various extensions are available, e.g. for automatic testing ofsnippets and inclusion of appropriately formatted docstrings.%package helpSummary: Documentation for %{name}Requires: python(Sphinx) = %{?epoch}:%{version}-%{release}Provides: python-sphinx-doc python-sphinx-latexObsoletes: python-sphinx-doc < %{?epoch}:%{version}-%{release}Obsoletes: python-sphinx-latex < %{?epoch}:%{version}-%{release}%description helpThis package contains help documentation in reST and HTML formats.%package localeSummary: Locale files for python-sphinx%description localeThis package contains locale files for Sphinx.%prep%autosetup -n Sphinx-%{version} -p1dos2unix -k ./sphinx/themes/basic/static/jquery.jsrm tests/test_ext_imgconverter.pyrm -rf %{py3dir}cp -a . %{py3dir}%build%py2_build%py3_buildexport PYTHONPATH=$PWDcd docexport SPHINXBUILD="%{__python3} ../sphinx/cmd/build.py"make html SPHINXBUILD="$SPHINXBUILD"make man SPHINXBUILD="$SPHINXBUILD"rm -rf _build/html/.buildinfomv _build/html ..%installrm -rf %{buildroot}/*%py3_installinstall -d %{buildroot}%{_libexecdir}/python3-sphinxfor i in sphinx-{apidoc,autogen,build,quickstart}; domv %{buildroot}%{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python3_version}ln -s $i-%{python3_version} %{buildroot}%{_bindir}/$i-3ln -s %{_bindir}/$i-3 %{buildroot}%{_libexecdir}/python3-sphinx/$idone%py2_installinstall -d %{buildroot}%{_libexecdir}/python2-sphinxfor i in sphinx-{apidoc,autogen,build,quickstart}; domv %{buildroot}%{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python2_version}ln -s $i-%{python2_version} %{buildroot}%{_bindir}/$i-2ln -s %{_bindir}/$i-2 %{buildroot}%{_libexecdir}/python2-sphinx/$idonepushd docinstall -d %{buildroot}%{_mandir}/man1for f in _build/man/sphinx-*.1;docp -p $f %{buildroot}%{_mandir}/man1/$(basename $f)cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f | sed -e "s|.1$|-%{python2_version}.1|")cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f | sed -e "s|.1$|-%{python3_version}.1|")donefind %{buildroot}%{python3_sitelib}/sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -exec rm -rf '{}' \;popdrm -f %{buildroot}%{python2_sitelib}/sphinx/locale/.DS_Storerm -f %{buildroot}%{python3_sitelib}/sphinx/locale/.DS_Storerm -rf %{buildroot}%{python2_sitelib}/sphinx/locale/.txrm -rf %{buildroot}%{python3_sitelib}/sphinx/locale/.txrm -rf doc/_buildsed -i 's|python ../sphinx-build.py|/usr/bin/sphinx-build|' doc/Makefilemv doc reSTpushd %{buildroot}%{python2_sitelib}for lang in `find sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`;doinstall -d %{buildroot}%{_datadir}/sphinx/locale/$langinstall -d %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGESmv sphinx/locale/$lang/LC_MESSAGES/sphinx.js \%{buildroot}%{_datadir}/sphinx/locale/$lang/mv sphinx/locale/$lang/LC_MESSAGES/sphinx.mo \%{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES/rm -rf sphinx/locale/$langdonepopdinstall -d %{buildroot}%{_modulesdir}/python-sphinxsed 's/@PYTHONVER@/3/' < %{SOURCE1} > %{buildroot}%{_modulesdir}/python-sphinx/.versionfor filename in sphinx-{build,apidoc,autogen,quickstart} ; doln -s %{_libexecdir}/python3-sphinx/$filename %{buildroot}%{_bindir}/$filenamedone%find_lang sphinx(cd %{buildroot} && find . -name 'sphinx.js') | sed -e 's|^.||' | sed -e \'s:\(.*/locale/\)\([^/_]\+\)\(.*\.js$\):%lang(2円) 1円2円3円:' \>> sphinx.lang%check%if %{with check}export PYTHONPATH=$PWDrm tests/test_build_linkcheck.pyLANG=en_US.UTF-8 %{__python2} -m pytest -v --ignore=tests/test_api_translator.pycd %{py3dir}rm tests/test_build_linkcheck.pyLANG=en_US.UTF-8 PYTHON=python3 make test%endif%files locale -f sphinx.lang%license LICENSE%dir %{_datadir}/sphinx/%dir %{_datadir}/sphinx/locale%dir %{_datadir}/sphinx/locale/*%files -n python2-sphinx%license LICENSE%doc AUTHORS CHANGES EXAMPLES README.rst%{_bindir}/sphinx-*-2*%{python2_sitelib}/sphinx/%{python2_sitelib}/Sphinx-%{version}-py%{python2_version}.egg-info/%{_libexecdir}/python2-sphinx/%files -n python3-sphinx%license LICENSE%doc AUTHORS CHANGES EXAMPLES README.rst%{_bindir}/sphinx-*-3*%{_bindir}/sphinx-build%{_bindir}/sphinx-apidoc%{_bindir}/sphinx-autogen%{_bindir}/sphinx-quickstart%{python3_sitelib}/sphinx/%{python3_sitelib}/Sphinx-%{version}-py%{python3_version}.egg-info/%{_libexecdir}/python3-sphinx/%{_modulesdir}/python-sphinx/.version%files help%doc html reST%{_mandir}/man1/*%changelog* Thu Feb 20 2020 Lijin Yang <yanglijin@huawei.com> - 1:1.7.6-6- delete useless files* Thu Feb 20 2020 Lijin Yang <yanglijin@huawei.com> - 1:1.7.6-5- Type: enhancement- ID: NA- SUG: NA- DESC: make sphinx-build enable* Thu Nov 14 2019 Lijin Yang <yanglijin@huawei.com> - 1:1.7.6-4- init package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。