diff options
author | Virgil Dupras <vdupras@gentoo.org> | 2018-07-20 21:05:36 -0400 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2018-07-20 21:06:17 -0400 |
commit | 37f30b0a27452cf4fb2b9cf37a5ae8f7d95f9954 (patch) | |
tree | cc78e2ba3fe10b7d9711138165bf2a54fbeb88a9 /dev-python/django/files | |
parent | dev-libs/libmix: mark s390 stable (diff) | |
download | gentoo-37f30b0a27452cf4fb2b9cf37a5ae8f7d95f9954.tar.gz gentoo-37f30b0a27452cf4fb2b9cf37a5ae8f7d95f9954.tar.bz2 gentoo-37f30b0a27452cf4fb2b9cf37a5ae8f7d95f9954.zip |
dev-python/django: revert removal of 1.8.18
Its removal broke a couple of revdeps I didn't properly check. Sorry.
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'dev-python/django/files')
-rw-r--r-- | dev-python/django/files/django-1.7.6-bashcomp.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/django/files/django-1.7.6-bashcomp.patch b/dev-python/django/files/django-1.7.6-bashcomp.patch new file mode 100644 index 000000000000..ef76f8a873c7 --- /dev/null +++ b/dev-python/django/files/django-1.7.6-bashcomp.patch @@ -0,0 +1,34 @@ + extras/django_bash_completion | 16 +--------------- + 1 file changed, 1 insertion(+), 15 deletions(-) + +diff --git a/extras/django_bash_completion b/extras/django_bash_completion +index 3e02d8e..5a33938 100755 +--- a/extras/django_bash_completion ++++ b/extras/django_bash_completion +@@ -37,7 +37,7 @@ _django_completion() + COMP_CWORD=$COMP_CWORD \ + DJANGO_AUTO_COMPLETE=1 $1 ) ) + } +-complete -F _django_completion -o default django-admin.py manage.py django-admin ++complete -F _django_completion -o default django-admin.py django-admin + + _python_django_completion() + { +@@ -55,17 +55,3 @@ _python_django_completion() + fi + fi + } +- +-# Support for multiple interpreters. +-unset pythons +-if command -v whereis &>/dev/null; then +- python_interpreters=$(whereis python | cut -d " " -f 2-) +- for python in $python_interpreters; do +- pythons="${pythons} ${python##*/}" +- done +- pythons=$(echo $pythons | tr " " "\n" | sort -u | tr "\n" " ") +-else +- pythons=python +-fi +- +-complete -F _python_django_completion -o default $pythons |