Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-pms] [PATCH] pkg_setup() can rely on packages common to DEPEND & RDEPEND.
Date: Fri, 12 Aug 2011 18:02:48
Message-Id: 1313172217-27794-1-git-send-email-mgorny@gentoo.org
1 We can basically assume PM merges either DEPEND or RDEPEND to that point
2 (depending on whether we're merging source ebuild or binary package).
3 ---
4 dependencies.tex | 3 ++-
5 1 files changed, 2 insertions(+), 1 deletions(-)
6
7 diff --git a/dependencies.tex b/dependencies.tex
8 index abcb820..e9c73d5 100644
9 --- a/dependencies.tex
10 +++ b/dependencies.tex
11 @@ -10,7 +10,8 @@
12 \multicolumn{1}{c}{\textbf{Phase function}} &
13 \multicolumn{1}{c}{\textbf{Satisfied dependency classes}} \\
14 \midrule
15 - \t{pkg\_pretend}, \t{pkg\_setup}, \t{pkg\_info}, \t{pkg\_nofetch} & None (ebuilds can rely only on the packages in the system set) \\
16 + \t{pkg\_pretend}, \t{pkg\_info}, \t{pkg\_nofetch} & None (ebuilds can rely only on the packages in the system set) \\
17 + \t{pkg\_setup} & packages common to \t{DEPEND} and \t{RDEPEND} \\
18 \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}, \t{src\_install} & \t{DEPEND} \\
19 \t{pkg\_preinst}, \t{pkg\_postinst}, \t{pkg\_prerm}, \t{pkg\_postrm} & \t{RDEPEND} (unless the particular dependency results in a circular dependency, in which case it may be installed later) \\
20 \t{pkg\_config} & \t{RDEPEND}, \t{PDEPEND} \\
21 --
22 1.7.6

Replies

Subject Author
Re: [gentoo-pms] [PATCH] pkg_setup() can rely on packages common to DEPEND & RDEPEND. Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>