public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] devmanual r142 - trunk/general-concepts/dependencies
@ 2009-03-09 19:47 Mark Loeser (halcy0n)
  0 siblings, 0 replies; only message in thread
From: Mark Loeser (halcy0n) @ 2009-03-09 19:47 UTC (permalink / raw
  To: gentoo-commits

Author: halcy0n
Date: 2009-03-09 19:47:56 +0000 (Mon, 09 Mar 2009)
New Revision: 142

Modified:
   trunk/general-concepts/dependencies/text.xml
Log:
Add in a mention about slot dependencies, thanks to Thomas Anderson
<gentoofan23 AT gentoo DOT org>; bug #257817


Modified: trunk/general-concepts/dependencies/text.xml
===================================================================
--- trunk/general-concepts/dependencies/text.xml	2009-02-25 19:04:33 UTC (rev 141)
+++ trunk/general-concepts/dependencies/text.xml	2009-03-09 19:47:56 UTC (rev 142)
@@ -189,7 +189,8 @@
 
 <p>
 Note that the equals sign is mandatory, and that there is no dot before the
-asterisk.
+asterisk. Also note that when selecting all versions in a specific
+<c>SLOT</c>, <c>SLOT</c> dependencies should be used (see below).
 </p>
 
 </body>
@@ -246,9 +247,20 @@
 <body>
 
 <p>
-It is not currently possible to depend upon a package in a particular <c>SLOT</c>.
+In order to depend on a package in a specific <c>SLOT</c> you must specify
+at least<c>EAPI="1"</c>.
 </p>
 
+<p>
+To depend on a specific <c>SLOT</c>, <c>:SLOT</c> should be appended to
+the package name, where 'SLOT' is the <c>SLOT</c> of the package wanted:
+</p>
+
+<codesample lang="ebuild">
+DEPEND="qt3? ( x11-libs/qt:3 )
+    gtk? ( x11-libs/gtk+:2 )
+</codesample>
+
 </body>
 </section>
 
@@ -379,7 +391,7 @@
 <body>
 
 <p>
-In order to use built with use dependencies you must specify <c>EAPI=2</c>.
+In order to use built with use dependencies you must specify <c>EAPI="2"</c>.
 </p>
 
 <p>




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

only message in thread, other threads:[~2009-03-09 19:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 19:47 [gentoo-commits] devmanual r142 - trunk/general-concepts/dependencies Mark Loeser (halcy0n)

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