From 84719f3844ee396bee86a939d2498f67c2471902 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 11 Nov 2012 16:47:57 -0500 Subject: [PATCH] package: use portage-9999 in Package.environment doctest --- pym/gentoolkit/package.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py index 83c9d48..e324399 100644 --- a/pym/gentoolkit/package.py +++ b/pym/gentoolkit/package.py @@ -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.) -- 2.26.2