Hello community,

here is the log from the commit of package python-pep517 for openSUSE:Factory 
checked in at 2020-12-04 21:27:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pep517 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pep517.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pep517"

Fri Dec  4 21:27:21 2020 rev:7 rq:852771 version:0.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pep517/python-pep517.changes      
2020-11-17 21:21:06.789070297 +0100
+++ /work/SRC/openSUSE:Factory/.python-pep517.new.5913/python-pep517.changes    
2020-12-04 21:27:22.586029129 +0100
@@ -1,0 +2,8 @@
+Wed Nov 25 22:44:51 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- BuildRequire flit-core for all possible python3 flavors
+  gh#openSUSE/python-rpm-macros#66
+- remove python2 skip for test_meta in check section. The test is
+  correctly marked for skipping with python2 in the source file.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pep517.spec ++++++
--- /var/tmp/diff_new_pack.Obkpva/_old  2020-12-04 21:27:23.274030116 +0100
+++ /var/tmp/diff_new_pack.Obkpva/_new  2020-12-04 21:27:23.278030122 +0100
@@ -38,7 +38,12 @@
 BuildRequires:  %{python_module testpath}
 BuildRequires:  %{python_module toml}
 BuildRequires:  %{python_module wheel >= 0.25}
+%if 0%{?suse_version} >= 1550
+# necessary assumption: only TW has multiple python flavors and no python2 
flavor
+BuildRequires:  %{python_module flit-core}
+%else
 BuildRequires:  python3-flit-core
+%endif
 # /SECTION
 %python_subpackages
 
@@ -66,13 +71,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-if [ $python = "%{_bindir}/python2" ]; then
-  $python -m pytest -v -k "not test_meta"
-else
-  $python -m pytest -v
-fi
-}
+%pytest
 
 %files %{python_files}
 %doc README.rst doc/*.rst
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to