Hello community,
here is the log from the commit of package python-spyder-notebook for
openSUSE:Factory checked in at 2020-10-07 14:17:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spyder-notebook (Old)
and /work/SRC/openSUSE:Factory/.python-spyder-notebook.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-spyder-notebook"
Wed Oct 7 14:17:32 2020 rev:8 rq:839704 version:0.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-spyder-notebook/python-spyder-notebook.changes
2020-09-27 11:50:11.104069857 +0200
+++
/work/SRC/openSUSE:Factory/.python-spyder-notebook.new.4249/python-spyder-notebook.changes
2020-10-07 14:17:33.697441556 +0200
@@ -1,0 +2,11 @@
+Mon Oct 5 18:17:01 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Rename built package to python-spyder-notebook
+ * The `Requires:` tags were in the wrong place. The
+ spyder-notebook package did not specify its dependencies.
+- Drop spyder-notebook-destroyqtwidgets.patch
+ * No segfault after test anymore. Apparently a fix in a
+ dependency package
+ * gh#pytest-dev/pytest-qt#319
+
+-------------------------------------------------------------------
Old:
----
spyder-notebook-destroyqtwidgets.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-spyder-notebook.spec ++++++
--- /var/tmp/diff_new_pack.42HBeX/_old 2020-10-07 14:17:34.553442237 +0200
+++ /var/tmp/diff_new_pack.42HBeX/_new 2020-10-07 14:17:34.553442237 +0200
@@ -29,17 +29,20 @@
Source0:
https://files.pythonhosted.org/packages/source/s/spyder-notebook/spyder-notebook-%{version}.tar.gz
# ... but only the GitHub archive provides the unit tests
Source1:
https://github.com/spyder-ide/spyder-notebook/archive/v%{version}.tar.gz#/spyder-notebook-%{version}-gh.tar.gz
-# PATCH-FIX-OPENSUSE https://github.com/pytest-dev/pytest-qt/issues/319
-Patch0: spyder-notebook-destroyqtwidgets.patch
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-QtPy
Requires: python-nbformat
Requires: python-notebook >= 4.3
Requires: python-psutil
Requires: python-requests
Requires: spyder >= 4.1
-BuildRequires: %{python_module setuptools}
-BuildRequires: fdupes
-BuildRequires: python-rpm-macros
+Provides: spyder-notebook = %{version}-%{release}
+Obsoletes: spyder-notebook < %{version}-%{release}
+Provides: spyder3-notebook = %{version}-%{release}
+Obsoletes: spyder3-notebook < %{version}-%{release}
+BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module QtPy}
BuildRequires: %{python_module flaky}
@@ -55,7 +58,6 @@
BuildRequires: spyder >= 4.1
BuildRequires: xdpyinfo
# /SECTION
-BuildArch: noarch
%python_subpackages
%description
@@ -65,19 +67,6 @@
This package contains the plugin that allows Spyder to control
breakpoints.
-%package -n spyder-notebook
-Summary: Jupyter Notebook plugin for the Spyder IDE
-Group: Development/Languages/Python
-Provides: spyder3-notebook = %{version}
-Obsoletes: spyder3-notebook < %{version}
-
-%description -n spyder-notebook
-Spyder, the Scientific Python Development Environment, is an
-IDE for researchers, engineers and data analysts.
-
-This package contains the plugin that allows Spyder to control
-breakpoints.
-
%prep
%setup -q -n spyder-notebook-%{version}
tar --strip-components=1 -xzf %{SOURCE1} \
@@ -85,7 +74,6 @@
spyder-notebook-%{version}/spyder_notebook/tests \
spyder-notebook-%{version}/spyder_notebook/utils/tests \
spyder-notebook-%{version}/spyder_notebook/widgets/tests
-%patch0 -p1
sed -i 's/\r$//' CHANGELOG.md README.md
chmod -x spyder_notebook/utils/templates/welcome-dark.html
@@ -108,8 +96,7 @@
# rest of deselcted test_plugin tests: passing but produces XIO errors with
xvfb at the end
%pytest -k "not (test_plugin and (shutdown or register or close or save))"
-# Caution: Package name is not singlespec ready
-%files -n spyder-notebook -f spyder_notebook-%{python_bin_suffix}.lang
+%files %{python_files} -f spyder_notebook-%{python_bin_suffix}.lang
%doc CHANGELOG.md README.md
%license LICENSE
%dir %{python_sitelib}/spyder_notebook