Hello community,

here is the log from the commit of package python-hvplot for openSUSE:Factory 
checked in at 2020-05-26 17:24:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hvplot (Old)
 and      /work/SRC/openSUSE:Factory/.python-hvplot.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hvplot"

Tue May 26 17:24:09 2020 rev:5 rq:808793 version:0.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hvplot/python-hvplot.changes      
2020-04-15 19:55:30.093626220 +0200
+++ /work/SRC/openSUSE:Factory/.python-hvplot.new.2738/python-hvplot.changes    
2020-05-26 17:24:11.540603246 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:20 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-hvplot.spec ++++++
--- /var/tmp/diff_new_pack.8w55aD/_old  2020-05-26 17:24:12.260604794 +0200
+++ /var/tmp/diff_new_pack.8w55aD/_new  2020-05-26 17:24:12.260604794 +0200
@@ -33,6 +33,8 @@
 Requires:       python-bokeh >= 1.0.0
 Requires:       python-holoviews >= 1.11.0
 Requires:       python-pandas
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     python-Pillow
 Recommends:     python-dask
 Recommends:     python-datashader >= 0.6.5
@@ -87,16 +89,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/hvplot
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 # tests require a network connection
 # %%check
 # %%python_expand nosetests-%%{$python_bin_suffix} -v hvplot
 
+%post
+%python_install_alternative hvplot
+
+%postun
+%python_uninstall_alternative hvplot
+
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%python3_only %{_bindir}/hvplot
+%python_alternative %{_bindir}/hvplot
 %{python_sitelib}/*
 
 %changelog


Reply via email to