Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/proj/en/devrel/handbook: hb-policy-ebuild.xml
Date: Sun, 05 Jan 2014 00:47:30
Message-Id: 20140105004726.519282004C@flycatcher.gentoo.org
1 hwoarang 14/01/05 00:47:26
2
3 Modified: hb-policy-ebuild.xml
4 Log:
5 Drop section about dependencies. It's already covered in http://devmanual.gentoo.org/general-concepts/dependencies/index.html
6
7 Revision Changes Path
8 1.27 xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml?rev=1.27&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml?rev=1.27&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml?r1=1.26&r2=1.27
13
14 Index: hb-policy-ebuild.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-policy-ebuild.xml,v
17 retrieving revision 1.26
18 retrieving revision 1.27
19 diff -u -r1.26 -r1.27
20 --- hb-policy-ebuild.xml 5 Jan 2014 00:43:31 -0000 1.26
21 +++ hb-policy-ebuild.xml 5 Jan 2014 00:47:26 -0000 1.27
22 @@ -548,53 +548,6 @@
23 </body>
24 </subsection>
25
26 -<subsection>
27 -<title>DEPEND and RDEPEND</title>
28 -<body>
29 -
30 -<p>
31 -Use <c>DEPEND</c> to define the dependencies required for building a
32 -particular package, and set <c>RDEPEND</c> to the dependencies required to
33 -<e>run</e> a particular package. RDEPEND should be set explicitly, even if RDEPEND=${DEPEND}.
34 -</p>
35 -
36 -<pre caption="Example of RDEPEND">
37 -RDEPEND="${DEPEND}
38 - net-ftp/curl"
39 -</pre>
40 -
41 -<p>
42 -It's also important to note that only
43 -<c>RDEPEND</c> dependencies are satisfied when one installs a binary
44 -<c>.tbz2</c> package; use this information to help you choose the correct
45 -<c>RDEPEND</c> dependencies.
46 -</p>
47 -
48 -<p>
49 -A package should depend upon the oldest version that satisfies the
50 -dependency. If it works with <c>libfoo-1.2.x</c>, don't depend on
51 -<c>libfoo-2.x</c> just because that's what you have installed.
52 -</p>
53 -
54 -<p>
55 -In general, packages should depend on <c>=libfoo-1.2*</c> instead of
56 -<c>&gt;=libfoo-1.2</c>. Otherwise, things may start breaking horribly when
57 -<c>libfoo-2.0</c> is introduced.
58 -</p>
59 -
60 -<p>
61 -Depending on a virtual package entry like <c>virtual/foo</c> will only work
62 -when the different packages providing <c>virtual/foo</c> have identical
63 -interfaces. Consider <c>virtual/jdk-1.3</c> for example. Some packages don't
64 -work with <c>ibm-jdk-1.3</c> while they do work with <c>sun-jdk-1.3</c>. For
65 -this reason, be sure that your package is tested against all virtual providers
66 -before unmasking. It may be possible to only depend on a subset of those
67 -packages in the virtual rather than the virtual itself.
68 -</p>
69 -
70 -</body>
71 -</subsection>
72 -
73 </section>
74
75 </sections>