Hello community,

here is the log from the commit of package python3-mock for openSUSE:Factory 
checked in at 2015-10-24 10:22:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-mock (Old)
 and      /work/SRC/openSUSE:Factory/.python3-mock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-mock"

Changes:
--------
New Changes file:

--- /dev/null   2015-10-14 00:04:03.524025256 +0200
+++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock-doc.changes       
2015-10-24 10:23:01.000000000 +0200
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Mon Oct 12 20:38:34 UTC 2015 - toddrme2...@gmail.com
+
+- Don't run tests in doc package.
+
+-------------------------------------------------------------------
+Mon Oct 12 10:46:05 UTC 2015 - toddrme2...@gmail.com
+
+- Split documentation into separate spec file to avoid dependency loop
+  python3-mock <--> python3-Sphinx
--- /work/SRC/openSUSE:Factory/python3-mock/python3-mock.changes        
2014-07-24 01:18:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock.changes   
2015-10-24 10:23:01.000000000 +0200
@@ -1,0 +2,141 @@
+Mon Oct 12 20:38:34 UTC 2015 - toddrme2...@gmail.com
+
+- Don't run tests in doc package.
+
+-------------------------------------------------------------------
+Mon Oct 12 10:46:05 UTC 2015 - toddrme2...@gmail.com
+
+- Split documentation into separate spec file to avoid dependency loop
+  python3-mock <--> python3-Sphinx
+
+-------------------------------------------------------------------
+Sat Aug  1 22:00:39 UTC 2015 - a...@gmx.de
+
+- specfile:
+  * update copyright year
+  * include pbr, six
+  * add Sphinx and setup sphinx build
+  * add NEWS, Changelog, rename README.txt->README.rst
+  * removed patch_fix_py34_mock_1.0.1.patch: applied upstream
+  * removed mock-unittest2py27.patch
+  * "rm -rf html/.doctrees" not needed anymore
+
+- update to version 1.3.0:
+  * Update sync point
+  * Issue #21750: Further fixup to be styled like other mock APIs
+  * Typo fix in mock.patch
+
+- changes from version 1.2.0:
+  * Revert "Issue #21750: mock_open.read_data can now be read from
+    each instance, as it"
+
+- changes from version 1.1.4:
+  * Add 2.6 back to classifiers
+  * Record sync point
+  * Issue #21750: mock_open.read_data can now be read from each
+    instance, as it could in Python 3.3
+  * Issue #18622: unittest.mock.mock_open().reset_mock would recurse
+    infinitely
+  * Folk should test 2.6 locally too
+  * Closes #279: setuptools.version is too new
+  * Support python 2.6
+
+- changes from version 1.1.3:
+  * Update sync point and sync docs
+  * Issue #23661: unittest.mock side_effects can now be exceptions again
+  * Abort installation if the installer is using setuptools<17.1
+
+- changes from version 1.1.2:
+  * Closes #269: setup_requires pbr 1.3
+
+- changes from version 1.1.1:
+  * Closes #257: version the dependency on six
+  * Rename README.txt to README.rst
+
+- changes from version 1.1.0:
+  * Make reproducing travis behaviour somewhat easier
+  * Cleanup version number handling
+  * Overhaul docs
+  * Update docs
+  * Remove stale MANIFEST.in, ignore pbr outputs
+  * Convert to a package, use pbr, update metadata
+  * Bump versions
+  * Officially drop 2.6 support
+  * Issue #23310: Fix MagicMock's initializer to work with
+    __methods__. Behavior equivalent to m.configure_mock(). Patch by
+    Kasia Jachim
+  * Issue #23568: Add rdivmod support to MagicMock() objects
+  * Issue #23581: Add matmul support to MagicMock
+  * Issue #23326: Removed __ne__ implementations. Since fixing default
+    __ne__ implementation in issue #21408 they are redundant
+  * Issue #22823: Use set literals instead of creating a set from a
+    list. Fixed an output of sets in examples
+  * Closes #21270 : We now override tuple methods in mock.call objects
+  * Suppress a couple more DeprecationWarnings in the test suite
+  * Closes #21256: Printout of keyword args in deterministic order in mock 
calls
+  * Removes unused varargs and varkwargs from assert_not_called()
+  * Closes Issue 21262: New method assert_not_called for Mock
+  * Closes Issue 21238: New keyword argument `unsafe` to Mock
+  * Closes issue 21239. unittest.mock.patch.stopall() did not work
+    deterministically when the same name was patched multiple times
+  * Closes Issue 21222
+  * Closes issue 17660. You no longer need to explicitly pass
+    create=True when patching builtin names
+  * Issue 17826. Setting an iterable side_effect on a mock created by
+    create_autospec now works
+  * Issue 20968. unittest.mock.MagicMock now supports division
+  * Issue #20189: Four additional builtin types (PyTypeObject,
+    PyMethodDescr_Type, _PyMethodWrapper_Type, and
+    PyWrapperDescr_Type) have been modified to provide introspection
+    information for builtins. Also: many additional Lib, test suite,
+    and Argument Clinic fixes
+  * Issue #19594: Use specific asserts in unittest tests
+  * Remove shadowed test
+  * Adjust comment
+  * Issue #19013: add a __main__ to unittest.test.testmock to ease CLI
+    invocation
+  * Issue #19013: add unittest.main() epilogs to unittest.mock's own
+    test modules
+  * Process DEFAULT values in mock side_effect that returns iterator
+  * Closes issue 17467. Add readline and readlines support to
+    unittest.mock.mock_open
+  * Issue #17047: remove doubled words added in 3.3 as reported by
+    Serhiy Storchaka and Matthew Barnett
+  * Issue #17015: When it has a spec, a Mock object now inspects its
+    signature when matching calls, so that arguments can be matched
+    positio nally or by name
+  * Closes issue 15323. Improve failure message of
+    Mock.assert_called_once_with
+  * Close #14857: fix regression in references to PEP 3135 implicit
+    __class__ closure variable. Reopens issue #12370, but also updates
+    unitt est.mock to workaround that issue
+  * Remove incorrect comment
+  * Closes issue 14634. unittest.mock.create_autospec now supports
+    keyword only arguments
+  * unittest.mock: removed another bit of Python 2 only code
+  * Adding unittest.mock documentation
+  * unittest.mock: remove another piece of Python 2 specific code
+  * Remove more Python 2 code from unittest.mock (obsolete function
+    attributes)
+  * Support subclassing unittest.mock._patch and fix various obscure
+    bugs around patcher spec arguments
+  * unittest.mock.MagicMock objects are now unorderable by default
+  * Removed XXX from unittest.mock docstring and switch to a nicer
+    try...except...finally
+  * Remove more Python 2 compatibility cruft from unittest.mock
+  * PEP 417: Adding unittest.mock
+  * Ignore patch rejects too
+  * Add NEWS
+  * Add PyPy to travis
+  * Issue #20189: Four additional builtin types
+  * Just hard-depend on unittest2
+  * Fix typo in test name
+  * Some basic release process notes
+  * Ignore more editor files
+  * Add testrepository configuration
+  * We never need sudo. Containers FTW
+  * Fixup ignores
+  * Iterating on .travis.yml
+  * Setup Travis-CI
+
+-------------------------------------------------------------------

Old:
----
  mock-1.0.1.tar.gz
  mock-unittest2py27.patch
  patch_fix_py34_mock_1.0.1.patch

New:
----
  mock-1.3.0.tar.gz
  python3-mock-doc.changes
  python3-mock-doc.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-mock-doc.spec ++++++
#
# spec file for package python3-mock-doc
#
# Copyright (c) 2015 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python3-mock-doc
Version:        1.3.0
Release:        0
Url:            http://www.voidspace.org.uk/python/mock/
Summary:        Documentation for python3-mock
License:        BSD-2-Clause
Group:          Development/Languages/Python
Source:         
http://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3-Sphinx
BuildRequires:  python3-mock = %{version}
Requires:       python3-mock = %{version}
BuildArch:      noarch

%description
mock is a Python module that provides a core Mock class. It removes the need
to create a host of stubs throughout your test suite. After performing an
action, you can make assertions about which methods / attributes were used and
arguments they were called with. You can also specify return values and set
needed attributes in the normal way.

%prep
%setup -q -n mock-%{version}

%build
sphinx-build -b html docs html

%install
mkdir -p %{buildroot}/%{_docdir}/python3-mock
cp -r html  %{buildroot}/%{_docdir}/python3-mock/

%files
%defattr(-,root,root,-)
%{_docdir}/python3-mock/html

%changelog
++++++ python3-mock.spec ++++++
--- /var/tmp/diff_new_pack.JpHQRH/_old  2015-10-24 10:23:02.000000000 +0200
+++ /var/tmp/diff_new_pack.JpHQRH/_new  2015-10-24 10:23:02.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-mock
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,22 +17,22 @@
 
 
 Name:           python3-mock
-Version:        1.0.1
+Version:        1.3.0
 Release:        0
 Url:            http://www.voidspace.org.uk/python/mock/
 Summary:        A Python Mocking and Patching Library for Testing
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
 Source:         
http://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM speili...@suse.com -- 
http://code.google.com/p/mock/issues/detail?id=194
-Patch0:         mock-unittest2py27.patch
-# PATCH-FIX-UPSTREAM toddrme2...@gmail.com -- 
https://bugs.launchpad.net/ubuntu/+source/python-mock/+bug/1283742
-Patch1:         patch_fix_py34_mock_1.0.1.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-#NOTE(saschpe): Need 'python3' for the xml module:
-BuildRequires:  python3
 BuildRequires:  python3-devel
+BuildRequires:  python3-pbr >= 0.11
 BuildRequires:  python3-setuptools
+BuildRequires:  python3-six >= 1.7
+BuildRequires:  python3-unittest2
+Requires:       python3-pbr >= 0.11
+Requires:       python3-six >= 1.7
+Requires:       python3-unittest2 
 BuildArch:      noarch
 
 %description
@@ -44,9 +44,6 @@
 
 %prep
 %setup -q -n mock-%{version}
-%patch0 -p1
-%patch1 -p1
-rm -rf html/.doctrees # Remove junk
 
 %build
 python3 setup.py build
@@ -55,11 +52,11 @@
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
-python3 setup.py test
+unit2
 
 %files
 %defattr(-,root,root,-)
-%doc README.txt html
+%doc AUTHORS ChangeLog LICENSE.txt NEWS README.rst
 %{python3_sitelib}/*
 
 %changelog

++++++ mock-1.0.1.tar.gz -> mock-1.3.0.tar.gz ++++++
++++ 38472 lines of diff (skipped)


Reply via email to