Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2017-11-02 10:24:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest"

Thu Nov  2 10:24:10 2017 rev:27 rq:537603 version:3.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2017-04-19 18:05:56.567285070 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes     
2017-11-02 10:24:11.772540542 +0100
@@ -1,0 +2,269 @@
+Thu Oct  5 16:16:23 UTC 2017 - a...@gmx.de
+
+- update to version 3.2.3:
+  * Bug Fixes
+    + Fix crash in tab completion when no prefix is given. (#2748)
+    + The equality checking function (__eq__) of MarkDecorator returns
+      False if one object is not an instance of MarkDecorator. (#2758)
+    + When running pytest --fixtures-per-test: don’t crash if an item
+      has no _fixtureinfo attribute (e.g. doctests) (#2788)
+  * Improved Documentation
+    + In help text of -k option, add example of using not to not
+      select certain tests whose names match the provided
+      expression. (#1442)
+    + Add note in parametrize.rst about calling metafunc.parametrize
+      multiple times. (#1548)
+  * Trivial/Internal Changes
+    + Set xfail_strict=True in pytest’s own test suite to catch
+      expected failures as soon as they start to pass. (#2722)
+    + Fix typo in example of passing a callable to markers (in
+      example/markers.rst) (#2765)
+
+-------------------------------------------------------------------
+Thu Sep 28 21:25:37 UTC 2017 - sean.mar...@suse.com
+
+- Fix python-py version requirement.
+- Update to 3.2.2:
+  * Bug Fixes
+    - Calling the deprecated request.getfuncargvalue() now shows the
+      source of the call. (#2681)
+    - Allow tests declared as @staticmethod to use fixtures. (#2699)
+    - Fixed edge-case during collection: attributes which raised
+      pytest.fail when accessed would abort the entire collection.
+      (#2707)
+    - Fix ReprFuncArgs with mixed unicode and UTF-8 args. (#2731)
+  * Improved Documentation
+    - In examples on working with custom markers, add examples
+      demonstrating the usage of pytest.mark.MARKER_NAME.with_args
+      in comparison with pytest.mark.MARKER_NAME.__call__ (#2604)
+    - In one of the simple examples, use
+      pytest_collection_modifyitems() to skip tests based on a
+      command-line option, allowing its sharing while preventing a
+      user error when acessing pytest.config before the argument
+      parsing. (#2653)
+  * Trivial/Internal Changes
+    - Fixed minor error in 'Good Practices/Manual Integration' code
+      snippet. (#2691)
+    - Fixed typo in goodpractices.rst. (#2721)
+    - Improve user guidance regarding --resultlog deprecation.
+      (#2739) 
+
+-------------------------------------------------------------------
+Fri Aug 25 10:01:52 UTC 2017 - sebix+novell....@sebix.at
+
+- update to 3.2.1, shortened changelogs:
+ * Pytest 3.2.1 (2017-08-08)
+  * Bug Fixes
+   - Fixed small terminal glitch when collecting a single test item. (#2579)
+   - Correctly consider / as the file separator to automatically mark plugin
+  files for rewrite on Windows. (#2591)
+   - Properly escape test names when setting PYTEST_CURRENT_TEST environment
+  variable. (#2644)
+   - Fix error on Windows and Python 3.6+ when sys.stdout has been replaced
+  with a stream-like object which does not implement the full io module
+  buffer protocol. In particular this affects pytest-xdist users on the
+  aforementioned platform. (#2666)
+  * Improved Documentation
+   - Explicitly document which pytest features work with unittest. (#2626)
+ * Pytest 3.2.0 (2017-07-30)
+  * Deprecations and Removals
+   - pytest.approx no longer supports >, >=, < and <=
+  operators to avoid surprising/inconsistent behavior. See the docs
+  <https://docs.pytest.org/en/latest/builtin.html#pytest.approx> for more
+  information. (#2003)
+   - All old-style specific behavior in current classes in the pytest's API is
+  considered deprecated at this point and will be removed in a future release.
+  This affects Python 2 users only and in rare situations. (#2147)
+   - A deprecation warning is now raised when using marks for parameters
+  in pytest.mark.parametrize. Use pytest.param to apply marks to
+  parameters instead. (#2427)
+  * Features
+   - Add support for numpy arrays (and dicts) to approx. (#1994)
+   - Now test function objects have a pytestmark attribute containing a list
+  of marks applied directly to the test function, as opposed to marks inherited
+  from parent classes or modules. (#2516)
+   - Collection ignores local virtualenvs by default; `--collect-in-virtualenv`
+  overrides this behavior. (#2518)
+   - Allow class methods decorated as @staticmethod to be candidates for
+  collection as a test function. (Only for Python 2.7 and above. Python 2.6
+  will still ignore static methods.) (#2528)
+   - Introduce mark.with_args in order to allow passing functions/classes as
+  sole argument to marks. (#2540)
+   - New cache_dir ini option: sets the directory where the contents of the
+  cache plugin are stored. Directory may be relative or absolute path: if 
relative path, then
+  directory is created relative to rootdir, otherwise it is used as is.
+  Additionally path may contain environment variables which are expanded during
+  runtime. (#2543)
+   - Introduce the PYTEST_CURRENT_TEST environment variable that is set with
+  the nodeid and stage (setup, call and teardown) of the test
+  being currently executed. See the documentation
+  <https://docs.pytest.org/en/latest/example/simple.html#pytest-current-test-
+  environment-variable> for more info. (#2583)
+   - Introduced @pytest.mark.filterwarnings mark which allows overwriting the
+  warnings filter on a per test, class or module level. See the docs
+  <https://docs.pytest.org/en/latest/warnings.html#pytest-mark-
+  filterwarnings> for more information. (#2598)
+   - --last-failed now remembers forever when a test has failed and only
+  forgets it if it passes again. This makes it easy to fix a test suite by
+  selectively running files and fixing tests incrementally. (#2621)
+   - New pytest_report_collectionfinish hook which allows plugins to add
+  messages to the terminal reporting after collection has been finished
+  successfully. (#2622)
+   - Added support for PEP-415's <https://www.python.org/dev/peps/pep-0415/>
+  Exception.__suppress_context__. Now if a raise exception from None is
+  caught by pytest, pytest will no longer chain the context in the test report.
+  The behavior now matches Python's traceback behavior. (#2631)
+   - Exceptions raised by pytest.fail, pytest.skip and pytest.xfail
+  now subclass BaseException, making them harder to be caught unintentionally
+  by normal code. (#580)
+  * Bug Fixes
+   - Set stdin to a closed PIPE in pytester.py.Testdir.popen() for
+  avoid unwanted interactive pdb (#2023)
+   - Add missing encoding attribute to sys.std* streams when using
+  capsys capture mode. (#2375)
+   - Fix terminal color changing to black on Windows if colorama is imported
+  in a conftest.py file. (#2510)
+   - Fix line number when reporting summary of skipped tests. (#2548)
+   - capture: ensure that EncodedFile.name is a string. (#2555)
+   - The options --fixtures and --fixtures-per-test will now keep
+  indentation within docstrings. (#2574)
+   - doctests line numbers are now reported correctly, fixing pytest-sugar#122
+  <https://github.com/Frozenball/pytest-sugar/issues/122>. (#2610)
+   - Fix non-determinism in order of fixture collection. Adds new dependency
+  (ordereddict) for Python 2.6. (#920)
+  * Improved Documentation
+   - Clarify pytest_configure hook call order. (#2539)
+   - Extend documentation for testing plugin code with the pytester plugin.
+  (#971)
+ * Pytest 3.1.3 (2017-07-03)
+  * Bug Fixes
+   - Fix decode error in Python 2 for doctests in docstrings. (#2434)
+   - Exceptions raised during teardown by finalizers are now suppressed until 
all
+  finalizers are called, with the initial exception reraised. (#2440)
+   - Fix incorrect "collected items" report when specifying tests on the 
command-
+  line. (#2464)
+   - deprecated_call in context-manager form now captures deprecation warnings
+  even if the same warning has already been raised. Also, deprecated_call
+  will always produce the same error message (previously it would produce
+  different messages in context-manager vs. function-call mode). (#2469)
+   - Fix issue where paths collected by pytest could have triple leading /
+  characters. (#2475)
+   - Fix internal error when trying to detect the start of a recursive 
traceback.
+  (#2486)
+  * Improved Documentation
+   - Explicitly state for which hooks the calls stop after the first non-None
+  result. (#2493)
+ * Pytest 3.1.2 (2017-06-08)
+  * Bug Fixes
+   - Required options added via pytest_addoption will no longer prevent using
+  --help without passing them. (#1999)
+   - Respect python_files in assertion rewriting. (#2121)
+   - Fix recursion error detection when frames in the traceback contain objects
+     that can't be compared (like numpy arrays). (#2459)
+   - UnicodeWarning is issued from the internal pytest warnings plugin only
+     when the message contains non-ascii unicode (Python 2 only). (#2463)
+   - Added a workaround for Python 3.6 WindowsConsoleIO breaking due to 
Pytests's
+     FDCapture. Other code using console handles might still be affected by the
+     very same issue and might require further workarounds/fixes, i.e. 
colorama.
+     (#2467)
+  * Improved Documentation
+   - Fix internal API links to pluggy objects. (#2331)
+   - Make it clear that pytest.xfail stops test execution at the calling point
+  and improve overall flow of the skipping docs. (#810)
+ * Pytest 3.1.1 (2017-05-30)
+  * Bug Fixes
+   - pytest warning capture no longer overrides existing warning filters. The
+     previous behaviour would override all filters and caused regressions in 
test
+     suites which configure warning filters to match their needs. Note that as 
a
+     side-effect of this is that DeprecationWarning and
+     PendingDeprecationWarning are no longer shown by default. (#2430)
+   - Fix issue with non-ascii contents in doctest text files. (#2434)
+   - Fix encoding errors for unicode warnings in Python 2. (#2436)
+   - pytest.deprecated_call now captures PendingDeprecationWarning in
+  context manager form. (#2441)
+  * Improved Documentation
+   - Addition of towncrier for changelog management. (#2390)
+ * 3.1.0 (2017-05-22)
+  * New Features
+   * The pytest-warnings plugin has been integrated into the core and now 
pytest automatically
+     captures and displays warnings at the end of the test session.
+     .. warning::
+       This feature may disrupt test suites which apply and treat warnings 
themselves, and can be
+       disabled in your pytest.ini:
+       .. code-block:: ini
+         [pytest]
+         addopts = -p no:warnings
+       See the warnings documentation page 
<https://docs.pytest.org/en/latest/warnings.html> for more
+       information.
++++ 72 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes
++++ and /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes      
2017-09-21 12:28:14.455021803 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2017-11-02 10:24:12.064529900 +0100
@@ -1,0 +2,280 @@
+Mon Oct 30 16:03:56 UTC 2017 - jmate...@suse.com
+
+- update to more modern singlespec macros
+- make build work when python2 is missing
+
+-------------------------------------------------------------------
+Thu Oct  5 16:16:23 UTC 2017 - a...@gmx.de
+
+- update to version 3.2.3:
+  * Bug Fixes
+    + Fix crash in tab completion when no prefix is given. (#2748)
+    + The equality checking function (__eq__) of MarkDecorator returns
+      False if one object is not an instance of MarkDecorator. (#2758)
+    + When running pytest --fixtures-per-test: don’t crash if an item
+      has no _fixtureinfo attribute (e.g. doctests) (#2788)
+  * Improved Documentation
+    + In help text of -k option, add example of using not to not
+      select certain tests whose names match the provided
+      expression. (#1442)
+    + Add note in parametrize.rst about calling metafunc.parametrize
+      multiple times. (#1548)
+  * Trivial/Internal Changes
+    + Set xfail_strict=True in pytest’s own test suite to catch
+      expected failures as soon as they start to pass. (#2722)
+    + Fix typo in example of passing a callable to markers (in
+      example/markers.rst) (#2765)
+
+-------------------------------------------------------------------
+Thu Sep 28 17:52:11 UTC 2017 - sean.mar...@suse.com
+
+- Fix python-py version requirement.
+- Update to 3.2.2:
+  * Bug Fixes
+    - Calling the deprecated request.getfuncargvalue() now shows the
+      source of the call. (#2681)
+    - Allow tests declared as @staticmethod to use fixtures. (#2699)
+    - Fixed edge-case during collection: attributes which raised
+      pytest.fail when accessed would abort the entire collection.
+      (#2707)
+    - Fix ReprFuncArgs with mixed unicode and UTF-8 args. (#2731)
+  * Improved Documentation
+    - In examples on working with custom markers, add examples
+      demonstrating the usage of pytest.mark.MARKER_NAME.with_args
+      in comparison with pytest.mark.MARKER_NAME.__call__ (#2604)
+    - In one of the simple examples, use
+      pytest_collection_modifyitems() to skip tests based on a
+      command-line option, allowing its sharing while preventing a
+      user error when acessing pytest.config before the argument
+      parsing. (#2653)
+  * Trivial/Internal Changes
+    - Fixed minor error in 'Good Practices/Manual Integration' code
+      snippet. (#2691)
+    - Fixed typo in goodpractices.rst. (#2721)
+    - Improve user guidance regarding --resultlog deprecation.
+      (#2739)
+
+-------------------------------------------------------------------
+Fri Aug 25 15:23:41 UTC 2017 - jeng...@inai.de
+
+- Replace sensationalist wording.
+
+-------------------------------------------------------------------
+Fri Aug 25 10:01:40 UTC 2017 - sebix+novell....@sebix.at
+
+- update to 3.2.1, shortened changelogs:
+ * Pytest 3.2.1 (2017-08-08)
+  * Bug Fixes
+   - Fixed small terminal glitch when collecting a single test item. (#2579)
+   - Correctly consider / as the file separator to automatically mark plugin
+  files for rewrite on Windows. (#2591)
+   - Properly escape test names when setting PYTEST_CURRENT_TEST environment
+  variable. (#2644)
+   - Fix error on Windows and Python 3.6+ when sys.stdout has been replaced
+  with a stream-like object which does not implement the full io module
+  buffer protocol. In particular this affects pytest-xdist users on the
+  aforementioned platform. (#2666)
+  * Improved Documentation
+   - Explicitly document which pytest features work with unittest. (#2626)
+ * Pytest 3.2.0 (2017-07-30)
+  * Deprecations and Removals
+   - pytest.approx no longer supports >, >=, < and <=
+  operators to avoid surprising/inconsistent behavior. See the docs
+  <https://docs.pytest.org/en/latest/builtin.html#pytest.approx> for more
+  information. (#2003)
+   - All old-style specific behavior in current classes in the pytest's API is
+  considered deprecated at this point and will be removed in a future release.
+  This affects Python 2 users only and in rare situations. (#2147)
+   - A deprecation warning is now raised when using marks for parameters
+  in pytest.mark.parametrize. Use pytest.param to apply marks to
+  parameters instead. (#2427)
+  * Features
+   - Add support for numpy arrays (and dicts) to approx. (#1994)
+   - Now test function objects have a pytestmark attribute containing a list
+  of marks applied directly to the test function, as opposed to marks inherited
+  from parent classes or modules. (#2516)
+   - Collection ignores local virtualenvs by default; `--collect-in-virtualenv`
+  overrides this behavior. (#2518)
+   - Allow class methods decorated as @staticmethod to be candidates for
+  collection as a test function. (Only for Python 2.7 and above. Python 2.6
+  will still ignore static methods.) (#2528)
+   - Introduce mark.with_args in order to allow passing functions/classes as
+  sole argument to marks. (#2540)
+   - New cache_dir ini option: sets the directory where the contents of the
+  cache plugin are stored. Directory may be relative or absolute path: if 
relative path, then
+  directory is created relative to rootdir, otherwise it is used as is.
+  Additionally path may contain environment variables which are expanded during
+  runtime. (#2543)
+   - Introduce the PYTEST_CURRENT_TEST environment variable that is set with
+  the nodeid and stage (setup, call and teardown) of the test
+  being currently executed. See the documentation
+  <https://docs.pytest.org/en/latest/example/simple.html#pytest-current-test-
+  environment-variable> for more info. (#2583)
+   - Introduced @pytest.mark.filterwarnings mark which allows overwriting the
+  warnings filter on a per test, class or module level. See the docs
+  <https://docs.pytest.org/en/latest/warnings.html#pytest-mark-
+  filterwarnings> for more information. (#2598)
+   - --last-failed now remembers forever when a test has failed and only
+  forgets it if it passes again. This makes it easy to fix a test suite by
+  selectively running files and fixing tests incrementally. (#2621)
+   - New pytest_report_collectionfinish hook which allows plugins to add
+  messages to the terminal reporting after collection has been finished
+  successfully. (#2622)
+   - Added support for PEP-415's <https://www.python.org/dev/peps/pep-0415/>
+  Exception.__suppress_context__. Now if a raise exception from None is
+  caught by pytest, pytest will no longer chain the context in the test report.
+  The behavior now matches Python's traceback behavior. (#2631)
+   - Exceptions raised by pytest.fail, pytest.skip and pytest.xfail
+  now subclass BaseException, making them harder to be caught unintentionally
+  by normal code. (#580)
+  * Bug Fixes
+   - Set stdin to a closed PIPE in pytester.py.Testdir.popen() for
+  avoid unwanted interactive pdb (#2023)
+   - Add missing encoding attribute to sys.std* streams when using
+  capsys capture mode. (#2375)
+   - Fix terminal color changing to black on Windows if colorama is imported
+  in a conftest.py file. (#2510)
+   - Fix line number when reporting summary of skipped tests. (#2548)
+   - capture: ensure that EncodedFile.name is a string. (#2555)
+   - The options --fixtures and --fixtures-per-test will now keep
+  indentation within docstrings. (#2574)
+   - doctests line numbers are now reported correctly, fixing pytest-sugar#122
+  <https://github.com/Frozenball/pytest-sugar/issues/122>. (#2610)
+   - Fix non-determinism in order of fixture collection. Adds new dependency
+  (ordereddict) for Python 2.6. (#920)
+  * Improved Documentation
+   - Clarify pytest_configure hook call order. (#2539)
+   - Extend documentation for testing plugin code with the pytester plugin.
+  (#971)
+ * Pytest 3.1.3 (2017-07-03)
+  * Bug Fixes
+   - Fix decode error in Python 2 for doctests in docstrings. (#2434)
+   - Exceptions raised during teardown by finalizers are now suppressed until 
all
+  finalizers are called, with the initial exception reraised. (#2440)
+   - Fix incorrect "collected items" report when specifying tests on the 
command-
+  line. (#2464)
+   - deprecated_call in context-manager form now captures deprecation warnings
+  even if the same warning has already been raised. Also, deprecated_call
+  will always produce the same error message (previously it would produce
+  different messages in context-manager vs. function-call mode). (#2469)
+   - Fix issue where paths collected by pytest could have triple leading /
+  characters. (#2475)
+   - Fix internal error when trying to detect the start of a recursive 
traceback.
+  (#2486)
+  * Improved Documentation
+   - Explicitly state for which hooks the calls stop after the first non-None
+  result. (#2493)
+ * Pytest 3.1.2 (2017-06-08)
+  * Bug Fixes
+   - Required options added via pytest_addoption will no longer prevent using
+  --help without passing them. (#1999)
+   - Respect python_files in assertion rewriting. (#2121)
+   - Fix recursion error detection when frames in the traceback contain objects
+     that can't be compared (like numpy arrays). (#2459)
+   - UnicodeWarning is issued from the internal pytest warnings plugin only
+     when the message contains non-ascii unicode (Python 2 only). (#2463)
+   - Added a workaround for Python 3.6 WindowsConsoleIO breaking due to 
Pytests's
+     FDCapture. Other code using console handles might still be affected by the
+     very same issue and might require further workarounds/fixes, i.e. 
colorama.
+     (#2467)
+  * Improved Documentation
+   - Fix internal API links to pluggy objects. (#2331)
+   - Make it clear that pytest.xfail stops test execution at the calling point
+  and improve overall flow of the skipping docs. (#810)
+ * Pytest 3.1.1 (2017-05-30)
+  * Bug Fixes
+   - pytest warning capture no longer overrides existing warning filters. The
+     previous behaviour would override all filters and caused regressions in 
test
+     suites which configure warning filters to match their needs. Note that as 
a
+     side-effect of this is that DeprecationWarning and
+     PendingDeprecationWarning are no longer shown by default. (#2430)
+   - Fix issue with non-ascii contents in doctest text files. (#2434)
+   - Fix encoding errors for unicode warnings in Python 2. (#2436)
+   - pytest.deprecated_call now captures PendingDeprecationWarning in
+  context manager form. (#2441)
+  * Improved Documentation
+   - Addition of towncrier for changelog management. (#2390)
+ * 3.1.0 (2017-05-22)
++++ 83 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes
++++ and /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes

Old:
----
  pytest-3.0.7.tar.gz

New:
----
  pytest-3.2.3.tar.gz

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

Other differences:
------------------
++++++ python-pytest-doc.spec ++++++
--- /var/tmp/diff_new_pack.xAIYkL/_old  2017-11-02 10:24:12.660508178 +0100
+++ /var/tmp/diff_new_pack.xAIYkL/_new  2017-11-02 10:24:12.664508032 +0100
@@ -18,23 +18,24 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest-doc
-Version:        3.0.7
+Version:        3.2.3
 Release:        0
 Summary:        Simple powerful testing with Python
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://pytest.org
-Source:         
https://pypi.io/packages/source/p/pytest/pytest-%{version}.tar.gz
-BuildRequires:  python3-Sphinx
-# Test requirements:
+Source:         
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
+BuildRequires:  python-rpm-macros
+# SECTION test requirements
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module py >= 1.4.29}
-BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
+BuildRequires:  %{python_module py >= 1.4.33}
+BuildRequires:  %{python_module setuptools_scm}
+# /SECTION
+BuildRequires:  python3-Sphinx
 Provides:       %{python_module pytest-doc = %{version}}
+BuildArch:      noarch
 
 %description
 pytest helps you write better programs. It is a a mature full-featured,
@@ -66,7 +67,6 @@
 %python_exec setup.py test
 
 %files
-%defattr(-,root,root,-)
 %doc CHANGELOG.rst LICENSE
 %doc doc/build/html
 

++++++ python-pytest.spec ++++++
--- /var/tmp/diff_new_pack.xAIYkL/_old  2017-11-02 10:24:12.680507449 +0100
+++ /var/tmp/diff_new_pack.xAIYkL/_new  2017-11-02 10:24:12.680507449 +0100
@@ -18,31 +18,30 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest
-Version:        3.0.7
+Version:        3.2.3
 Release:        0
-Summary:        Simple powerful testing with Python
+Summary:        Python testing tool with autodiscovery and detailed asserts
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://pytest.org
-Source:         
https://pypi.io/packages/source/p/pytest/pytest-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source:         
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module py >= 1.4.29}
+BuildRequires:  %{python_module py >= 1.4.33}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module xml}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-py >= 1.4.29
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires:       python-py >= 1.4.33
 #/usr/bin/py.test imports pkg_resources
 Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
-pytest helps you write better programs. It is a a mature full-featured,
-cross-project Python testing tool. It provides:
+pytest is a cross-project Python testing tool. It provides:
 
 * auto-discovery of test modules and functions,
 * detailed info on failing assert statements (no need to remember 
@@ -54,7 +53,6 @@
   PyPy-1.9 and Jython-2.5.1, and
 * many external plugins.
 
-
 %prep
 %setup -q -n pytest-%{version}
 
@@ -62,18 +60,16 @@
 %python_build
 
 %install
-# for some reason we need something after python_expand in order to correctly 
eat multilines
-%{python_expand %$python_install
-mv %{buildroot}%{_bindir}/py.test{,-%$python_bin_suffix}
-mv %{buildroot}%{_bindir}/pytest{,-%$python_bin_suffix}
-}
-%prepare_alternative py.test
-%prepare_alternative pytest
-
-ln -s py.test-%python2_bin_suffix %{buildroot}%{_bindir}/py.test2
-%if "%python3_bin_suffix" != ""
-ln -s py.test-%python3_bin_suffix %{buildroot}%{_bindir}/py.test3
-%endif
+%python_install
+%python_clone -a %{buildroot}%{_bindir}/py.test
+%python_clone -a %{buildroot}%{_bindir}/pytest
+
+if [ -x %{buildroot}%{_bindir}/py.test-%{python2_bin_suffix} ]; then
+    ln -s py.test-%{python2_bin_suffix} %{buildroot}%{_bindir}/py.test2
+fi
+if [ -x %{buildroot}%{_bindir}/py.test-%{python3_bin_suffix} ]; then
+    ln -s py.test-%{python3_bin_suffix} %{buildroot}%{_bindir}/py.test3
+fi
 
 %post
 %{python_install_alternative py.test} \
@@ -83,8 +79,7 @@
 %python_uninstall_alternative py.test
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS LICENSE README.rst
+%doc AUTHORS CHANGELOG.rst LICENSE README.rst
 %python_alternative %{_bindir}/py.test
 %python_alternative %{_bindir}/pytest
 %python2_only %{_bindir}/py.test2

++++++ pytest-3.0.7.tar.gz -> pytest-3.2.3.tar.gz ++++++
++++ 26719 lines of diff (skipped)


Reply via email to