Hello community,

here is the log from the commit of package python-spyder-memory-profiler for 
openSUSE:Factory checked in at 2018-08-18 00:04:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spyder-memory-profiler (Old)
 and      /work/SRC/openSUSE:Factory/.python-spyder-memory-profiler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-spyder-memory-profiler"

Sat Aug 18 00:04:39 2018 rev:2 rq:629548 version:0.1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-spyder-memory-profiler/python-spyder-memory-profiler.changes
      2018-05-15 10:31:10.553093921 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-spyder-memory-profiler.new/python-spyder-memory-profiler.changes
 2018-08-18 00:04:51.235210175 +0200
@@ -1,0 +2,15 @@
+Thu Aug 16 07:59:43 UTC 2018 - jeng...@inai.de
+
+- Trim redundancies from description and adjust grammar.
+
+-------------------------------------------------------------------
+Wed Aug 15 17:08:59 UTC 2018 - toddrme2...@gmail.com
+
+- Enable unit tests
+
+-------------------------------------------------------------------
+Mon Aug 13 17:46:24 UTC 2018 - toddrme2...@gmail.com
+
+- Update description per upstream request.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-spyder-memory-profiler.spec ++++++
--- /var/tmp/diff_new_pack.BEhwuN/_old  2018-08-18 00:04:51.587211228 +0200
+++ /var/tmp/diff_new_pack.BEhwuN/_new  2018-08-18 00:04:51.587211228 +0200
@@ -17,7 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
+%define         X_display         ":98"
 Name:           python-spyder-memory-profiler
 Version:        0.1.2
 Release:        0
@@ -30,21 +30,26 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
+# SECTION test requirements
 BuildRequires:  %{python_module memory_profiler}
+BuildRequires:  %{python_module pytest-qt}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  python-mock
 BuildRequires:  spyder >= 3
 BuildRequires:  spyder3 >= 3
-%endif
+BuildRequires:  xauth
+BuildRequires:  xorg-x11-server
+# /SECTION
 BuildArch:      noarch
 
 %python_subpackages
 
 %description
-Spyder is a scientific python development environment and an
-alternative to IDLE.
+Spyder, the Scientific Python Development Environment, is an
+IDE for researchers, engineers and data analysts.
 
 This is a plugin for the Spyder IDE that integrates the Python memory profiler.
-It allows you to see the memory usage in every line.
+It allows seeing the memory usage for every line.
 
 %package -n spyder-memory-profiler
 Summary:        Memory profiler plugin for the Spyder IDE
@@ -53,11 +58,11 @@
 Requires:       spyder >= 3
 
 %description -n spyder-memory-profiler
-Spyder is a scientific python development environment and an
-alternative to IDLE.
+Spyder, the Scientific Python Development Environment, is an
+IDE for researchers, engineers and data analysts.
 
 This is a plugin for the Spyder IDE that integrates the Python memory profiler.
-It allows you to see the memory usage in every line.
+It allows seeing the memory usage for every line.
 
 %package -n spyder3-memory-profiler
 Summary:        Memory profiler plugin for the Spyder IDE
@@ -66,14 +71,16 @@
 Requires:       spyder3 >= 3
 
 %description -n spyder3-memory-profiler
-Spyder is a scientific python development environment and an
-alternative to IDLE.
+Spyder, the Scientific Python Development Environment, is an
+IDE for researchers, engineers and data analysts.
 
 This is a plugin for the Spyder IDE that integrates the Python memory profiler.
-It allows you to see the memory usage in every line.
+It allows seeing the memory usage for every line.
 
 %prep
 %setup -q -n spyder_memory_profiler-%{version}
+sed -i -e '/^#!\//, 1d' spyder_memory_profiler/example/*.py
+sed -i -e '/^#!\//, 1d' spyder_memory_profiler/example/subdir/*.py
 
 %build
 %python_build
@@ -82,6 +89,15 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+export QT_HASH_SEED=0
+export DISPLAY=%{X_display}
+export PYTHONDONTWRITEBYTECODE=1
+Xvfb %{X_display} >& Xvfb.log &
+trap "kill $! || true" EXIT
+sleep 10
+%python_expand pytest-%{$python_bin_suffix} spyder_memory_profiler
+
 %files -n spyder-memory-profiler
 %defattr(-,root,root,-)
 %doc CHANGELOG.md README.rst


Reply via email to