aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2012-01-16 00:53:04 +0100
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2012-01-16 00:53:04 +0100
commitcaf67ac8df3528382ff960b2de4cf853a14a0141 (patch)
tree0bcb1478d19107ea3984289368af092d0385e66a /doc
parentportageq metadata: Support repository dependencies. (diff)
downloadportage-caf67ac8df3528382ff960b2de4cf853a14a0141.tar.gz
portage-caf67ac8df3528382ff960b2de4cf853a14a0141.tar.bz2
portage-caf67ac8df3528382ff960b2de4cf853a14a0141.zip
Support repository dependencies in EAPI="4-python".
Diffstat (limited to 'doc')
-rw-r--r--doc/package/ebuild/eapi/4-python.docbook38
1 files changed, 36 insertions, 2 deletions
diff --git a/doc/package/ebuild/eapi/4-python.docbook b/doc/package/ebuild/eapi/4-python.docbook
index c13debed4..b4cbc1ad4 100644
--- a/doc/package/ebuild/eapi/4-python.docbook
+++ b/doc/package/ebuild/eapi/4-python.docbook
@@ -31,12 +31,46 @@ official EAPI 4-python Specification</ulink>.
The "." character is allowed in USE flags.
</para>
</section>
-<section id='package-ebuild-eapi-4-python-repository'>
-<title>REPOSITORY</title>
+<section id='package-ebuild-eapi-4-python-repository-variable'>
+<title>REPOSITORY Variable</title>
<para>
The new REPOSITORY variable is set in ebuild environment. This variable contains name of repository, which contains currently used ebuild.
</para>
</section>
+<section id='package-ebuild-eapi-4-python-repository-dependencies'>
+<title>Repository Dependencies</title>
+<para>
+Repository dependencies are supported in atoms in DEPEND, PDEPEND and RDEPEND and atoms passed to best_version and has_version functions.
+Repository dependency is specified by two colons followed by repository name.
+</para>
+<table><title>Repository Dependency Examples</title>
+<tgroup cols='1' align='left' >
+<colspec colname='atom'/>
+<thead>
+<row>
+<entry>Atom</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry>dev-lang/python::progress</entry>
+</row>
+<row>
+<entry>&gt;=dev-lang/python-3.2::progress</entry>
+</row>
+<row>
+<entry>dev-lang/python:3.2::progress</entry>
+</row>
+<row>
+<entry>dev-lang/python::progress[xml]</entry>
+</row>
+<row>
+<entry>dev-lang/python:3.2::progress[xml]</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+</section>
<section id='package-ebuild-eapi-4-python-repo-level-config'>
<title>Extended Repository-Level Configuration</title>
<para>