Hello community,

here is the log from the commit of package python-spyder-line-profiler for 
openSUSE:Factory checked in at 2020-04-02 17:42:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spyder-line-profiler (Old)
 and      /work/SRC/openSUSE:Factory/.python-spyder-line-profiler.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-spyder-line-profiler"

Thu Apr  2 17:42:51 2020 rev:5 rq:790069 version:0.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-spyder-line-profiler/python-spyder-line-profiler.changes
  2020-02-03 11:13:39.829855410 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-spyder-line-profiler.new.3248/python-spyder-line-profiler.changes
        2020-04-02 17:42:52.813373948 +0200
@@ -1,0 +2,11 @@
+Tue Mar 24 16:03:11 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- add release to provides and obsoletes
+
+-------------------------------------------------------------------
+Mon Mar 23 17:49:12 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- spyder3 rename to spyder
+- enable unit test 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-spyder-line-profiler.spec ++++++
--- /var/tmp/diff_new_pack.kMAM4J/_old  2020-04-02 17:42:53.253374289 +0200
+++ /var/tmp/diff_new_pack.kMAM4J/_new  2020-04-02 17:42:53.257374292 +0200
@@ -25,10 +25,20 @@
 License:        MIT
 URL:            https://github.com/spyder-ide/spyder-line-profiler
 Source:         
https://files.pythonhosted.org/packages/source/s/spyder_line_profiler/spyder_line_profiler-%{version}.tar.gz
+Requires:       python-line_profiler
+Requires:       spyder >= 4
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
+# SECTION test requirements
+BuildRequires:  %{python_module line_profiler}
+BuildRequires:  %{python_module pytest-qt}
+BuildRequires:  %{python_module pytest-xvfb}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  spyder >= 4
+BuildRequires:  xdpyinfo
+# /SECTION
 %python_subpackages
 
 %description
@@ -38,12 +48,12 @@
 This is a plugin for the Spyder IDE that integrates the Python line profiler.
 It allows seeing the time spent for every line.
 
-%package -n spyder3-line-profiler
+%package -n spyder-line-profiler
 Summary:        Line profiler plugin for the Spyder IDE
-Requires:       python3-line_profiler
-Requires:       spyder3 >= 3
+Provides:       spyder3-line-profiler = %{version}-%{release}
+Obsoletes:      spyder3-line-profiler < %{version}-%{release}
 
-%description -n spyder3-line-profiler
+%description -n spyder-line-profiler
 Spyder, the Scientific Python Development Environment, is an
 IDE for researchers, engineers and data analysts.
 
@@ -64,9 +74,14 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files -n spyder3-line-profiler
+%check
+export PYTHONDONTWRITEBYTECODE=1
+%pytest
+
+%files -n spyder-line-profiler
 %doc CHANGELOG.md README.rst
 %license LICENSE.txt
-%{python3_sitelib}/*
+%{python_sitelib}/spyder_line_profiler-%{version}-py*.egg-info
+%{python_sitelib}/spyder_line_profiler
 
 %changelog


Reply via email to