Projects
openEuler:24.03:SP1:Everything:64G
bash-completion
_service:tar_scm:bash-completion-remove-python2...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:bash-completion-remove-python2.patch of Package bash-completion
From f13d6bc1c1675eddf148db3d0b942872aef398ec Mon Sep 17 00:00:00 2001 From: renhongxun <renhongxun@h-partners.com> Date: Mon, 20 Jun 2022 10:54:26 +0800 Subject: [PATCH] bash-completion remove python2 --- completions/Makefile.am | 4 +--- completions/Makefile.in | 4 +--- completions/python | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/completions/Makefile.am b/completions/Makefile.am index 723b42f..2d0c0f2 100644 --- a/completions/Makefile.am +++ b/completions/Makefile.am @@ -666,8 +666,6 @@ CLEANFILES = \ pypy3 \ pytest-2 \ pytest-3 \ - python2 \ - python2.7 \ python3 \ python3.3 \ python3.4 \ @@ -890,7 +888,7 @@ 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 python3 python3.3 python3.4 python3.5 python3.6 python3.7 python3.8 $(ss) pyvenv \ pyvenv-3.4 pyvenv-3.5 pyvenv-3.6 pyvenv-3.7 pyvenv-3.8 $(ss) qdbus \ diff --git a/completions/Makefile.in b/completions/Makefile.in index b8a439f..fe2ad1c 100644 --- a/completions/Makefile.in +++ b/completions/Makefile.in @@ -890,8 +890,6 @@ CLEANFILES = \ pypy3 \ pytest-2 \ pytest-3 \ - python2 \ - python2.7 \ python3 \ python3.3 \ python3.4 \ @@ -1332,7 +1330,7 @@ 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 python3 python3.3 python3.4 python3.5 python3.6 python3.7 python3.8 $(ss) pyvenv \ pyvenv-3.4 pyvenv-3.5 pyvenv-3.6 pyvenv-3.7 pyvenv-3.8 $(ss) qdbus \ diff --git a/completions/python b/completions/python index d50c18f..a8c17db 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 python3 python3.{3..8} pypy pypy3 micropython # ex: filetype=sh -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2