From deec4b56d2ec711c810983b7dd62f2183bed738256403abd9cf1905473a5837e Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Thu, 12 Mar 2015 09:21:47 +0000
Subject: [PATCH] Accepting request 290356 from
home:netsroth:branches:devel:languages:python
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- Update to version 2.0.2:
* Fix Python tracebacks getting duplicated in the console lexer
* Backquote-delimited identifiers are now recognized in F#
* Fix an encoding issue when using pygmentize with the -o option.
* Default lexer encoding is now “guess”
* Major update to Swift lexer.
* Multiple fixes to lexer guessing in conflicting cases
* Simplified regexes and builtin lists.
* Dropped Python 2.4 and 2.5 compatibility
* Lexers added:
APL (#969)
Agda and Literate Agda (PR#203)
Alloy (PR#355)
AmbientTalk
BlitzBasic (PR#197)
ChaiScript (PR#24)
Chapel (PR#256)
Cirru (PR#275)
Clay (PR#184)
ColdFusion CFC (PR#283)
Cryptol and Literate Cryptol (PR#344)
Cypher (PR#257)
Docker config files
EBNF (PR#193)
Eiffel (PR#273)
GAP (PR#311)
Golo (PR#309)
Handlebars (PR#186)
Hy (PR#238)
Idris and Literate Idris (PR#210)
OBS-URL: https://build.opensuse.org/request/show/290356
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=26
---
Pygments-1.6.tar.gz | 3 --
Pygments-2.0.2.tar.gz | 3 ++
python-Pygments.changes | 106 ++++++++++++++++++++++++++++++++++++++++
python-Pygments.spec | 8 +--
4 files changed, 113 insertions(+), 7 deletions(-)
delete mode 100644 Pygments-1.6.tar.gz
create mode 100644 Pygments-2.0.2.tar.gz
diff --git a/Pygments-1.6.tar.gz b/Pygments-1.6.tar.gz
deleted file mode 100644
index e2b840a..0000000
--- a/Pygments-1.6.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0
-size 1423161
diff --git a/Pygments-2.0.2.tar.gz b/Pygments-2.0.2.tar.gz
new file mode 100644
index 0000000..9b249c3
--- /dev/null
+++ b/Pygments-2.0.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7320919084e6dac8f4540638a46447a3bd730fca172afc17d2c03eed22cf4f51
+size 3462280
diff --git a/python-Pygments.changes b/python-Pygments.changes
index 6f97e81..294a5d8 100644
--- a/python-Pygments.changes
+++ b/python-Pygments.changes
@@ -1,3 +1,109 @@
+-------------------------------------------------------------------
+Wed Mar 11 22:36:07 UTC 2015 - tbehrens@suse.com
+
+- Update to version 2.0.2:
+ * Fix Python tracebacks getting duplicated in the console lexer
+ * Backquote-delimited identifiers are now recognized in F#
+ * Fix an encoding issue when using pygmentize with the -o option.
+ * Default lexer encoding is now “guess”
+ * Major update to Swift lexer.
+ * Multiple fixes to lexer guessing in conflicting cases
+ * Simplified regexes and builtin lists.
+ * Dropped Python 2.4 and 2.5 compatibility
+ * Lexers added:
+ APL (#969)
+ Agda and Literate Agda (PR#203)
+ Alloy (PR#355)
+ AmbientTalk
+ BlitzBasic (PR#197)
+ ChaiScript (PR#24)
+ Chapel (PR#256)
+ Cirru (PR#275)
+ Clay (PR#184)
+ ColdFusion CFC (PR#283)
+ Cryptol and Literate Cryptol (PR#344)
+ Cypher (PR#257)
+ Docker config files
+ EBNF (PR#193)
+ Eiffel (PR#273)
+ GAP (PR#311)
+ Golo (PR#309)
+ Handlebars (PR#186)
+ Hy (PR#238)
+ Idris and Literate Idris (PR#210)
+ Igor Pro (PR#172)
+ Inform 6/7 (PR#281)
+ Intel objdump (PR#279)
+ Isabelle (PR#386)
+ Jasmin (PR#349)
+ JSON-LD (PR#289)
+ Kal (PR#233)
+ Lean (PR#399)
+ LSL (PR#296)
+ Limbo (PR#291)
+ Liquid (#977)
+ MQL (PR#285)
+ MaskJS (PR#280)
+ Mozilla preprocessors
+ Mathematica (PR#245)
+ NesC (PR#166)
+ Nit (PR#375)
+ Nix (PR#267)
+ Pan
+ Pawn (PR#211)
+ Perl 6 (PR#181)
+ Pig (PR#304)
+ Pike (PR#237)
+ QBasic (PR#182)
+ Red (PR#341)
+ ResourceBundle (#1038)
+ Rexx (PR#199)
+ Rql (PR#251)
+ Rsl
+ SPARQL (PR#78)
+ Slim (PR#366)
+ Swift (PR#371)
+ Swig (PR#168)
+ TADS 3 (PR#407)
+ Todo.txt todo lists
+ Twig (PR#404)
+ * Added a helper to “optimize” regular expressions
+ * New styles: “xcode” and “igor”
+ * The command-line “pygmentize” tool now tries a little harder
+ * Added “inencoding” option for lexers to override “encoding”
+ * Added line-by-line “streaming” mode for pygmentize with the “-s” option
+ * Added an “envname” option to the LaTeX formatter to select a replacement
+ * Updated the Makefile lexer to yield a little more useful highlighting.
+ * Lexer aliases passed to get_lexer_by_name() are now case-insensitive.
+ * File name matching in lexers and formatters will now use a regex cache for speed
+ * Pygments will now recognize “vim” modelines when guessing the lexer
+ * Major restructure of the pygments.lexers module namespace.
+ * The NameHighlightFilter now works with any Name.* token type (#790).
+ * Python 3 lexer: add new exceptions from PEP 3151.
+ * Opa lexer: add new keywords (PR#170).
+ * Julia lexer: add keywords and underscore-separated number literals
+ * Lasso lexer: fix method highlighting, update builtins
+ * Objective C/C++ lexers: allow “@” prefixing any expression (#871).
+ * Ruby lexer: fix lexing of Name::Space tokens (#860) and of symbols in hashes
+ * Stan lexer: update for version 2.4.0 of the language
+ * JavaScript lexer: add the “yield” keyword (PR#196).
+ * HTTP lexer: support for PATCH method (PR#190).
+ * Koka lexer: update to newest language spec (PR#201).
+ * Haxe lexer: rewrite and support for Haxe 3 (PR#174).
+ * Prolog lexer: add different kinds of numeric literals
+ * F# lexer: rewrite with newest spec for F# 3.0 (#842), fix a bug with dotted chains
+ * Kotlin lexer: general update (PR#271).
+ * Rebol lexer: fix comment detection and analyse_text (PR#261).
+ * LLVM lexer: update keywords to v3.4 (PR#258).
+ * PHP lexer: add new keywords and binary literals (PR#222).
+ * external/markdown-processor.py updated to newest python-markdown
+ * CSS lexer: some highlighting order fixes (PR#231).
+ * Ceylon lexer: fix parsing of nested multiline comments (#915).
+ * C family lexers: fix parsing of indented preprocessor directives
+ * Rust lexer: update to 0.9 language version (PR#270, PR#388).
+ * Elixir lexer: update to 0.15 language version (PR#392).
+ * Fix swallowing incomplete tracebacks in Python console lexer
+
-------------------------------------------------------------------
Mon Apr 7 11:36:38 UTC 2014 - dmueller@suse.com
diff --git a/python-Pygments.spec b/python-Pygments.spec
index 298a373..93a14e5 100644
--- a/python-Pygments.spec
+++ b/python-Pygments.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-Pygments
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,7 +17,7 @@
Name: python-Pygments
-Version: 1.6
+Version: 2.0.2
Release: 0
Url: http://pygments.org
Summary: Pygments is a syntax highlighting package written in Python
@@ -62,14 +62,14 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-install -Dm0644 docs/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
+install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
%check
nosetests
%files
%defattr(-,root,root,-)
-%doc LICENSE AUTHORS CHANGES TODO docs/build
+%doc LICENSE AUTHORS CHANGES TODO
%{_bindir}/pygmentize
%{_mandir}/man1/pygmentize.1*
%{python_sitelib}/pygments/