summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2021-10-03 11:38:02 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2021-10-03 12:14:59 -0300
commit65534d18c5b0c5bf496af7a921ada56aa2a4375c (patch)
tree9e76903018cc76ef5da6c46ae8d9d31783904e02
parent2c3e86a51e6a3b3b2f384c1e95b2ecc0fdbca5cd (diff)
downloadbash-completion-65534d18c5b0c5bf496af7a921ada56aa2a4375c.tar.gz
Backport support for python 9 from upstream
Thanks to Diederik de Haas for reporting and providing the solution.
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/13-backport-support-for-python-9.patch62
-rw-r--r--debian/patches/series1
3 files changed, 64 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 94a7d76b..8e83e359 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
bash-completion (1:2.11-4) UNRELEASED; urgency=medium
[ Gabriel F. T. Gomes ]
+ * Backport support for python 9 from upstream (Closes: #994990).
[ Debian Janitor ]
* Remove constraints unnecessary since buster:
diff --git a/debian/patches/13-backport-support-for-python-9.patch b/debian/patches/13-backport-support-for-python-9.patch
new file mode 100644
index 00000000..de75f45b
--- /dev/null
+++ b/debian/patches/13-backport-support-for-python-9.patch
@@ -0,0 +1,62 @@
+commit dc1c404b3c14cd3e3627a6720cf32a4e27079285
+Author: Ville Skyttä <ville.skytta@iki.fi>
+Date: Sun Sep 6 22:57:28 2020 +0300
+
+ python, pyvenv: install for 3.9
+
+diff --git a/completions/Makefile.am b/completions/Makefile.am
+index e43d0e3c..ba75fa48 100644
+--- a/completions/Makefile.am
++++ b/completions/Makefile.am
+@@ -677,11 +677,13 @@ CLEANFILES = \
+ python3.6 \
+ python3.7 \
+ python3.8 \
++ python3.9 \
+ pyvenv-3.4 \
+ pyvenv-3.5 \
+ pyvenv-3.6 \
+ pyvenv-3.7 \
+ pyvenv-3.8 \
++ pyvenv-3.9 \
+ qemu-kvm \
+ qemu-system-i386 \
+ qemu-system-x86_64 \
+@@ -894,9 +896,11 @@ symlinks: $(DATA)
+ $(ss) pylint \
+ pylint-2 pylint-3
+ $(ss) python \
+- micropython pypy pypy3 python2 python2.7 python3 python3.3 python3.4 python3.5 python3.6 python3.7 python3.8
++ micropython pypy pypy3 python2 python2.7 python3 python3.3 \
++ python3.4 python3.5 python3.6 python3.7 python3.8 python3.9
+ $(ss) pyvenv \
+- pyvenv-3.4 pyvenv-3.5 pyvenv-3.6 pyvenv-3.7 pyvenv-3.8
++ pyvenv-3.4 pyvenv-3.5 pyvenv-3.6 pyvenv-3.7 pyvenv-3.8 \
++ pyvenv-3.9
+ $(ss) qdbus \
+ dcop
+ $(ss) qemu \
+diff --git a/completions/python b/completions/python
+index d50c18f0..d7e18b90 100644
+--- a/completions/python
++++ b/completions/python
+@@ -62,6 +62,6 @@ _python()
+ COMPREPLY=($(compgen -W '$(_parse_help "$1" -h)' -- "$cur"))
+ fi
+ } &&
+- complete -F _python python python2 python2.7 python3 python3.{3..8} pypy pypy3 micropython
++ complete -F _python python python2 python2.7 python3 python3.{3..9} pypy pypy3 micropython
+
+ # ex: filetype=sh
+diff --git a/completions/pyvenv b/completions/pyvenv
+index 527a3840..3a1ecb37 100644
+--- a/completions/pyvenv
++++ b/completions/pyvenv
+@@ -20,6 +20,6 @@ _pyvenv()
+
+ _filedir -d
+ } &&
+- complete -F _pyvenv pyvenv pyvenv-3.{4..8}
++ complete -F _pyvenv pyvenv pyvenv-3.{4..9}
+
+ # ex: filetype=sh
diff --git a/debian/patches/series b/debian/patches/series
index 755b2cbc..f0087622 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
07-dpkg_support_raw-extract_vextract.patch
11-add-completions-for-openrc-rc-service.patch
12-properly-handle-TERM-and-other-envvars.patch
+13-backport-support-for-python-9.patch