Post details: EAPI="2_pre1" with USE dependencies

31 July, 2008

Permalink 04:46 UTC, by Zac MEDICO Email , 185 words, 437 views   English (US)
Categories: Gentoo

EAPI="2_pre1" with USE dependencies

Version 2.2_rc5 of sys-apps/portage adds support for EAPI="2_pre1" which has some changes in conditional USE dependency syntax. The previous experimental EAPI="2_pre0" value is no longer supported.

For more information about experimental EAPI features, refer to bug #233213 and also see the "Ebuild" chapter of the html documentation that is installed with portage when USE=doc is enabled. I've posted a copy of the EAPI="2_pre1" documentation here:


EAPI 2_pre1

  Helpers

    doman

      Language codes in file names are now used for path translation.

      Table 6.1. Man Page Path Translation

        Source        Destination
        foo.1         /usr/share/man/man1/foo.1
        foo.lang.1    /usr/share/man/lang/man1/foo.1

  USE Dependencies

    Unconditional USE Dependencies

      Table 6.2. Syntax Examples

        Example          Meaning
        foo[bar]         foo must have bar enabled
        foo[bar,baz]     foo must have both bar and baz enabled
        foo[-bar,baz]    foo must have bar disabled and baz enabled

    Conditional USE Dependencies

      Table 6.3. Syntax Examples

        Compact Form    Equivalent Expanded Form
        foo[bar?]       bar? ( foo[bar]  ) !bar? ( foo       )
        foo[!bar?]      bar? ( foo       ) !bar? ( foo[-bar] )
        foo[bar=]       bar? ( foo[bar]  ) !bar? ( foo[-bar] )
        foo[!bar=]      bar? ( foo[-bar] ) !bar? ( foo[bar]  )

Trackback address for this post:

http://planet.gentoo.org/developers/htsrv/trackback.php/1544

Comments, Trackbacks:

Comment from: moloh [Visitor] Email
Wow!
Great work... lately so much progress in the Portage. Package manager USE dependencies is sth that will really improve the Gentoo.
PermalinkPermalink 31 July, 2008 @ 06:16
Comment from: Chewi [Visitor] Email
This is awesome. Many of us have wanted this for a very long time.
PermalinkPermalink 31 July, 2008 @ 09:11
Comment from: hrongyorgy [Visitor] Email
\o/ I'm happy. We needed USE dependencies a long time ago... Very, very thanks!

A question: which portage frontends will support this dependencies? Kuroo/portato will support it?
PermalinkPermalink 31 July, 2008 @ 14:09
Comment from: Zac MEDICO [Member] Email · http://dev.gentoo.org/~zmedico/
I'm not familiar with the Kuroo or portato codebases so I'm not sure how much effort it would take for them to add support for this. Depending on how they interface with portage, they might not have to change anything.
PermalinkPermalink 31 July, 2008 @ 14:26

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Zack Medico

October 2008
Mon Tue Wed Thu Fri Sat Sun
<< <     
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 72

powered by
b2evolution