From: W. Trevor King Date: Sun, 11 Nov 2012 21:47:57 +0000 (-0500) Subject: package: use portage-9999 in Package.environment doctest X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84719f3844ee396bee86a939d2498f67c2471902;p=gentoolkit.git package: use portage-9999 in Package.environment doctest --- 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.)