$ ./get-completions /usr/share/bash-completion | ./completion-qa-check.py | grep pygments
pygments: does not declare completion for pygments
pygmentize: missing completion symlink for command (declared in /usr/share/bash-completion/pygments)
which means the completion file should be named 'pygmentize' for autoloading to work, not 'pygments'.
*pygments-1.6_p20140324-r1 (07 Oct 2014)
07 Oct 2014; Ian Delaney <firstname.lastname@example.org>
revbump; rename (data) file to pygmentize to effect bash-completion, fixes Bug
-r1 does not merge :(
Installing pygmentize script to /var/tmp/portage/dev-python/pygments-1.6_p20140324-r1/image//_python3.3/usr/lib/python-exec/python3.3
* python2_7: running distutils-r1_run_phase python_install_all
/var/tmp/portage/dev-python/pygments-1.6_p20140324-r1/temp/environment: line 3452: pushd: /var/tmp/portage/dev-python/pygments-1.6_p20140324-r1/image/usr/share/bash-completion/completions/: No such file or directory
mv: cannot overwrite non-directory ‘pygmentize’ with directory ‘pygments’
* ERROR: dev-python/pygments-1.6_p20140324-r1::gentoo failed (install phase):
* (no error message)
+ 07 Oct 2014; Mike Gilbert <email@example.com>
+ Fix bashcomp installation for bash-completon-1 users, bug 521166.