同步操作将从 src-openEuler/python-pygments 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global _description \Pygments is a generic syntax highlighter suitable for use \in code hosting, forums, wikis or other applications that \need to prettify source code. Highlights are: \* a wide range of over 500 languages and other text \formats is supported \* special attention is paid to details that increase \highlighting quality \* support for new languages and formats are added easily; \most languages use a simple regex-based lexing mechanism \* a number of output formats is available, among them HTML, \RTF, LaTeX and ANSI sequences \* it is usable as a command-line tool and as a library \* ... and it highlights even Perl 6!Name: python-pygmentsSummary: Syntax highlighting engine written in PythonVersion: 2.2.0Release: 15License: BSDURL: http://pygments.org/Source0: https://pypi.org/packages/source/P/Pygments/Pygments-%{version}.tar.gzPatch0: import-directive.patchPatch1: pep479.patchBuildArch: noarch%description%{_description}%package -n python2-pygmentsBuildRequires: python2-devel >= 2.4, python2-setuptoolsBuildRequires: python2-nose, python2-sphinxSummary: Syntax highlighting engine written in Python%{?python_provide:%python_provide python2-pygments}%description -n python2-pygments%{_description}%package -n python3-pygmentsBuildRequires: python3-devel, python3-setuptools, python3-noseSummary: Syntax highlighting engine written in Python%{?python_provide:%python_provide python3-pygments}%description -n python3-pygments%{_description}%package_help%prep%autosetup -p1 -n Pygments-%{version}%build%{__sed} -i 's/\r//' LICENSE%py2_build%py3_build%install%py2_install%{__python2} setup.py build_sphinxpushd docinstall -d %{buildroot}%{_mandir}/man1mv pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1popdcp -r doc/docs doc/reST%py3_install%checkmake test PYTHON=%{__python2}make test PYTHON=%{__python3}%files -n python2-pygments%license LICENSE%{python2_sitelib}/*%files -n python3-pygments%license LICENSE%{python3_sitelib}/*%{_bindir}/pygmentize%files help%doc AUTHORS CHANGES build/sphinx/html doc/reST TODO%lang(en) %{_mandir}/man1/pygmentize.1*%changelog* Fri Dec 6 2019 caomeng<caomeng5@huawei.com> - 2.2.0-15- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。