Hello community, here is the log from the commit of package python-zope.i18nmessageid for openSUSE:Factory checked in at 2017-07-11 08:25:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zope.i18nmessageid (Old) and /work/SRC/openSUSE:Factory/.python-zope.i18nmessageid.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.i18nmessageid" Tue Jul 11 08:25:57 2017 rev:4 rq:508927 version:4.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zope.i18nmessageid/python-zope.i18nmessageid.changes 2015-05-18 22:22:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-zope.i18nmessageid.new/python-zope.i18nmessageid.changes 2017-07-11 08:25:58.342372877 +0200 @@ -1,0 +2,13 @@ +Sat Jul 8 07:15:18 UTC 2017 - aloi...@gmx.com + +- Update to version 4.1.0 + * Drop support for Python 2.6 and 3.2. + * Add support for Python 3.5 and 3.6. + * Fix the C extension not being used in Python 3. See issue 4. + * Make the Python implementation of Message accept any object + for the default argument, just as the C extension does. + This should be a unicode or byte string. See issue 5. + +- Converted to single-spec + +------------------------------------------------------------------- Old: ---- zope.i18nmessageid-4.0.3.tar.gz New: ---- zope.i18nmessageid-4.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zope.i18nmessageid.spec ++++++ --- /var/tmp/diff_new_pack.5nvKrW/_old 2017-07-11 08:25:59.230247644 +0200 +++ /var/tmp/diff_new_pack.5nvKrW/_new 2017-07-11 08:25:59.234247080 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-zope.i18nmessageid # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,57 +17,61 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-zope.i18nmessageid -Version: 4.0.3 +Version: 4.1.0 Release: 0 -Url: http://www.python.org/pypi/zope.i18nmessageid Summary: Zope Location License: ZPL-2.1 Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools -# Documentation requirements: -BuildRequires: python-Sphinx - -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif +Url: http://www.python.org/pypi/zope.i18nmessageid +Source: https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION documentation requirements +BuildRequires: %{python_module Sphinx} +# /SECTION +%python_subpackages %description In Zope3, i18nmessageid are special objects that has a structural i18nmessageid. -%package doc +%package -n %{name}-doc Summary: Zope Location Group: Development/Languages/Python +Provides: %{python_module zope.i18nmessageid-doc = %{version}} Requires: %{name} = %{version} -%description doc +%description -n %{name}-doc This package contains documentation files for %{name}. %prep %setup -q -n zope.i18nmessageid-%{version} +rm -rf zope.i18nmessageid.egg-info %build -python setup.py build -PYTHONPATH=$(echo $(pwd)/build/lib.*) python setup.py build_sphinx && rm build/sphinx/html/.buildinfo +%python_build +%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install # don't bother with development files -rm -f %{buildroot}%python_sitearch/zope/i18nmessageid/_zope_i18nmessageid_message.c +%{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/i18nmessageid/_zope_i18nmessageid_message.c + %fdupes -s %{buildroot}%{$python_sitearch} +} %check -python setup.py test +%python_exec setup.py test -%files -%defattr(-,root,root,-) +%files %{python_files} +%defattr(-,root,root) %doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst -%python_sitearch/* +%{python_sitearch}/* -%files doc -%defattr(-,root,root,-) +%files -n %{name}-doc +%defattr(-,root,root) %doc build/sphinx/html/ %changelog ++++++ zope.i18nmessageid-4.0.3.tar.gz -> zope.i18nmessageid-4.1.0.tar.gz ++++++ ++++ 6526 lines of diff (skipped)