package: use portage-9999 in module doctest
authorW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 21:42:03 +0000 (16:42 -0500)
committerW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 21:44:06 +0000 (16:44 -0500)
It is more likely to stay current (and be masked and uninstalled) than
a particular Portage release.

pym/gentoolkit/package.py

index 92fb92423b3b2f547dcba19aa881b0938a79c5ab..aa0012af48f049e34d388792547bc6d5e3f84e8b 100644 (file)
@@ -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__ = (