- Update to 2.4.2:
- Fix encoding error when guessing lexer with given ``encoding`` option (#1438) - Updated lexers: * Coq (#1430) * MSDOS Session (PR#734) * NASM (#1517) * Objective-C (PR#813, #1508) * Prolog (#1511) * TypeScript (#1515) - Support CSS variables in stylesheets (PR#814, #1356) - Fix F# lexer name (PR#709) - Fix ``TerminalFormatter`` using bold for bright text (#1480) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=57
This commit is contained in:
parent
7b5b0aea36
commit
8ab74062fa
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:31cba6ffb739f099a85e243eff8cb717089fdd3c7300767d9fc34cb8e1b065f5
|
|
||||||
size 3152708
|
|
3
Pygments-2.4.2.tar.gz
Normal file
3
Pygments-2.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297
|
||||||
|
size 9405880
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 4 14:03:15 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.4.2:
|
||||||
|
- Fix encoding error when guessing lexer with given ``encoding`` option
|
||||||
|
(#1438)
|
||||||
|
- Updated lexers:
|
||||||
|
* Coq (#1430)
|
||||||
|
* MSDOS Session (PR#734)
|
||||||
|
* NASM (#1517)
|
||||||
|
* Objective-C (PR#813, #1508)
|
||||||
|
* Prolog (#1511)
|
||||||
|
* TypeScript (#1515)
|
||||||
|
- Support CSS variables in stylesheets (PR#814, #1356)
|
||||||
|
- Fix F# lexer name (PR#709)
|
||||||
|
- Fix ``TerminalFormatter`` using bold for bright text (#1480)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 20 18:43:33 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
Mon May 20 18:43:33 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-Pygments
|
Name: python-Pygments
|
||||||
Version: 2.4.0
|
Version: 2.4.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A syntax highlighting package written in Python
|
Summary: A syntax highlighting package written in Python
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@ -68,7 +68,7 @@ rm tests/examplefiles/{Sorting,test}.mod
|
|||||||
%{python_expand %$python_install
|
%{python_expand %$python_install
|
||||||
mv %{buildroot}%{_bindir}/pygmentize %{buildroot}%{_bindir}/pygmentize-%{$python_bin_suffix}
|
mv %{buildroot}%{_bindir}/pygmentize %{buildroot}%{_bindir}/pygmentize-%{$python_bin_suffix}
|
||||||
rm -rf %{buildroot}%{$python_sitelib}/tests
|
rm -rf %{buildroot}%{$python_sitelib}/tests
|
||||||
%fdupes -s %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
%if "%{python3_bin_suffix}" != ""
|
%if "%{python3_bin_suffix}" != ""
|
||||||
install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
|
install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
|
||||||
%endif
|
%endif
|
||||||
@ -83,9 +83,7 @@ install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
|
|||||||
%python_install_alternative pygmentize
|
%python_install_alternative pygmentize
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# export PYTHONDEBUG=1
|
%pytest
|
||||||
export PYTHONPATH=tests
|
|
||||||
%python_expand py.test-%{$python_bin_suffix} --disable-warnings -v tests
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user