package: use portage-9999 in Package.environment doctest
authorW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 21:47:57 +0000 (16:47 -0500)
committerW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 21:47:57 +0000 (16:47 -0500)
pym/gentoolkit/package.py

index 83c9d48b535e7af9152a461e1f11ffcc07372958..e3243994907cf7c4d89f0b89c92c609c0d4c4b11 100644 (file)
@@ -170,12 +170,13 @@ class Package(CPV):
                        CONTENTS   EAPI            LDFLAGS    SLOT
 
                Example usage:
-                       >>> pkg = Package('sys-apps/portage-2.1.6.13')
+                       >>> pkg = Package('sys-apps/portage-9999')
                        >>> pkg.environment('USE')
-                       'elibc_glibc kernel_linux userland_GNU x86'
+                       ''
                        >>> pkg.environment(('USE', 'IUSE'))
-                       ['elibc_glibc kernel_linux userland_GNU x86',
-                               'build doc epydoc selinux linguas_pl']
+                       ... # doctest: +NORMALIZE_WHITESPACE
+                       ['', 'build doc epydoc +ipc pypy1_9 python2 python3
+                        selinux xattr']
 
                @type envvars: str or array
                @param envvars: one or more of (DEPEND, SRC_URI, etc.)