Hello community,
here is the log from the commit of package python-zope.testing for
openSUSE:Factory checked in at 2017-07-08 12:33:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
and /work/SRC/openSUSE:Factory/.python-zope.testing.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.testing"
Sat Jul 8 12:33:35 2017 rev:7 rq:507117 version:4.6.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zope.testing/python-zope.testing.changes
2015-05-19 23:47:48.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-zope.testing.new/python-zope.testing.changes
2017-07-08 12:33:36.541143305 +0200
@@ -1,0 +2,58 @@
+Fri Jun 23 11:17:45 UTC 2017 - [email protected]
+
+- Update to 4.6.1
+ * Add support for Python 3.6.
+ 4.6.0:
+ * Introduce option flag ``IGNORE_EXCEPTION_MODULE_IN_PYTHON2``
+ to normalize exception class names in traceback output.
+ In Python 3 they are displayed as the full dotted name.
+ In Python 2 they are displayed as "just" the class name.
+ When running doctests in Python 3, the option flag will
+ not have any effect, however when running the same test in
+ Python 2, the segments in the full dotted name leading up to
+ the class name are stripped away from the "expected" string.
+ * Drop support for Python 2.6 and 3.2.
+ * Add support for Python 3.5.
+ * Cleaned up useless 2to3 conversion.
+ 4.5.0:
+ * Added meta data for test case methods created with
+ ``zope.testing.doctestcase``.
+ * Reasonable values for ``__name__``, making sure that
+ ``__name__`` starts with ``test``.
+ * For ``doctestfile`` methods, provide ``filename`` and
+ ``filepath`` attributes.
+ The meta data us useful, for example, for selecting tests
+ with the nose attribute mechanism.
+ * Added ``doctestcase.doctestfiles``
+ * Define multiple doctest files at once.
+ * Automatically assign test class members. So rather than::
+ class MYTests(unittest.TestCase):
+ ...
+ test_foo = doctestcase.doctestfile('foo.txt')
+ You can use::
+ @doctestcase.doctestfiles('foo.txt', 'bar.txt', ...)
+ class MYTests(unittest.TestCase):
+ ...
+ 4.4.0:
+ * Added ``zope.testing.setupstack.mock`` as a convenience
+ function for setting up mocks in tests. (The Python
+ ``mock`` package must be in the path for this to work. The
+ excellent ``mock`` package isn't a dependency of
+ ``zope.testing``.)
+ * Added the base class ``zope.testing.setupstack.TestCase`` to
+ make it much easier to use ``zope.testing.setupstack`` in
+ ``unittest`` test cases.
+ 4.3.0:
+ * Added support for creating doctests as methods of
+ ``unittest.TestCase`` classes so that they can found
+ automatically by test runners, like *nose* that ignore test
+ suites.
+ 4.2.0:
+ * **Actually** remove long-deprecated ``zope.testing.doctest``
+ (announced as removed in 4.0.0) and
+ ``zope.testing.doctestunit``.
+ * Add support for PyPy and PyPy3.
+
+- Converted to single-spec
+
+-------------------------------------------------------------------
Old:
----
zope.testing-4.1.3.tar.gz
New:
----
zope.testing-4.6.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.testing.spec ++++++
--- /var/tmp/diff_new_pack.JE50pG/_old 2017-07-08 12:33:37.628989863 +0200
+++ /var/tmp/diff_new_pack.JE50pG/_new 2017-07-08 12:33:37.632989299 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.testing
#
-# Copyright (c) 2015 SUSE LINUX 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,27 +16,27 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zope.testing
-Version: 4.1.3
+Version: 4.6.1
Release: 0
Summary: Zope testing helpers
License: ZPL-2.1
Group: Development/Languages/Python
-Url: http://pypi.python.org/pypi/zope.testing
-Source:
http://pypi.python.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-setuptools
+Url: https://pypi.python.org/pypi/zope.testing
+Source:
https://files.pythonhosted.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
# Test requirements:
-BuildRequires: python-zope.exceptions
-BuildRequires: python-zope.interface
+BuildRequires: %{python_module zope.exceptions}
+BuildRequires: %{python_module zope.interface}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-zope.exceptions
Requires: python-zope.interface
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%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
BuildArch: noarch
-%endif
+%python_subpackages
%description
This package provides a number of testing frameworks.
@@ -92,15 +92,16 @@
%setup -q -n zope.testing-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
-python setup.py test
+%python_exec setup.py test
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt README.rst
%{python_sitelib}/*
++++++ zope.testing-4.1.3.tar.gz -> zope.testing-4.6.1.tar.gz ++++++
++++ 5432 lines of diff (skipped)