Hello community,

here is the log from the commit of package python-srcinfo for openSUSE:Factory 
checked in at 2020-11-24 22:11:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-srcinfo (Old)
 and      /work/SRC/openSUSE:Factory/.python-srcinfo.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-srcinfo"

Tue Nov 24 22:11:52 2020 rev:3 rq:850297 version:0.0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-srcinfo/python-srcinfo.changes    
2020-05-20 18:45:02.589225830 +0200
+++ /work/SRC/openSUSE:Factory/.python-srcinfo.new.5913/python-srcinfo.changes  
2020-11-24 22:12:31.447498028 +0100
@@ -1,0 +2,5 @@
+Mon Nov 23 12:56:19 UTC 2020 - John Vandenberg <jay...@gmail.com>
+
+- Use pytest instead of nose during check
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-srcinfo.spec ++++++
--- /var/tmp/diff_new_pack.2dcYGN/_old  2020-11-24 22:12:33.207499659 +0100
+++ /var/tmp/diff_new_pack.2dcYGN/_new  2020-11-24 22:12:33.211499663 +0100
@@ -35,8 +35,8 @@
 Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module parse}
+BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
 
@@ -46,6 +46,11 @@
 %prep
 %setup -q -n python-srcinfo-%{version}
 %patch0 -p1
+mv test/__init__.py test_srcinfo.py
+
+# Only needed until 0.0.9 is released
+# https://github.com/kyrias/python-srcinfo/pull/8
+sed -i '/nose/d' setup.py
 
 %build
 %python_build
@@ -56,7 +61,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pytest
 
 %post
 %python_install_alternative parse_srcinfo
_______________________________________________
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