From 8dfdbd3e69a2057b9f2cdc65d896023b881ba77f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 11 Nov 2012 16:42:03 -0500 Subject: [PATCH] package: use portage-9999 in module doctest It is more likely to stay current (and be masked and uninstalled) than a particular Portage release. --- pym/gentoolkit/package.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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__ = ( -- 2.26.2