Accepting request 486611 from home:TheBlackCat:branches:devel:languages:python

Update to 2.2.0

OBS-URL: https://build.opensuse.org/request/show/486611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=36
This commit is contained in:
Todd R 2017-04-07 20:20:17 +00:00 committed by Git OBS Bridge
parent a931136a59
commit 50a448bb23
4 changed files with 26 additions and 5 deletions

View File

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

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

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

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Apr 7 20:05:44 UTC 2017 - toddrme2178@gmail.com
- Update to 2.2.0
- Added the ability to load lexer and formatter classes directly from files
with the `-x` command line option and the `lexers.load_lexer_from_file()`
and `formatters.load_formatter_from_file()` functions. (PR#559)
- Added `lexers.find_lexer_class_by_name()`. (#1203)
- Added new token types and lexing for magic methods and variables in Python
and PHP.
- Added a new token type for string affixes and lexing for them in Python, C++
and Postgresql lexers.
- Added a new token type for heredoc (and similar) string delimiters and
lexing for them in C++, Perl, PHP, Postgresql and Ruby lexers.
- Styles can now define colors with ANSI colors for use in the 256-color
terminal formatter. (PR#531)
- Improved the CSS lexer. (#1083, #1130)
- Added "Rainbow Dash" style. (PR#623)
- Delay loading `pkg_resources`, which takes a long while to import. (PR#690)
-------------------------------------------------------------------
Wed Apr 5 05:36:56 UTC 2017 - tbechtold@suse.com

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pygments
Version: 2.1.3
Version: 2.2.0
Release: 0
Url: http://pygments.org
Summary: Pygments is a syntax highlighting package written in Python
@ -67,7 +67,8 @@ install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
%{python_expand %fdupes %{buildroot}%{$python_sitelib}}
%check
%{python_expand /usr/bin/nosetests-%{$python_bin_suffix}}
export PYTHONDEBUG=1
%python_exec tests/run.py
%files %{python_files}
%defattr(-,root,root,-)