Hello community,
here is the log from the commit of package python-backports.unittest_mock for
openSUSE:Factory checked in at 2017-04-28 10:46:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-backports.unittest_mock (Old)
and /work/SRC/openSUSE:Factory/.python-backports.unittest_mock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-backports.unittest_mock"
Fri Apr 28 10:46:23 2017 rev:1 rq:489865 version:1.1.1
Changes:
--------
New Changes file:
--- /dev/null 2017-03-01 00:40:19.279048016 +0100
+++
/work/SRC/openSUSE:Factory/.python-backports.unittest_mock.new/python-backports.unittest_mock.changes
2017-04-28 10:46:28.860808434 +0200
@@ -0,0 +1,30 @@
+-------------------------------------------------------------------
+Fri Mar 31 19:27:35 UTC 2017 - [email protected]
+
+- %{python_sitelib}/backports is a namespace package, and so under
+ python 2.x it must have a proper
+ %{python_sitelib}/backports/__init__.py file.
+ python-backports provides this __init__.py to prevent backports
+ packages from conflicting.
+ Please see the following links for more details:
+ https://pypi.python.org/pypi/backports/
+ https://www.python.org/dev/peps/pep-0420/%23namespace-packages-today
+
+-------------------------------------------------------------------
+Thu Mar 30 22:14:12 UTC 2017 - [email protected]
+
+- Add python2 provides.
+- Use the common __init__.py used by the python-backports package
+ to avoid conflicts.
+
+-------------------------------------------------------------------
+Tue Aug 2 13:24:18 UTC 2016 - [email protected]
+
+- Switch to Python2.
+- Add build_sphinx.
+- Minor spec cleanups.
+
+-------------------------------------------------------------------
+Sat Jul 16 19:11:32 UTC 2016 - [email protected]
+
+- initial version
New:
----
backports.unittest_mock-1.1.1.tar.gz
python-backports.unittest_mock.changes
python-backports.unittest_mock.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-backports.unittest_mock.spec ++++++
#
# spec file for package python-backports.unittest_mock
#
# 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
# 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: python-backports.unittest_mock
Version: 1.1.1
Release: 0
Summary: Backports of unittest_mock
License: MIT
Group: Development/Languages/Python
Url: https://github.com/jaraco/backports.unittest_mock
Source:
https://files.pythonhosted.org/packages/source/b/backports.unittest_mock/backports.unittest_mock-%{version}.tar.gz
BuildRequires: python
BuildRequires: python-Sphinx
BuildRequires: python-mock
BuildRequires: python-pytest
BuildRequires: python-pytest-runner
BuildRequires: python-setuptools
BuildRequires: python-setuptools_scm
# NOTE:
# %{python_sitelib}/backports is a namespace package, and so under python 2 it
must have a proper namespace __init__.py
# python-backports provides this __init__.py to prevent backports packages from
conflicting.
# Please see:
# https://pypi.python.org/pypi/backports/
# https://www.python.org/dev/peps/pep-0420/%23namespace-packages-today
# If you need to link, the python-backports package is built as a subpackage of
python-configparser
BuildRequires: python-backports
Requires: python-backports
Requires: python-mock
Provides: python2-backports.unittest_mock = %{version}
BuildArch: noarch
%description
Provides a function "install()" which makes the "mock" module
available as "unittest.mock" on Python 3.2 and earlier.
Also advertises a pytest plugin which configures unittest.mock
automatically.
%prep
%setup -q -n backports.unittest_mock-%{version}
%build
python2 setup.py build
python2 setup.py build_sphinx
%install
python2 setup.py install \
--root=%{buildroot} --prefix=%{_prefix}
%check
python2 setup.py test
%files
%defattr(-,root,root)
%doc CHANGES.rst README.rst
%{python_sitelib}/backports/unittest_mock/
%{python_sitelib}/backports.unittest_mock-*
%changelog