All pastes #622280 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-16 19:36 UTC
rendered paste body
loadSuperClass('mephisto')
class Dist(GroupRecipe):
    name = 'group-dist'
    version = Mephisto.version

    autoResolve = True
    depCheck = True

    def setup(r):
        rplLabel = 'conary.rpath.com@rpl:1'
        contribLabel = 'contrib.rpath.org@rpl:1'
        raaLabel = 'raa.rpath.org@rpath:raa-2'

        r.setSearchPath(rplLabel, contribLabel)
        r.removeComponents([ 'devel', 'devellib', 'supdoc', 'emacs', 'tk', ])

        if Arch.x86:
            rplGroupArchFlags = 'is: x86(i486,i586,i686)'
        elif Arch.x86_64:
            rplGroupArchFlags = 'grub.static is: x86(i486,i586,i686) x86_64'

        r.addAll('group-core', 'conary.rpath.com@rpl:1', flavor=rplGroupArchFlags, flatten=True)

        r.addAll('group-raa', raaLabel, flatten=True)

        r.add('rails')