forked from pool/python-Pygments
- Update to version 1.5:
- Fix Python 3 terminal highlighting with pygmentize
- In the LaTeX formatter, escape special &, < and > chars
- In the LaTeX formatter, fix display problems for styles with token
background colors
- Enhancements to the Squid conf lexer
- Several fixes to the reStructuredText lexer
- Recognize methods in the ObjC lexer
- Fix Lua "class" highlighting: it does not have classes
- Fix degenerate regex in Scala lexer and highlighting bugs
- Fix number pattern order in Ocaml lexer
- Fix generic type highlighting in ActionScript 3
- Fixes to the Clojure lexer
- Fix degenerate regex in Nemerle lexer
- Fix infinite looping in CoffeeScript lexer
- Fix crashes and analysis with ObjectiveC lexer
- Add some Fortran 2003 keywords.
- Fix Boo string regexes
- Add "rrt" style
- Fix infinite looping in Darcs Patch lexer.
- Lots of misc fixes to character-eating bugs and ordering problems in many
different lexers.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
664a984f51
commit
d11300c4ba
@@ -16,9 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: python-Pygments
|
||||
Version: 1.4
|
||||
Version: 1.5
|
||||
Release: 0
|
||||
Url: http://pygments.org
|
||||
Summary: Pygments is a syntax highlighting package written in Python
|
||||
@@ -28,17 +27,15 @@ Source: http://pypi.python.org/packages/source/P/Pygments/Pygments-%{ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
#BuildRequires: python-nose
|
||||
BuildRequires: python-nose
|
||||
Requires: python-distribute
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
Provides: python-pygments = %{version}
|
||||
Obsoletes: python-pygments < %{version}
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
Pygments is a syntax highlighting package written in Python.
|
||||
@@ -65,8 +62,8 @@ python setup.py build
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
install -Dm0644 docs/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
|
||||
|
||||
#%%check
|
||||
#nosetests
|
||||
%check
|
||||
nosetests
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
Reference in New Issue
Block a user