summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-11-11 16:42:03 -0500
committerW. Trevor King <wking@tremily.us>2012-11-11 16:44:06 -0500
commit8dfdbd3e69a2057b9f2cdc65d896023b881ba77f (patch)
tree8591ba1cb86fecad9505300629a421d5b90924f3 /pym
parentaf156430e636ca14adf19144fa9cc55ff2e1276c (diff)
downloadgentoolkit-8dfdbd3e69a2057b9f2cdc65d896023b881ba77f.tar.gz
package: use portage-9999 in module doctest
It is more likely to stay current (and be masked and uninstalled) than a particular Portage release.
Diffstat (limited to 'pym')
-rw-r--r--pym/gentoolkit/package.py8
1 files 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__ = (