Hello community,
here is the log from the commit of package python-ipydatawidgets for
openSUSE:Factory checked in at 2020-01-03 17:37:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipydatawidgets (Old)
and /work/SRC/openSUSE:Factory/.python-ipydatawidgets.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipydatawidgets"
Fri Jan 3 17:37:11 2020 rev:5 rq:760468 version:unknown
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-ipydatawidgets/python-ipydatawidgets.changes
2019-11-15 00:02:45.400321893 +0100
+++
/work/SRC/openSUSE:Factory/.python-ipydatawidgets.new.6675/python-ipydatawidgets.changes
2020-01-03 17:37:13.851303257 +0100
@@ -1,0 +2,6 @@
+Tue Dec 31 15:27:25 UTC 2019 - Bernhard Wiedemann <[email protected]>
+
+- Do not rewrite source archive during build
+- Use pyproject_install macro (boo#1094323)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ipydatawidgets.spec ++++++
--- /var/tmp/diff_new_pack.fEvtSV/_old 2020-01-03 17:37:14.663303674 +0100
+++ /var/tmp/diff_new_pack.fEvtSV/_new 2020-01-03 17:37:14.663303674 +0100
@@ -37,8 +37,6 @@
BuildRequires: fdupes
BuildRequires: jupyter-jupyterlab-filesystem
BuildRequires: python-rpm-macros
-BuildRequires: unzip
-BuildRequires: zip
# SECTION test requirements
BuildRequires: %{python_module nbval}
BuildRequires: %{python_module pytest}
@@ -100,18 +98,16 @@
%prep
%setup -q -T -c
-unzip %{SOURCE0} 'ipydatawidgets/*'
-find ipydatawidgets/ -type f -name "*.py" -exec sed -i 's/\r$//' {} +
-find ipydatawidgets/ -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} +
-zip -r %{SOURCE0} ipydatawidgets
-rm -rf ipydatawidgets
%build
# Not Needed
%install
-%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
+cp -a %{SOURCE0} .
+%pyproject_install
%{jupyter_move_config}
+%python_expand find %{buildroot}%{$python_sitelib}/ipydatawidgets/ -type f
-name "*.py" -exec sed -i 's/\r$//' {} +
+%python_expand find %{buildroot}%{$python_sitelib}/ipydatawidgets/ -type f
-name "*.py" -exec sed -i -e '/^#!\//, 1d' {} +
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%fdupes %{buildroot}%{_jupyter_prefix}
cp
%{buildroot}%{python3_sitelib}/ipydatawidgets-%{mainver}.dist-info/LICENSE.txt .