Hello community,

here is the log from the commit of package python-pudb for openSUSE:Factory 
checked in at 2020-04-28 22:31:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pudb (Old)
 and      /work/SRC/openSUSE:Factory/.python-pudb.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pudb"

Tue Apr 28 22:31:28 2020 rev:6 rq:798523 version:2019.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pudb/python-pudb.changes  2020-03-19 
19:54:22.456277837 +0100
+++ /work/SRC/openSUSE:Factory/.python-pudb.new.2738/python-pudb.changes        
2020-04-28 22:32:14.257738898 +0200
@@ -1,0 +2,5 @@
+Tue Apr 28 07:28:12 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pudb.spec ++++++
--- /var/tmp/diff_new_pack.q3nX4E/_old  2020-04-28 22:32:15.145740554 +0200
+++ /var/tmp/diff_new_pack.q3nX4E/_new  2020-04-28 22:32:15.153740570 +0200
@@ -20,6 +20,7 @@
 %define module_name pudb
 %define py_maj_ver %(c=%{python})
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-pudb
 Version:        2019.2
 Release:        0
@@ -57,8 +58,10 @@
 %install
 %python_install
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+%if %{with python2}
 mv -v %{buildroot}%{_bindir}/%{upstream_name} \
     %{buildroot}%{_bindir}/%{upstream_name}-%{python2_bin_suffix}
+%endif
 mv -v %{buildroot}%{_bindir}/%{upstream_name}3 \
     %{buildroot}%{_bindir}/%{upstream_name}-%{python3_bin_suffix}
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -78,7 +81,6 @@
 %python_uninstall_alternative pudb
 
 %check
-export PYTHONPATH=$(pwd -P)
 export LC_ALL=en_US.utf8
 # https://github.com/inducer/pudb/issues/304
 %pytest -k 'not test_get_lines'


Reply via email to