Hello community,
here is the log from the commit of package python-ipyevents for
openSUSE:Factory checked in at 2020-01-16 18:20:17
Comparing /work/SRC/openSUSE:Factory/python-ipyevents (Old)
and /work/SRC/openSUSE:Factory/.python-ipyevents.new.26092 (New)
Package is "python-ipyevents"
Thu Jan 16 18:20:17 2020 rev:3 rq:764698 version:unknown
Changes:
--- /work/SRC/openSUSE:Factory/python-ipyevents/python-ipyevents.changes
2019-11-24 00:27:36.515210753 +0100
+++
/work/SRC/openSUSE:Factory/.python-ipyevents.new.26092/python-ipyevents.changes
2020-01-16 18:20:23.424945949 +0100
@@ -1,0 +2,6 @@
+Sat Jan 11 14:56:22 UTC 2020 - Bernhard Wiedemann
+
+- Use pyproject_install macro (boo#1094323)
+- Do not rewrite source artifact
+
+---
Other differences:
--
++ python-ipyevents.spec ++
--- /var/tmp/diff_new_pack.l38yC7/_old 2020-01-16 18:20:24.204946390 +0100
+++ /var/tmp/diff_new_pack.l38yC7/_new 2020-01-16 18:20:24.204946390 +0100
@@ -33,8 +33,6 @@
BuildRequires: jupyter-notebook-filesystem
BuildRequires: jupyter-jupyterlab-filesystem
BuildRequires: python-rpm-macros
-BuildRequires: unzip
-BuildRequires: zip
Requires: python-ipywidgets >= 7.0.0
Requires: jupyter-ipyevents = %{mainver}
BuildArch: noarch
@@ -84,18 +82,16 @@
%prep
%setup -q -c -T
-unzip %{SOURCE0} 'ipyevents/*'
-find ipyevents/ -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} +
-zip -r %{SOURCE0} ipyevents
-rm -rf ipyevents
%build
# Not Needed
%install
-pip%{python3_bin_suffix} install --root=%{buildroot} %{SOURCE0}
+cp -a %{SOURCE0} .
+%pyproject_install
%{jupyter_move_config}
+%python_expand find %{buildroot}%{$python_sitelib}/ipyevents/ -type f -name
"*.py" -exec sed -i -e '/^#!\//, 1d' {} +
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%fdupes %{buildroot}%{_jupyter_prefix}
cp %{buildroot}%{python3_sitelib}/ipyevents-%{mainver}.dist-info/LICENSE.md .