Hello community,

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

Package is "python-argcomplete"

Sat May  2 22:17:05 2020 rev:15 rq:799410 version:1.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes    
2020-03-26 23:35:01.910813121 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-argcomplete.new.2738/python-argcomplete.changes
  2020-05-02 22:17:05.744505671 +0200
@@ -1,0 +2,5 @@
+Thu Apr 30 06:05:59 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Fix test execution without /usr/bin/python
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-argcomplete.spec ++++++
--- /var/tmp/diff_new_pack.iLWasD/_old  2020-05-02 22:17:06.316506869 +0200
+++ /var/tmp/diff_new_pack.iLWasD/_new  2020-05-02 22:17:06.320506877 +0200
@@ -29,13 +29,14 @@
 Patch0:         skip_tcsh_tests.patch
 Patch1:         trim-test-deps.patch
 Patch2:         
0001-Remove-expected-test-failure-for-new-versions-of-fish.patch
-BuildRequires:  %{python_module importlib-metadata}
+BuildRequires:  %{python_module importlib-metadata >= 0.23}
 BuildRequires:  %{python_module pexpect}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  fish
 BuildRequires:  python-rpm-macros
+Requires:       python-importlib-metadata >= 0.23
 BuildArch:      noarch
 %python_subpackages
 
@@ -55,9 +56,11 @@
 
 %prep
 %setup -q -n argcomplete-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%autopatch -p1
+# https://github.com/kislyuk/argcomplete/issues/255
+# https://github.com/kislyuk/argcomplete/issues/256
+sed -i -e "1s|#!.*python.*|#!%{__python3}|" test/prog scripts/*
+sed -i -e "s|python |python3 |g" test/test.py
 
 %build
 %python_build


Reply via email to