Hello community, here is the log from the commit of package python-Pygments for openSUSE:Factory checked in at 2017-04-19 18:09:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Pygments (Old) and /work/SRC/openSUSE:Factory/.python-Pygments.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pygments" Wed Apr 19 18:09:39 2017 rev:20 rq:486646 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Pygments/python-Pygments.changes 2016-10-22 13:01:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-Pygments.new/python-Pygments.changes 2017-04-19 18:09:42.591312882 +0200 @@ -1,0 +2,41 @@ +Fri Apr 7 21:13:53 UTC 2017 - [email protected] + +- Use https url. + +------------------------------------------------------------------- +Fri Apr 7 20:31:06 UTC 2017 - [email protected] + +- Update source url. + +------------------------------------------------------------------- +Fri Apr 7 20:05:44 UTC 2017 - [email protected] + +- 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 - [email protected] + +- Fix python_module macro definition + +------------------------------------------------------------------- +Thu Dec 8 16:45:08 UTC 2016 - [email protected] + +- update for multipython build +- only distribute "pygmentize" for Python 3 + +------------------------------------------------------------------- Old: ---- Pygments-2.1.3.tar.gz New: ---- Pygments-2.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Pygments.spec ++++++ --- /var/tmp/diff_new_pack.uqNvRE/_old 2017-04-19 18:09:44.075102993 +0200 +++ /var/tmp/diff_new_pack.uqNvRE/_new 2017-04-19 18:09:44.079102426 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Pygments # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX 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,26 +16,27 @@ # +%{?!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 License: BSD-2-Clause Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-nose -BuildRequires: python-setuptools +BuildRequires: %{python_module devel} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-setuptools 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 + +%python_subpackages %description Pygments is a syntax highlighting package written in Python. @@ -58,25 +59,25 @@ rm tests/examplefiles/{Sorting,test}.mod %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1 +%{python_expand %fdupes %{buildroot}%{$python_sitelib}} %check -if test '%{py_ver}' = "2.6" -then - exit 0 -fi -nosetests +export PYTHONDEBUG=1 +%python_exec tests/run.py -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE AUTHORS CHANGES TODO +%ifpython3 %{_bindir}/pygmentize %{_mandir}/man1/pygmentize.1* +%endif %{python_sitelib}/pygments/ -%{python_sitelib}/Pygments-%{version}-py%{py_ver}.egg-info/ +%{python_sitelib}/Pygments-%{version}-py%{python_version}.egg-info/ %changelog ++++++ Pygments-2.1.3.tar.gz -> Pygments-2.2.0.tar.gz ++++++ ++++ 38851 lines of diff (skipped)
