There is a new version of drush 6 and drush 8. Since drush 7 was not possible to add into portage because of composer, drush 8.0.1 comes as a phar file. It would be nice to have it in portage!
Steps to Reproduce:
1. emerge --sync
2. emerge -pv drush
no current version
should have 6.7 and 8.0.1
I just bumped the 6.x series:
The phar version of drush-8.x looks like another disappointing move. They copy/pasted all of Drush's dependencies into the phar file. You can download and extract it with,
$ wget http://files.drush.org/drush.phar
$ php -r '$phar = new Phar("drush.phar"); $phar->extractTo("./");'
Then if you look in ./vendor...
$ ls -lh vendor/
-rw-rw-rw- 1 mjo mjo 183 2015-12-31 18:54 autoload.php
drwxr-xr-x 2 mjo mjo 4.0K 2015-12-31 18:54 composer
drwxr-xr-x 3 mjo mjo 4.0K 2015-12-31 18:54 dnoegel
drwxr-xr-x 3 mjo mjo 4.0K 2015-12-31 18:54 doctrine
drwxr-xr-x 4 mjo mjo 4.0K 2015-12-31 18:54 jakub-onderka
drwxr-xr-x 3 mjo mjo 4.0K 2015-12-31 18:54 nikic
drwxr-xr-x 3 mjo mjo 4.0K 2015-12-31 18:54 pear
drwxr-xr-x 3 mjo mjo 4.0K 2015-12-31 18:54 phpdocumentor
drwxr-xr-x 3 mjo mjo 4.0K 2015-12-31 18:54 phpspec
drwxr-xr-x 9 mjo mjo 4.0K 2015-12-31 18:54 phpunit
drwxr-xr-x 3 mjo mjo 4.0K 2015-12-31 18:54 psy
drwxr-xr-x 9 mjo mjo 4.0K 2015-12-31 18:54 sebastian
drwxr-xr-x 6 mjo mjo 4.0K 2015-12-31 18:54 symfony
So all they've done is use composer to install Drush locally, and then zipped up the entire directory into the phar file.
We can't ship it like that -- security is the biggest reason (tons of untracked code in vendor), but it's also kind of pointless. If we're sidestepping the package manager for its dependencies, why pretend that Drush itself is managed by portage? It's not really, you'd be on your own for everything except new version alerts.
Thanks allot for your time and efforts! Really sad to see things go down the hill just like this. But its the current way of things and we have to accept it.
I'll leave this open, but I'm planning on dropping app-admin/drush to maintainer-needed since I can't fix any of the bugs for 8.x. I wrote a wiki page describing the problems with composer-only packages, and wrote down some ideas I have -- but nothing really plausible.
You don't have to just accept it, I personally am going to keep complaining =)