Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Genshi for openSUSE:Factory checked in at 2021-03-21 23:20:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Genshi (Old) and /work/SRC/openSUSE:Factory/.python-Genshi.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Genshi" Sun Mar 21 23:20:14 2021 rev:19 rq:880262 version:0.7.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Genshi/python-Genshi.changes 2020-04-15 20:07:19.482138999 +0200 +++ /work/SRC/openSUSE:Factory/.python-Genshi.new.2401/python-Genshi.changes 2021-03-21 23:20:25.172740266 +0100 @@ -1,0 +2,21 @@ +Fri Mar 19 21:55:43 UTC 2021 - Ben Greiner <[email protected]> + +- Update to 0.7.5 + * Fix handling of slices containing function call, variable name + and attribute lookup AST nodes in Python 3.9 in template + scripts (template expressions already correctly handled these + cases). Thank you to Roger Leigh for finding this issue and + contributing the fix for it. + * C speedup module now available for Python >= 3.3. Support was + added for PEP 393 (flexible string representation). Thank you + to Inada Naoki for contributing this major enhancement. + * Remove the custom 2to3 fixers (no longer used since the + removal of 2to3 in 0.7.4). +- Release 0.7.4 + * Add support for deprecation of ast classes slice, Index and + ExtSlice in Python 3.9. See https://bugs.python.org/issue34822 + for details of the changes. + * Update the project URL in setup.py to point to GitHub. + * Remove use of 2to3 for generating Python 3 compatible code. + +------------------------------------------------------------------- Old: ---- Genshi-0.7.3.tar.gz New: ---- Genshi-0.7.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Genshi.spec ++++++ --- /var/tmp/diff_new_pack.RTg2O2/_old 2021-03-21 23:20:25.928740525 +0100 +++ /var/tmp/diff_new_pack.RTg2O2/_new 2021-03-21 23:20:25.932740527 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Genshi # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Genshi -Version: 0.7.3 +Version: 0.7.5 Release: 0 Summary: A toolkit for generation of output for the web License: BSD-3-Clause @@ -29,11 +29,13 @@ BuildRequires: %{python_module Babel} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: gcc BuildRequires: python-rpm-macros Requires: python-Babel +Requires: python-six Requires: python-xml %ifpython2 Obsoletes: %{oldpython}-genshi < %{version} @@ -68,12 +70,24 @@ %python_build %install -# python3 is noarch but to keep it sane -%python_expand %{$python_install} --install-lib=%{$python_sitearch} +%python_install +# remove accidentally installed source files +%python_expand find %{buildroot}%{$python_sitearch}/genshi -name '*.c' -delete %python_expand %fdupes %{buildroot}%{$python_sitearch} +# install (flavor-agnostic) examples +mkdir -p %{buildroot}%{_docdir}/%{name}-doc/ +cp -r examples %{buildroot}%{_docdir}/%{name}-doc/ +sed -i '1{s/env python.*/python3/}' %{buildroot}%{_docdir}/%{name}-doc/examples/tutorial/geddit/controller.py +%fdupes %{buildroot}%{_docdir}/%{name}-doc/ + %check +%if %{suse_version} < 1550 +# calling unittest directly fails on Leap %python_exec setup.py test +%else +%pyunittest_arch -v genshi.tests.suite +%endif %files %{python_files} %license COPYING @@ -82,6 +96,7 @@ %{python_sitearch}/Genshi-%{version}-py%{python_version}.egg-info %files -n %{name}-doc -%doc doc examples +%doc doc +%doc %{_docdir}/%{name}-doc/examples %changelog ++++++ Genshi-0.7.3.tar.gz -> Genshi-0.7.5.tar.gz ++++++ ++++ 4480 lines of diff (skipped)
