From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Cc: Zac Medico <zmedico@gentoo.org>, Ulrich Mueller <ulm@gentoo.org>
Subject: Re: [gentoo-pms] Rephrasing *DEPEND
Date: Sun, 19 Jun 2011 23:21:02 +0200 [thread overview]
Message-ID: <20110619232102.0690d10e@pomiocik.lan> (raw)
In-Reply-To: <20110611093245.5d9d266c@pomiocik.lan>
[-- Attachment #1.1: Type: text/plain, Size: 336 bytes --]
And the third version.
I added a note about the possible circular RDEPEND issue. I wanted to
do that through a footnote but wasn't able to get it working so it's
a standard bracket now).
I separated pkg_config (as the circular RDEP issue shouldn't apply
there) and added PDEPEND as well.
--
Best regards,
Michał Górny
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-Rephrase-DEPEND-to-state-when-and-whether-they-are-i.patch --]
[-- Type: text/x-patch, Size: 2786 bytes --]
From 62fd21802e8c2f93b78e7993dd552444f3751af2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Sat, 11 Jun 2011 09:32:03 +0200
Subject: [PATCH] Rephrase *DEPEND to state when and whether they are
installed.
---
dependencies.tex | 28 +++++++++++++++++++++++-----
1 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/dependencies.tex b/dependencies.tex
index f6318d8..b2e107d 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -3,16 +3,34 @@
\section{Dependency Classes}
+\begin{centertable}{Dependency classes required to be satisfied for a particular phase function} \label{tab:phase-function-dependency-classes}
+ \begin{tabular}{ p{0.2\textwidth} p{0.7\textwidth} }
+ \toprule
+ \multicolumn{1}{c}{\textbf{Phase function}} &
+ \multicolumn{1}{c}{\textbf{Satisfied dependency classes}} \\
+ \midrule
+ \t{pkg\_pretend}, \t{pkg\_setup}, \t{pkg\_info}, \t{pkg\_nofetch} & None (ebuilds can rely only on the packages in the system set) \\
+ \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}, \t{src\_install} & \t{DEPEND} \\
+ \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) \\
+ \t{pkg\_config} & \t{RDEPEND}, \t{PDEPEND} \\
+ \bottomrule
+ \end{tabular}
+\end{centertable}
+
There are three classes of dependencies supported by ebuilds:
\begin{compactitem}
-\item Build dependencies (\t{DEPEND}). These must be installed and usable before the ebuild
- is installed.
-\item Runtime dependencies (\t{RDEPEND}). These must be installed and usable before the ebuild
- is treated as usable.
-\item Post dependencies (\t{PDEPEND}). These must be installed at some point.
+\item Build dependencies (\t{DEPEND}). These must be installed and usable before any of
+ the ebuild \t{src\_*} phase functions is executed. These may not be installed at all
+ if a binary package is being merged.
+\item Runtime dependencies (\t{RDEPEND}). These must be installed and usable before
+ the results of an ebuild merging are treated as usable.
+\item Post dependencies (\t{PDEPEND}). These must be installed at some point before
+ the package manager finishes the batch of installs.
\end{compactitem}
+Table~\ref{tab:phase-function-dependency-classes} lists dependencies which must be satisfied before a particular phase function is executed.
+
In addition, \t{SRC\_URI}, \t{HOMEPAGE}, \t{PROVIDE}, \t{RESTRICT}, \t{PROPERTIES}, \t{LICENSE} and
\t{REQUIRED\_USE} use dependency-style specifications to specify their values.
--
1.7.5.3
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]
next prev parent reply other threads:[~2011-06-19 21:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-11 7:32 [gentoo-pms] Rephrasing *DEPEND Michał Górny
2011-06-11 11:53 ` Ciaran McCreesh
2011-06-12 7:52 ` Michał Górny
2011-06-12 8:18 ` Ulrich Mueller
2011-06-12 9:13 ` Zac Medico
2011-06-12 13:16 ` Michał Górny
2011-06-12 14:49 ` Ulrich Mueller
2011-06-12 14:55 ` Ciaran McCreesh
2011-06-12 18:03 ` Zac Medico
2011-06-12 18:19 ` Ciaran McCreesh
2011-06-12 14:01 ` Brian Harring
2011-06-12 13:29 ` Ciaran McCreesh
2011-06-12 18:52 ` Michał Górny
2011-06-19 21:21 ` Michał Górny [this message]
2011-06-19 21:36 ` Ciaran McCreesh
2011-06-20 6:34 ` Michał Górny
2011-06-20 11:26 ` Ulrich Mueller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110619232102.0690d10e@pomiocik.lan \
--to=mgorny@gentoo.org \
--cc=gentoo-pms@lists.gentoo.org \
--cc=ulm@gentoo.org \
--cc=zmedico@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox