Hello community,

here is the log from the commit of package python-pytest5 for openSUSE:Factory 
checked in at 2020-11-05 21:53:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest5 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest5.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest5"

Thu Nov  5 21:53:57 2020 rev:2 rq:845674 version:5.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest5/python-pytest5.changes    
2020-08-25 09:39:47.108240090 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest5.new.11331/python-pytest5.changes 
2020-11-05 21:54:53.836187235 +0100
@@ -1,0 +2,8 @@
+Tue Nov  3 10:08:15 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Update summary and description
+- remove old py.test2 and py.test3 entry points
+  * backport of sr#844820 for pytest6
+  * gh#openSUSE/python-rpm-macros#66
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pytest5.spec ++++++
--- /var/tmp/diff_new_pack.TflcBs/_old  2020-11-05 21:54:54.500185742 +0100
+++ /var/tmp/diff_new_pack.TflcBs/_new  2020-11-05 21:54:54.504185733 +0100
@@ -29,7 +29,7 @@
 Name:           python-pytest5%{psuffix}
 Version:        5.4.3
 Release:        0
-Summary:        Python testing tool with autodiscovery and detailed asserts
+Summary:        Simple powerful testing with Python -- version 5
 License:        MIT
 URL:            https://github.com/pytest-dev/pytest
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
@@ -78,17 +78,11 @@
 %python_subpackages
 
 %description
-pytest is a cross-project Python testing tool. It provides:
+The pytest framework makes it easy to write small tests, yet scales to support
+complex functional testing for applications and libraries.
 
-* auto-discovery of test modules and functions,
-* detailed info on failing assert statements (no need to remember
-  self.assert* names),
-* modular fixtures for managing small or parametrized long-lived test 
resources.
-* multi-paradigm support: you can use py.test to run test suites based on
-  unittest (or trial), nose,
-* single-source compatibility to Python2.4 all the way up to Python3.3,
-  PyPy-1.9 and Jython-2.5.1, and
-* many external plugins.
+This package provides version 5 for packages which are not compatible with
+newer Pytest versions
 
 %prep
 %setup -q -n pytest-%{version}
@@ -100,15 +94,8 @@
 %install
 %if ! %{with test}
 %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
+%python_clone -a %{buildroot}%{_bindir}/py.test
 
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
@@ -120,20 +107,19 @@
 
 %if ! %{with test}
 %post
-%{python_install_alternative py.test} \
-   --slave %{_bindir}/pytest pytest %{_bindir}/pytest-%{python_version}
+%python_install_alternative pytest py.test
 
 %postun
-%python_uninstall_alternative py.test
+%python_uninstall_alternative pytest
 
 %files %{python_files}
 %doc AUTHORS CHANGELOG.rst README.rst
 %license LICENSE
-%python_alternative %{_bindir}/py.test
 %python_alternative %{_bindir}/pytest
-%python2_only %{_bindir}/py.test2
-%python3_only %{_bindir}/py.test3
-%{python_sitelib}/*
+%python_alternative %{_bindir}/py.test
+%{python_sitelib}/_pytest
+%{python_sitelib}/pytest
+%{python_sitelib}/pytest-%{version}*-info
 %endif
 
 %changelog


Reply via email to