Hello community,

here is the log from the commit of package python-nbdime for openSUSE:Factory 
checked in at 2020-01-16 18:20:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbdime (Old)
 and      /work/SRC/openSUSE:Factory/.python-nbdime.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nbdime"

Thu Jan 16 18:20:26 2020 rev:4 rq:764704 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbdime/python-nbdime.changes      
2019-11-29 15:56:48.916975185 +0100
+++ /work/SRC/openSUSE:Factory/.python-nbdime.new.26092/python-nbdime.changes   
2020-01-16 18:20:29.652949472 +0100
@@ -1,0 +2,6 @@
+Sat Jan 11 14:10:51 UTC 2020 - Bernhard Wiedemann <[email protected]>
+
+- Use pyproject_install macro (boo#1094323)
+- Do not rewrite source artifact
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-nbdime.spec ++++++
--- /var/tmp/diff_new_pack.LcIjsr/_old  2020-01-16 18:20:30.144949751 +0100
+++ /var/tmp/diff_new_pack.LcIjsr/_new  2020-01-16 18:20:30.148949752 +0100
@@ -40,8 +40,6 @@
 BuildRequires:  fdupes
 BuildRequires:  jupyter-jupyterlab-filesystem
 BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
-BuildRequires:  zip
 BuildRequires:  python-backports.functools_lru_cache
 BuildRequires:  python-backports.shutil_which
 # SECTION test requirements
@@ -138,20 +136,18 @@
 
 %prep
 %setup -q -c -T
-unzip %{SOURCE0} 'nbdime/*'
-find . -type f -name "*.py" -exec sed -i 's/\r$//' {} +
-find . -type f -name "*.ipynb" -exec sed -i 's/\r$//' {} +
-find nbdime/ -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} +
-zip -r %{SOURCE0} nbdime
-rm -rf nbdime
 
 %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} -type f -name "*.py" -exec 
sed -i 's/\r$//' {} +
+%python_expand find %{buildroot}%{$python_sitelib} -type f -name "*.ipynb" 
-exec sed -i 's/\r$//' {} +
+%python_expand find %{buildroot}%{$python_sitelib}/nbdime/ -type f -name 
"*.py" -exec sed -i -e '/^#!\//, 1d' {} +
 
 cp %{buildroot}%{python3_sitelib}/nbdime-%{mainver}.dist-info/LICENSE.md .
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -159,6 +155,7 @@
 
 %check
 export PATH=$PATH:%{buildroot}%{_bindir}
+export PYTHONDONTWRITEBYTECODE=1
 git config --global user.email "[email protected]"
 git config --global user.name "tester"
 %pytest %{buildroot}%{python3_sitelib}/nbdime/



Reply via email to