Hello community, here is the log from the commit of package python-mockito for openSUSE:Factory checked in at 2017-12-14 10:59:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mockito (Old) and /work/SRC/openSUSE:Factory/.python-mockito.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mockito" Thu Dec 14 10:59:32 2017 rev:5 rq:556388 version:1.0.12 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mockito/python-mockito.changes 2013-12-09 17:01:10.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-mockito.new/python-mockito.changes 2017-12-14 10:59:58.324405998 +0100 @@ -1,0 +2,26 @@ +Mon Dec 11 19:47:18 UTC 2017 - [email protected] + +- update to version 1.0.12 + * see CHANGES.txt for a detailed changelog + * changes in version 1.0.12: + - Better error messages for failed verifications. + * changes in version 1.0.7 - 1.0.10 + - ``verifyZeroInteractions`` implemented. This is actually a *breaking change*, because ``verifyZeroInteractions`` was an alias for ``verifyNoMoreInteractions`` (sic!). + - All `verify*` functions now warn you if you pass in an object which was never stubbed. + * changes in version 1.0.0 - 1.0.5 + - mockito's strict mode is far more strict than before + - ``mock``, ``when``, ``verify`` return mostly empty objects. It is unlikely to have a method_name clash. + - ``Mock()`` is now an implementation detail; it is **not** exported anymore. Use ``mock()``. + * changes in version 0.7.1: + - bugfixes + * changes in version 0.7.0: + - bugfixes + * changes in version 0.6.1: + - Added ``thenAnswer(callable)``. The callable will be called to compute the answer the stubbed method will return. For that it will receive the arguments of the caller. + * changes in version 0.6.0: + - Breaking change: Throw early when calling not expected methods in strict mode. + * changes in version 0.5.3: + - Remove hard coded distribute setup files. +- Remove no longer needed patch python-mockito-0.5.2-setup.py.patch + +------------------------------------------------------------------- Old: ---- mockito-0.5.2.tar.gz python-mockito-0.5.2-setup.py.patch New: ---- mockito-1.0.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mockito.spec ++++++ --- /var/tmp/diff_new_pack.T6KNL6/_old 2017-12-14 10:59:59.440352127 +0100 +++ /var/tmp/diff_new_pack.T6KNL6/_new 2017-12-14 10:59:59.440352127 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-mockito # -# Copyright (c) 2013 SUSE LINUX Products 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,42 +16,41 @@ # -%define mod_name mockito - -Name: python-%{mod_name} -Version: 0.5.2 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-mockito +Version: 1.0.12 Release: 0 -Url: http://code.google.com/p/mockito-python Summary: Spying framework License: MIT Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/m/mockito/%{mod_name}-%{version}.tar.gz -Patch0: python-mockito-0.5.2-setup.py.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-nose -BuildRequires: python-setuptools -%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 +Url: http://mockito-python.readthedocs.io/en/latest/ +Source: https://files.pythonhosted.org/packages/source/m/mockito/mockito-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch +%ifpython2 +Requires: python2-funcsigs %endif +%python_subpackages %description -Mockito is a spying framework based on Java library with the same name. +Mockito is a spying framework originally based on the Java library with the same name. %prep %setup -q -n mockito-%{version} -%patch0 -p1 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files -%defattr(-,root,root,-) +%files %{python_files} +%doc AUTHORS CHANGES.txt README.rst +%license LICENSE %{python_sitelib}/* %changelog ++++++ mockito-0.5.2.tar.gz -> mockito-1.0.12.tar.gz ++++++ ++++ 9018 lines of diff (skipped)
