Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-clint for openSUSE:Factory 
checked in at 2021-05-19 17:49:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-clint (Old)
 and      /work/SRC/openSUSE:Factory/.python-clint.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-clint"

Wed May 19 17:49:31 2021 rev:3 rq:894263 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-clint/python-clint.changes        
2018-12-24 11:47:41.157118341 +0100
+++ /work/SRC/openSUSE:Factory/.python-clint.new.2988/python-clint.changes      
2021-05-19 17:49:51.057416172 +0200
@@ -1,0 +2,10 @@
+Wed May 19 08:48:27 UTC 2021 - Sebastian Wagner <[email protected]>
+
+- remove enable-setup-test.patch as pytest is used now
+
+-------------------------------------------------------------------
+Wed May 19 07:56:59 UTC 2021 - [email protected]
+
+- use %pytest macro in %check
+
+-------------------------------------------------------------------

Old:
----
  enable-setup-test.patch

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

Other differences:
------------------
++++++ python-clint.spec ++++++
--- /var/tmp/diff_new_pack.LdlPJh/_old  2021-05-19 17:49:51.525414210 +0200
+++ /var/tmp/diff_new_pack.LdlPJh/_new  2021-05-19 17:49:51.529414194 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-clint
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,18 +24,16 @@
 Summary:        Python Command Line Interface Tools
 License:        ISC
 Group:          Development/Languages/Python
-Url:            https://github.com/kennethreitz/clint
+URL:            https://github.com/kennethreitz/clint
 # pypi release misses docs and tests
 Source:         
https://github.com/kennethreitz/clint/archive/v%{version}.tar.gz
-# Enables support for `python3 setup.py test`, see 
https://github.com/kennethreitz/clint/pull/167
-Patch0:         
https://github.com/kennethreitz/clint/pull/167.patch#/enable-setup-test.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 %if %{with test}
 BuildRequires:  %{python_module args}
+BuildRequires:  %{python_module pytest}
 %endif
 Requires:       python-args
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %python_subpackages
@@ -49,7 +47,6 @@
 
 %prep
 %setup -q -n clint-%{version}
-%patch0 -p1
 
 %build
 sed -i '1s/^#!.*//' examples/*.py clint/packages/appdirs.py examples/unicode.sh
@@ -61,17 +58,12 @@
 %if %{with test}
 %check
 export LANG=en_US.utf8
-%python_exec setup.py test
+%pytest
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc AUTHORS HISTORY.rst README.rst docs examples
-%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320
 %%license LICENSE
-%else
-%doc LICENSE
-%endif
 %{python_sitelib}/*
 
 %changelog

Reply via email to