Hello community,
here is the log from the commit of package python-backports.unittest_mock for openSUSE:Factory checked in at 2017-08-10 13:42:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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"
Thu Aug 10 13:42:27 2017 rev:3 rq:509798 version:1.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-backports.unittest_mock/python-backports.unittest_mock.changes 2017-06-02 10:30:21.821072610 +0200
+++ /work/SRC/openSUSE:Factory/.python-backports.unittest_mock.new/python-backports.unittest_mock.changes 2017-08-10 13:42:28.978653207 +0200
@@ -1,0 +2,16 @@
+Mon Jul 10 12:21:50 UTC 2017 - aloisio@gmx.com
+
+- Update to version 1.3
+ * Merge with skeleton.
+ * Use pkgutil for backports namespace package.
+ 1.2.1:
+ * Bump setuptools_scm and other skeleton updates, including:
+ Drop support for setup.py build_sphinx because that usage
+ conflicts with the usage required by readthedocs, which always
+ runs the docs build from ./docs/ instead of ./. Also drop
+ support for build_sphinx because the dependency resolution of
+ that command relies on easy_install, which is also deprecated.
+ The proper way to build docs now is to install the requirements
+ in docs/requirements.txt and then invoke sphinx natively.
+
+-------------------------------------------------------------------
Old:
----
backports.unittest_mock-1.1.1.tar.gz
New:
----
backports.unittest_mock-1.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-backports.unittest_mock.spec ++++++
--- /var/tmp/diff_new_pack.04jMxa/_old 2017-08-10 13:42:29.838532165 +0200
+++ /var/tmp/diff_new_pack.04jMxa/_new 2017-08-10 13:42:29.866528224 +0200
@@ -17,7 +17,7 @@
Name: python-backports.unittest_mock
-Version: 1.1.1
+Version: 1.3
Release: 0
Summary: Backports of unittest_mock
License: MIT
@@ -26,7 +26,7 @@
Source: https://files.pythonhosted.org/packages/source/b/backports.unittest_mock/backports.unittest_mock-%{version}.tar.gz
BuildRequires: python
# NOTE:
-# %{python_sitelib}/backports is a namespace package, and so under python 2 it must have a proper namespace __init__.py
+# %%{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/
@@ -51,6 +51,7 @@
%prep
%setup -q -n backports.unittest_mock-%{version}
+rm -rf backports.unittest_mock.egg-info
%build
python2 setup.py build
@@ -60,7 +61,8 @@
--root=%{buildroot} --prefix=%{_prefix}
%check
-python2 setup.py test
+PYTHONPATH=%{buildroot}%{python_sitelib} python2 %{_bindir}/py.test -v
+rm %{buildroot}%{python_sitelib}/backports/__init__.py*
%files
%defattr(-,root,root)
++++++ backports.unittest_mock-1.1.1.tar.gz -> backports.unittest_mock-1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/.hgignore new/backports.unittest_mock-1.3/.hgignore
--- old/backports.unittest_mock-1.1.1/.hgignore 2015-06-06 14:21:04.000000000 +0200
+++ new/backports.unittest_mock-1.3/.hgignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-build
-dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/.hgtags new/backports.unittest_mock-1.3/.hgtags
--- old/backports.unittest_mock-1.1.1/.hgtags 2015-12-26 15:55:12.000000000 +0100
+++ new/backports.unittest_mock-1.3/.hgtags 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-d4db0b2be5b76b3d7c49e3a124cb567dc55eda68 1.0
-79fd59e85ac43e66fb97826d061b81786c1450a5 1.1
-29e9cccf2be9f1079ed266126ffcf13ef700ba9b 1.1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/.readthedocs.yml new/backports.unittest_mock-1.3/.readthedocs.yml
--- old/backports.unittest_mock-1.1.1/.readthedocs.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/backports.unittest_mock-1.3/.readthedocs.yml 2017-05-13 04:04:59.000000000 +0200
@@ -0,0 +1,5 @@
+python:
+ version: 3
+ extra_requirements:
+ - docs
+ pip_install: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/.travis.yml new/backports.unittest_mock-1.3/.travis.yml
--- old/backports.unittest_mock-1.1.1/.travis.yml 2015-12-26 15:28:11.000000000 +0100
+++ new/backports.unittest_mock-1.3/.travis.yml 2017-05-13 04:04:59.000000000 +0200
@@ -1,8 +1,25 @@
sudo: false
language: python
python:
- - 2.7
- - 3.5
+- 2.6
+- 2.7
+- 3.6
+install:
+- pip install tox "setuptools>=28.2"
script:
- - pip install -U pytest
- - python setup.py test
+- tox
+branches:
+ except:
+ - skeleton
+deploy:
+ provider: pypi
+ server: https://upload.pypi.org/legacy/
+ on:
+ tags: true
+ all_branches: true
+ python: 3.6
+ user: jaraco
+ distributions: dists
+ skip_upload_docs: true
+ password:
+ secure: hvxJUMYKOlVTa4d0bhO7FfYOLu6lIR5fNYl97NLXlp7MhQ+/ZWKRiu0OZ/VHBDe0ZaJAp3Gq9zw9QsikNLzMBuA8miyW1L0ASw+rAm5U3W/FoYOgftUhdF/vjI84pDgMHLdRKlXlyRKpN8OtjBalQetP4yPUyqSUgZY27Q/ZO4Sbap34CHU8hhoCfLAnc+sHl9eDwkMpJd04kQLjui0QwsHH/ChVPL+kEIbWLeJsd5SLvlBUhVuCqS5O/UKaZOdJVa0tVWtPKAJhj1cUMKQt3GtGjlIXXrpIX5Mq4xfxH5jRjwQu0NapCIlT0u59T8H0ollt5wuamWs3e2hlCiQsq7Yy36a/OpF1qzg06cro+0FheDYaeQuN0tC1/y/jtEdNTu7VzVNDINfBV1T7liCeOkEKSUyCajlRVa1cCVtNV8ct2VuJiSa+Kao14OUFCHwqH3IZHdEm1QCpScuYZjaoj9hqIPQPFYspJl5OfTGIhhXuZcwWU0zofLJSTjSxIMkkJHNaszGZzZiPTh0tjBlfPImj28/zY0mywHiq0xBYN937x6u1JVIRu8yTAqfMzfreNXywsjuejpVtjPGYRM1fQrtnhoGZrpCk/38XV5XdKlrYZmsZtSy90GWFHlsHemtnAR6TGmzGeXAZIT2uhjFymg2CYLgGENhO4pfVFxa1ork=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/CHANGES.rst new/backports.unittest_mock-1.3/CHANGES.rst
--- old/backports.unittest_mock-1.1.1/CHANGES.rst 2015-12-26 15:54:56.000000000 +0100
+++ new/backports.unittest_mock-1.3/CHANGES.rst 2017-05-13 04:04:59.000000000 +0200
@@ -1,3 +1,22 @@
+1.2.1
+=====
+
+Bump setuptools_scm and other skeleton updates, including:
+
+- Drop support for `setup.py build_sphinx` because that usage
+ conflicts with the usage required by readthedocs, which
+ always runs the docs build from `./docs/` instead of `./`.
+ Also drop support for build_sphinx because the dependency
+ resolution of that command relies on easy_install, which is
+ also deprecated. The proper way to build docs now is to
+ install the requirements in docs/requirements.txt and then
+ invoke sphinx natively.
+
+1.2
+===
+
+Add support for Python 2.6 and 3.2.
+
1.1.1
=====
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/PKG-INFO new/backports.unittest_mock-1.3/PKG-INFO
--- old/backports.unittest_mock-1.1.1/PKG-INFO 2015-12-26 15:55:19.000000000 +0100
+++ new/backports.unittest_mock-1.3/PKG-INFO 2017-05-13 04:05:21.000000000 +0200
@@ -1,13 +1,20 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: backports.unittest_mock
-Version: 1.1.1
+Version: 1.3
Summary: backports.unittest_mock
Home-page: https://github.com/jaraco/backports.unittest_mock
Author: Jason R. Coombs
Author-email: jaraco@jaraco.com
License: UNKNOWN
-Description: backports.unittest_mock
- =======================
+Description: .. image:: https://img.shields.io/pypi/v/backports.unittest_mock.svg
+ :target: https://pypi.org/project/backports.unittest_mock
+
+ .. image:: https://img.shields.io/pypi/pyversions/backports.unittest_mock.svg
+
+ .. image:: https://img.shields.io/pypi/dm/backports.unittest_mock.svg
+
+ .. image:: https://img.shields.io/travis/jaraco/backports.unittest_mock/master.svg
+ :target: http://travis-ci.org/jaraco/backports.unittest_mock
Provides a function "install()" which makes the "mock" module
available as "unittest.mock" on Python 3.2 and earlier.
@@ -15,6 +22,14 @@
Also advertises a pytest plugin which configures unittest.mock
automatically.
+
+ License
+ =======
+
+ License is indicated in the project metadata (typically one or more
+ of the Trove classifiers). For more details, see `this explanation
+ https://github.com/jaraco/skeleton/issues/1`_.
+
Usage
=====
@@ -32,8 +47,11 @@
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
+Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
+Requires-Python: >=2.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/README.rst new/backports.unittest_mock-1.3/README.rst
--- old/backports.unittest_mock-1.1.1/README.rst 2015-12-26 15:28:17.000000000 +0100
+++ new/backports.unittest_mock-1.3/README.rst 2017-05-13 04:04:59.000000000 +0200
@@ -1,5 +1,12 @@
-backports.unittest_mock
-=======================
+.. image:: https://img.shields.io/pypi/v/backports.unittest_mock.svg
+ :target: https://pypi.org/project/backports.unittest_mock
+
+.. image:: https://img.shields.io/pypi/pyversions/backports.unittest_mock.svg
+
+.. image:: https://img.shields.io/pypi/dm/backports.unittest_mock.svg
+
+.. image:: https://img.shields.io/travis/jaraco/backports.unittest_mock/master.svg
+ :target: http://travis-ci.org/jaraco/backports.unittest_mock
Provides a function "install()" which makes the "mock" module
available as "unittest.mock" on Python 3.2 and earlier.
@@ -7,6 +14,14 @@
Also advertises a pytest plugin which configures unittest.mock
automatically.
+
+License
+=======
+
+License is indicated in the project metadata (typically one or more
+of the Trove classifiers). For more details, see `this explanation
+https://github.com/jaraco/skeleton/issues/1`_.
+
Usage
=====
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/appveyor.yml new/backports.unittest_mock-1.3/appveyor.yml
--- old/backports.unittest_mock-1.1.1/appveyor.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/backports.unittest_mock-1.3/appveyor.yml 2017-05-13 04:04:59.000000000 +0200
@@ -0,0 +1,19 @@
+environment:
+
+ APPVEYOR: true
+
+ matrix:
+ - PYTHON: "C:\\Python36-x64"
+ - PYTHON: "C:\\Python27-x64"
+
+install:
+ # symlink python from a directory with a space
+ - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
+ - "SET PYTHON=\"C:\\Program Files\\Python\""
+ - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
+
+build: off
+
+test_script:
+ - "python -m pip install tox"
+ - "tox"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/backports/__init__.py new/backports.unittest_mock-1.3/backports/__init__.py
--- old/backports.unittest_mock-1.1.1/backports/__init__.py 2015-06-06 14:21:04.000000000 +0200
+++ new/backports.unittest_mock-1.3/backports/__init__.py 2017-05-13 04:04:59.000000000 +0200
@@ -1 +1 @@
-__import__("pkg_resources").declare_namespace(__name__)
+__path__ = __import__('pkgutil').extend_path(__path__, __name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/backports/unittest_mock/__init__.py new/backports.unittest_mock-1.3/backports/unittest_mock/__init__.py
--- old/backports.unittest_mock-1.1.1/backports/unittest_mock/__init__.py 2015-06-06 14:28:17.000000000 +0200
+++ new/backports.unittest_mock-1.3/backports/unittest_mock/__init__.py 2017-05-13 04:04:59.000000000 +0200
@@ -1,5 +1,4 @@
import sys
-import importlib
import unittest
@@ -8,7 +7,7 @@
if sys.version_info > (3,3):
return
- mock = importlib.import_module('mock')
+ mock = __import__('mock')
sys.modules['unittest.mock'] = unittest.mock = mock
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/backports.unittest_mock.egg-info/PKG-INFO new/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/PKG-INFO
--- old/backports.unittest_mock-1.1.1/backports.unittest_mock.egg-info/PKG-INFO 2015-12-26 15:55:18.000000000 +0100
+++ new/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/PKG-INFO 2017-05-13 04:05:21.000000000 +0200
@@ -1,13 +1,20 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: backports.unittest-mock
-Version: 1.1.1
+Version: 1.3
Summary: backports.unittest_mock
Home-page: https://github.com/jaraco/backports.unittest_mock
Author: Jason R. Coombs
Author-email: jaraco@jaraco.com
License: UNKNOWN
-Description: backports.unittest_mock
- =======================
+Description: .. image:: https://img.shields.io/pypi/v/backports.unittest_mock.svg
+ :target: https://pypi.org/project/backports.unittest_mock
+
+ .. image:: https://img.shields.io/pypi/pyversions/backports.unittest_mock.svg
+
+ .. image:: https://img.shields.io/pypi/dm/backports.unittest_mock.svg
+
+ .. image:: https://img.shields.io/travis/jaraco/backports.unittest_mock/master.svg
+ :target: http://travis-ci.org/jaraco/backports.unittest_mock
Provides a function "install()" which makes the "mock" module
available as "unittest.mock" on Python 3.2 and earlier.
@@ -15,6 +22,14 @@
Also advertises a pytest plugin which configures unittest.mock
automatically.
+
+ License
+ =======
+
+ License is indicated in the project metadata (typically one or more
+ of the Trove classifiers). For more details, see `this explanation
+ https://github.com/jaraco/skeleton/issues/1`_.
+
Usage
=====
@@ -32,8 +47,11 @@
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
+Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
+Requires-Python: >=2.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/backports.unittest_mock.egg-info/SOURCES.txt new/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/SOURCES.txt
--- old/backports.unittest_mock-1.1.1/backports.unittest_mock.egg-info/SOURCES.txt 2015-12-26 15:55:18.000000000 +0100
+++ new/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/SOURCES.txt 2017-05-13 04:05:21.000000000 +0200
@@ -1,17 +1,17 @@
-.hgignore
-.hgtags
+.readthedocs.yml
.travis.yml
CHANGES.rst
README.rst
+appveyor.yml
pytest.ini
setup.cfg
setup.py
+tox.ini
backports/__init__.py
backports.unittest_mock.egg-info/PKG-INFO
backports.unittest_mock.egg-info/SOURCES.txt
backports.unittest_mock.egg-info/dependency_links.txt
backports.unittest_mock.egg-info/entry_points.txt
-backports.unittest_mock.egg-info/namespace_packages.txt
backports.unittest_mock.egg-info/requires.txt
backports.unittest_mock.egg-info/top_level.txt
backports/unittest_mock/__init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/backports.unittest_mock.egg-info/namespace_packages.txt new/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/namespace_packages.txt
--- old/backports.unittest_mock-1.1.1/backports.unittest_mock.egg-info/namespace_packages.txt 2015-12-26 15:55:18.000000000 +0100
+++ new/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/namespace_packages.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-backports
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/backports.unittest_mock.egg-info/requires.txt new/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/requires.txt
--- old/backports.unittest_mock-1.1.1/backports.unittest_mock.egg-info/requires.txt 2015-12-26 15:55:18.000000000 +0100
+++ new/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/requires.txt 2017-05-13 04:05:21.000000000 +0200
@@ -1,3 +1,12 @@
-[:python_version=="2.7"]
+[:python_version=="2.7" or python_version=="2.6" or python_version=="3.2"]
mock
+
+[docs]
+sphinx
+jaraco.packaging>=3.2
+rst.linker>=1.9
+
+[testing]
+pytest>=2.8
+pytest-sugar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backports.unittest_mock-1.1.1/docs/conf.py new/backports.unittest_mock-1.3/docs/conf.py
--- old/backports.unittest_mock-1.1.1/docs/conf.py 2015-12-26 15:28:28.000000000 +0100
+++ new/backports.unittest_mock-1.3/docs/conf.py 2017-05-13 04:04:59.000000000 +0200
@@ -1,19 +1,32 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
-import setuptools_scm
-
extensions = [
'sphinx.ext.autodoc',
+ 'jaraco.packaging.sphinx',
+ 'rst.linker',
]
-# General information about the project.
-project = 'backports.unittest_mock'
-copyright = '2015 Jason R. Coombs'
-
-# The short X.Y version.
-version = setuptools_scm.get_version(root='..', relative_to=__file__)
-# The full version, including alpha/beta/rc tags.
-release = version
-
master_doc = 'index'
+
+link_files = {
+ '../CHANGES.rst': dict(
+ using=dict(
+ GH='https://github.com',
+ ),
+ replace=[
+ dict(
+ pattern=r'(Issue )?#(?P<issue>\d+)',
+ url='{package_url}/issues/{issue}',
+ ),
+ dict(
+ pattern=r'^(?m)((?P