From 8ab74062fa7fb7a09da8a6cf3075d3e8b50a9eb198067e413967f31831aa3a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 4 Jun 2019 14:04:44 +0000 Subject: [PATCH] - 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 --- Pygments-2.4.0.tar.gz | 3 --- Pygments-2.4.2.tar.gz | 3 +++ python-Pygments.changes | 17 +++++++++++++++++ python-Pygments.spec | 8 +++----- 4 files changed, 23 insertions(+), 8 deletions(-) delete mode 100644 Pygments-2.4.0.tar.gz create mode 100644 Pygments-2.4.2.tar.gz diff --git a/Pygments-2.4.0.tar.gz b/Pygments-2.4.0.tar.gz deleted file mode 100644 index 95f3508..0000000 --- a/Pygments-2.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31cba6ffb739f099a85e243eff8cb717089fdd3c7300767d9fc34cb8e1b065f5 -size 3152708 diff --git a/Pygments-2.4.2.tar.gz b/Pygments-2.4.2.tar.gz new file mode 100644 index 0000000..f52fe2e --- /dev/null +++ b/Pygments-2.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297 +size 9405880 diff --git a/python-Pygments.changes b/python-Pygments.changes index 5e3439b..ef929d7 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Jun 4 14:03:15 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-Pygments.spec b/python-Pygments.spec index 4e71ad5..5afbd7d 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pygments -Version: 2.4.0 +Version: 2.4.2 Release: 0 Summary: A syntax highlighting package written in Python License: BSD-2-Clause @@ -68,7 +68,7 @@ rm tests/examplefiles/{Sorting,test}.mod %{python_expand %$python_install mv %{buildroot}%{_bindir}/pygmentize %{buildroot}%{_bindir}/pygmentize-%{$python_bin_suffix} rm -rf %{buildroot}%{$python_sitelib}/tests -%fdupes -s %{buildroot}%{$python_sitelib} +%fdupes %{buildroot}%{$python_sitelib} %if "%{python3_bin_suffix}" != "" install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1 %endif @@ -83,9 +83,7 @@ install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1 %python_install_alternative pygmentize %check -# export PYTHONDEBUG=1 -export PYTHONPATH=tests -%python_expand py.test-%{$python_bin_suffix} --disable-warnings -v tests +%pytest %files %{python_files} %license LICENSE