Commit 0fbe0191 authored by Liubov Chuprikova's avatar Liubov Chuprikova
Browse files

Revert "Drop unneeded patches"

This reverts commit e02f3d36.
parent de54edc8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3,9 +3,8 @@ q2cli (2019.10.0-1) UNRELEASED; urgency=medium
  * Team upload.
  * New upstream version
  * Standards-Version: 4.4.1
  * Drop unneeded patches

 -- Andreas Tille <tille@debian.org>  Tue, 12 Nov 2019 09:39:41 +0100
 -- Andreas Tille <tille@debian.org>  Tue, 12 Nov 2019 09:32:25 +0100

q2cli (2019.7.0-1) unstable; urgency=medium

+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
+24 −0
Original line number Diff line number Diff line
Author: Liubov Chuprikova <chuprikovalv@gmail.com>
Last-Update: Sat, 23 Mar 2019 14:43:01 +0100
Description: Bash users will have a working completion, but we also need to
 inform zsh users how they can enable completion.

--- a/q2cli/__main__.py
+++ b/q2cli/__main__.py
@@ -17,15 +17,10 @@
 
 To get help with QIIME 2, visit https://qiime2.org.
 
-To enable tab completion in Bash, run the following command or add it to your \
-.bashrc/.bash_profile:
-
-    source tab-qiime
-
 To enable tab completion in ZSH, run the following commands or add them to \
 your .zshrc:
 
-    autoload bashcompinit && bashcompinit && source tab-qiime
+    autoload bashcompinit && bashcompinit && source /usr/share/bash-completion/completions/qiime
 
 """
 

debian/patches/series

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