From: W. Trevor King Date: Sun, 11 Nov 2012 21:42:03 +0000 (-0500) Subject: package: use portage-9999 in module doctest X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8dfdbd3e69a2057b9f2cdc65d896023b881ba77f;p=gentoolkit.git package: use portage-9999 in module doctest It is more likely to stay current (and be masked and uninstalled) than a particular Portage release. --- diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py index 92fb924..aa0012a 100644 --- a/pym/gentoolkit/package.py +++ b/pym/gentoolkit/package.py @@ -13,13 +13,13 @@ tree and VARDB (/var/db/), provide rich comparison and sorting, and expose important parts of Portage's back-end. Example usage: - >>> portage = Package('sys-apps/portage-2.1.6.13') + >>> portage = Package('sys-apps/portage-9999') >>> portage.ebuild_path() - '/usr/portage/sys-apps/portage/portage-2.1.6.13.ebuild' + '/usr/portage/sys-apps/portage/portage-9999.ebuild' >>> portage.is_masked() - False - >>> portage.is_installed() True + >>> portage.is_installed() + False """ __all__ = (