Hello community,

here is the log from the commit of package python-emoji for openSUSE:Leap:15.2 
checked in at 2020-04-02 16:48:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-emoji (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-emoji.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-emoji"

Thu Apr  2 16:48:52 2020 rev:12 rq:790278 version:0.5.4

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-emoji/python-emoji.changes      
2020-03-09 18:04:54.428803862 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-emoji.new.3248/python-emoji.changes    
2020-04-02 16:48:53.513995067 +0200
@@ -1,0 +2,5 @@
+Mon Mar 30 13:09:02 UTC 2020 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Add remove_nose.patch 
+
+-------------------------------------------------------------------

New:
----
  remove_nose.patch

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

Other differences:
------------------
++++++ python-emoji.spec ++++++
--- /var/tmp/diff_new_pack.rMpFXI/_old  2020-04-02 16:48:53.917995547 +0200
+++ /var/tmp/diff_new_pack.rMpFXI/_new  2020-04-02 16:48:53.921995551 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-emoji
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2018 Matthias Bach <ma...@marix.org>.
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,7 +26,9 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/carpedm20/emoji/
 Source:         
https://files.pythonhosted.org/packages/source/e/emoji/emoji-%{version}.tar.gz
-BuildRequires:  %{python_module nose}
+# https://github.com/carpedm20/emoji/pull/118
+Patch0:         remove_nose.patch
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -46,6 +48,7 @@
 
 %prep
 %setup -q -n emoji-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -55,7 +58,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/emoji*
 
 %check
-%python_expand nosetests-%{$python_bin_suffix}
+%pytest tests/test_core.py tests/test_unicode_codes.py
 
 %files %{python_files}
 %doc CHANGES.md README.rst

++++++ remove_nose.patch ++++++
diff -ru emoji-0.5.4-orig/setup.py emoji-0.5.4/setup.py
--- emoji-0.5.4-orig/setup.py   2019-09-12 05:00:55.000000000 +0200
+++ emoji-0.5.4/setup.py        2020-03-30 15:01:24.412306600 +0200
@@ -59,7 +59,7 @@
     keywords=['emoji'],
     extras_require={
         'dev': [
-            'nose',
+            'pytest',
             'coverage',
             'coveralls'
         ]
diff -ru emoji-0.5.4-orig/tests/test_core.py emoji-0.5.4/tests/test_core.py
--- emoji-0.5.4-orig/tests/test_core.py 2019-07-30 19:45:48.000000000 +0200
+++ emoji-0.5.4/tests/test_core.py      2020-03-30 15:01:50.428356270 +0200
@@ -9,7 +9,6 @@
 from __future__ import unicode_literals
 
 import emoji
-from nose.tools import assert_raises
 
 
 def test_emojize_name_only():

Reply via email to