Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-termstyle for
openSUSE:Factory checked in at 2021-02-09 21:17:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-termstyle (Old)
and /work/SRC/openSUSE:Factory/.python-termstyle.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-termstyle"
Tue Feb 9 21:17:43 2021 rev:7 rq:870615 version:0.1.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-termstyle/python-termstyle.changes
2019-11-04 17:11:35.420593417 +0100
+++
/work/SRC/openSUSE:Factory/.python-termstyle.new.28504/python-termstyle.changes
2021-02-09 21:17:44.330875668 +0100
@@ -1,0 +2,6 @@
+Tue Feb 9 14:49:26 UTC 2021 - Mark??ta Machov?? <[email protected]>
+
+- Get rid of %ifpython3
+- Launch some tests
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-termstyle.spec ++++++
--- /var/tmp/diff_new_pack.hpnLXV/_old 2021-02-09 21:17:44.918876360 +0100
+++ /var/tmp/diff_new_pack.hpnLXV/_new 2021-02-09 21:17:44.922876364 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-termstyle
#
-# Copyright (c) 2019 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
@@ -34,10 +34,8 @@
Obsoletes: %{oldpython}-python-termstyle < %{version}
Provides: %{oldpython}-python-termstyle = %{version}
%endif
-%ifpython3
-Provides: python3-python-termstyle = %{version}
-Obsoletes: python3-python-termstyle < %{version}
-%endif
+Provides: python-python-termstyle = %{version}
+Obsoletes: python-python-termstyle < %{version}
%python_subpackages
%description
@@ -56,14 +54,9 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-#%%check
-#export LANG=C.UTF-8
-#%%ifpython2
-#python2 setup.py test -s test2
-#%%endif
-#%%ifpython3
-#python3 setup.py test -s test3
-#%%endif
+%check
+export LANG=C.UTF-8
+PYTHONPATH=. %python_exec -c 'from termstyle import *;
print(green("unicod\xe9!"))'
%files %{python_files}
%doc README.rst