diff options
author | 2012-11-15 08:19:21 +0100 | |
---|---|---|
committer | 2012-11-15 08:19:21 +0100 | |
commit | 5c02700c9891922ba9af48165273b91bf52e314a (patch) | |
tree | 49df7244417faf27368b60d707af6c1ec4310834 /doc | |
parent | validate_desktop_entry: ignore Encoding key (diff) | |
download | portage-5c02700c9891922ba9af48165273b91bf52e314a.tar.gz portage-5c02700c9891922ba9af48165273b91bf52e314a.tar.bz2 portage-5c02700c9891922ba9af48165273b91bf52e314a.zip |
EAPI="4-python" and EAPI="5-progress": Add support for use.aliases and package.use.aliases.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/package/ebuild/eapi/4-python.docbook | 36 | ||||
-rw-r--r-- | doc/package/ebuild/eapi/5-progress.docbook | 36 |
2 files changed, 72 insertions, 0 deletions
diff --git a/doc/package/ebuild/eapi/4-python.docbook b/doc/package/ebuild/eapi/4-python.docbook index c49033023..9e8a9daa1 100644 --- a/doc/package/ebuild/eapi/4-python.docbook +++ b/doc/package/ebuild/eapi/4-python.docbook @@ -122,4 +122,40 @@ </itemizedlist> </para> </section> + <section id='package-ebuild-eapi-4-python-use-aliases'> + <title>USE Flag Aliases</title> + <para> + USE flag aliases are supported to allow to satisfy dependencies of packages from other repositories, which require differently named USE flags. USE flag aliases are defined in ${repository_path}/profiles/use.aliases and ${repository_path}/profiles/package.use.aliases files. + </para> + <table><title>use.aliases Example</title> + <tgroup cols='1' align='left'> + <tbody> + <row> + <entry>real_flag1 alias1 alias2</entry> + </row> + <row> + <entry>real_flag2 alias3 alias4</entry> + </row> + </tbody> + </tgroup> + </table> + <table><title>package.use.aliases Example</title> + <tgroup cols='1' align='left'> + <tbody> + <row> + <entry>category/package1 real_flag1 alias1 alias2</entry> + </row> + <row> + <entry>category/package1 real_flag2 alias3 alias4</entry> + </row> + <row> + <entry>=category/package2-1* real_flag3 alias5 alias6</entry> + </row> + <row> + <entry>=category/package2-2* real_flag4 alias5 alias6</entry> + </row> + </tbody> + </tgroup> + </table> + </section> </section> diff --git a/doc/package/ebuild/eapi/5-progress.docbook b/doc/package/ebuild/eapi/5-progress.docbook index 2acda9597..bc7c30066 100644 --- a/doc/package/ebuild/eapi/5-progress.docbook +++ b/doc/package/ebuild/eapi/5-progress.docbook @@ -161,4 +161,40 @@ </itemizedlist> </para> </section> + <section id='package-ebuild-eapi-5-progress-use-aliases'> + <title>USE Flag Aliases</title> + <para> + USE flag aliases are supported to allow to satisfy dependencies of packages from other repositories, which require differently named USE flags. USE flag aliases are defined in ${repository_path}/profiles/use.aliases and ${repository_path}/profiles/package.use.aliases files. + </para> + <table><title>use.aliases Example</title> + <tgroup cols='1' align='left'> + <tbody> + <row> + <entry>real_flag1 alias1 alias2</entry> + </row> + <row> + <entry>real_flag2 alias3 alias4</entry> + </row> + </tbody> + </tgroup> + </table> + <table><title>package.use.aliases Example</title> + <tgroup cols='1' align='left'> + <tbody> + <row> + <entry>category/package1 real_flag1 alias1 alias2</entry> + </row> + <row> + <entry>category/package1 real_flag2 alias3 alias4</entry> + </row> + <row> + <entry>=category/package2-1* real_flag3 alias5 alias6</entry> + </row> + <row> + <entry>=category/package2-2* real_flag4 alias5 alias6</entry> + </row> + </tbody> + </tgroup> + </table> + </section> </section> |