Commit 4db25439 authored by Alexandre Mestiashvili's avatar Alexandre Mestiashvili
Browse files

Add patch fixing tab-qiime, call python3 instead of python

parent 1ac34120
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
Description: call python3 in the tab-qiime script, as the package is python3 only
From: Alex Mestiashvili <amestia@rsh2.donotuse.de>
--- q2cli.orig/bin/tab-qiime
+++ q2cli/bin/tab-qiime
@@ -13,7 +13,7 @@
 {
   # Attempt to find the cached completion script. If q2cli isn't installed, or
   # is an incompatible version, don't attempt completion.
-  local completion_path="$(python -c "import q2cli.util; print(q2cli.util.get_completion_path())" 2> /dev/null)"
+  local completion_path="$(python3 -c "import q2cli.util; print(q2cli.util.get_completion_path())" 2> /dev/null)"
 
   if [[ $? != 0 ]]; then
     unset COMPREPLY

debian/patches/series

0 → 100644
+1 −0
Original line number Diff line number Diff line
call_py3.patch