Hello community,

here is the log from the commit of package python-pylama for openSUSE:Factory 
checked in at 2020-12-12 20:29:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pylama (Old)
 and      /work/SRC/openSUSE:Factory/.python-pylama.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pylama"

Sat Dec 12 20:29:18 2020 rev:6 rq:854251 version:7.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pylama/python-pylama.changes      
2019-09-23 12:19:10.957789362 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylama.new.2328/python-pylama.changes    
2020-12-12 20:31:35.129803282 +0100
@@ -1,0 +2,6 @@
+Wed Dec  9 10:05:03 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Skip mypy test for flavors, which do not provide it
+  (mypy is optional)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pylama.spec ++++++
--- /var/tmp/diff_new_pack.0VCBgD/_old  2020-12-12 20:31:35.653803829 +0100
+++ /var/tmp/diff_new_pack.0VCBgD/_new  2020-12-12 20:31:35.657803833 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylama
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -43,6 +43,7 @@
 Requires:       python-setuptools
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+Recommends:     mypy
 Recommends:     python-mccabe >= 0.5.2
 Recommends:     python-pycodestyle >= 2.3.1
 Recommends:     python-pydocstyle >= 2.0.0
@@ -78,7 +79,9 @@
 %check
 export LANG=en_US.UTF-8
 # test_ignore_select - relies on number of errors reported by pyflakes/etc.
-%pytest -k 'not test_ignore_select'
+# mypy as module is only available for default python3 provider
+%python_exec -c 'import mypy' || $python_skiptest+=" or test_mypy"
+%pytest -k "not (test_ignore_select ${$python_skiptest})"
 
 %post
 %python_install_alternative pylama
@@ -90,6 +93,7 @@
 %doc AUTHORS Changelog README.rst
 %license LICENSE
 %python_alternative %{_bindir}/pylama
-%{python_sitelib}/*
+%{python_sitelib}/pylama
+%{python_sitelib}/pylama-%{version}*-info
 
 %changelog
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to