bindep/bindep
Matthew Thode 03288d3263
Add Gentoo support to bindep
Equery is used to query Gentoo's package database.
An exit code of 3 means the package is not installed or it is an
invalid package atom (doesn't exist for example).  We are able to rely
on the exit code for package install status and just output the
package version, if it's installed.  We do not output revision
information as it is not needed here.

We also add support for gentoo categories in the package name by
allowing a '/' in the package name.  This is needed for package names
that exist in multiple categories.  For instance, curl could map to
'dev-haskell/curl' or 'net-misc/curl'.  Without this change we would not
be able to specify which to install.  I've also included testing for
'/' in the package name.

Change-Id: Id87038a5599824befae627d67a03f59b70e19257
2016-04-21 22:24:22 -05:00
..
tests Add Gentoo support to bindep 2016-04-21 22:24:22 -05:00
__init__.py Add a --version option 2015-04-30 00:34:51 +00:00
depends.py Add Gentoo support to bindep 2016-04-21 22:24:22 -05:00
main.py Add profile to the usage text 2015-07-18 01:12:59 +00:00
support_py26.py Fix flake8 whinge and py26. 2013-06-12 15:03:53 +12:00