Accepting request 109037 from devel:languages:python

- 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.

- fix Obsoletes

OBS-URL: https://build.opensuse.org/request/show/109037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2012-03-13 08:39:05 +00:00 committed by Git OBS Bridge
commit 6b044b507a
4 changed files with 44 additions and 17 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,34 @@
-------------------------------------------------------------------
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
- fix Obsoletes
-------------------------------------------------------------------
Fri Sep 23 07:23:34 UTC 2011 - saschpe@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Pygments
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -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,18 +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
Provides: python-pygments = %{version}
Obsoletes: python-pygments < %{version}
%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
%endif
Provides: python-pygments = %{version}
#TODO: Change to '<' after version update:
Obsoletes: python-pygments <= %{version}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
Pygments is a syntax highlighting package written in Python.
@ -66,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,-)