- 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:
Sascha Peilicke 2012-03-12 21:14:58 +00:00 committed by Git OBS Bridge
parent 664a984f51
commit d11300c4ba
4 changed files with 38 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bbff02dc309e52846dd963d29483a7295fcc021624738d33359c43971080f9ab
size 3533757

3
Pygments-1.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe183e3886f597e41f8c88d0e53c796cefddc879bfdf45f2915a383060436740
size 3712566

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Mon Mar 12 21:14:22 UTC 2012 - saschpe@gmx.de
- 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.
-------------------------------------------------------------------
Tue Jan 24 13:49:17 UTC 2012 - bwiedemann@suse.com

View File

@ -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,-)