[med-svn] [Git][med-team/q2cli][master] Add patch fixing tab-qiime, call python3 instead of python

Alexandre Mestiashvili gitlab at salsa.debian.org
Sat Mar 16 16:31:56 GMT 2019


Alexandre Mestiashvili pushed to branch master at Debian Med / q2cli


Commits:
4db25439 by Alexandre Mestiashvili at 2019-03-16T16:30:36Z
Add patch fixing tab-qiime, call python3 instead of python

- - - - -


2 changed files:

- + debian/patches/call_py3.patch
- + debian/patches/series


Changes:

=====================================
debian/patches/call_py3.patch
=====================================
@@ -0,0 +1,13 @@
+Description: call python3 in the tab-qiime script, as the package is python3 only
+From: Alex Mestiashvili <amestia at 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,0 +1 @@
+call_py3.patch



View it on GitLab: https://salsa.debian.org/med-team/q2cli/commit/4db25439c480331c1eb7244d65089d650d2ed4df

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2cli/commit/4db25439c480331c1eb7244d65089d650d2ed4df
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190316/515170f2/attachment.html>


More information about the debian-med-commit mailing list