public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11253 - in main/trunk: doc/package/ebuild/eapi pym/portage
@ 2008-07-28 22:36 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-07-28 22:36 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-07-28 22:36:08 +0000 (Mon, 28 Jul 2008)
New Revision: 11253

Modified:
   main/trunk/doc/package/ebuild/eapi/2.docbook
   main/trunk/pym/portage/dep.py
Log:
Tweak the conditional USE deps examples.


Modified: main/trunk/doc/package/ebuild/eapi/2.docbook
===================================================================
--- main/trunk/doc/package/ebuild/eapi/2.docbook	2008-07-28 22:27:35 UTC (rev 11252)
+++ main/trunk/doc/package/ebuild/eapi/2.docbook	2008-07-28 22:36:08 UTC (rev 11253)
@@ -48,19 +48,19 @@
 	<tbody>
 	<row>
 	<entry>foo[bar?]</entry>
-	<entry>foo  bar? (  foo[bar] )</entry>
+	<entry>bar? ( foo[bar]  ) !bar? ( foo       )</entry>
 	</row>
 	<row>
 	<entry>foo[-bar?]</entry>
-	<entry>foo !bar? ( foo[-bar] )</entry>
+	<entry>bar? ( foo       ) !bar? ( foo[-bar] )</entry>
 	</row>
 	<row>
 	<entry>foo[bar=]</entry>
-	<entry>foo  bar? (  foo[bar] ) !bar? ( foo[-bar] )</entry>
+	<entry>bar? ( foo[bar]  ) !bar? ( foo[-bar] )</entry>
 	</row>
 	<row>
 	<entry>foo[bar!=]</entry>
-	<entry>foo  bar? ( foo[-bar] ) !bar? (  foo[bar] )</entry>
+	<entry>bar? ( foo[-bar] ) !bar? ( foo[bar] )</entry>
 	</row>
 	</tbody>
 	</tgroup>

Modified: main/trunk/pym/portage/dep.py
===================================================================
--- main/trunk/pym/portage/dep.py	2008-07-28 22:27:35 UTC (rev 11252)
+++ main/trunk/pym/portage/dep.py	2008-07-28 22:36:08 UTC (rev 11253)
@@ -420,10 +420,10 @@
 
 			compact form         equivalent expanded form
 
-			 foo[bar?]           foo  bar? (  foo[bar] )
-			foo[-bar?]           foo !bar? ( foo[-bar] )
-			 foo[bar=]           foo  bar? (  foo[bar] ) !bar? ( foo[-bar] )
-			 foo[bar!=]          foo  bar? ( foo[-bar] ) !bar? (  foo[bar] )
+			foo[bar?]           bar? ( foo[bar]  ) !bar? ( foo       )
+			foo[-bar?]          bar? ( foo       ) !bar? ( foo[-bar] )
+			foo[bar=]           bar? ( foo[bar]  ) !bar? ( foo[-bar] )
+			foo[bar!=]          bar? ( foo[-bar] ) !bar? ( foo[bar] )
 
 		"""
 		tokens = []




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-28 22:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 22:36 [gentoo-commits] portage r11253 - in main/trunk: doc/package/ebuild/eapi pym/portage Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox