All pastes #456765 Raw Edit

Miscellany

public text v1 · immutable
#456765 ·published 2007-04-25 00:11 UTC
rendered paste body
#
# Copyright (c) 2006-2007 rPath, Inc.
# This file is distributed under the terms of the MIT License.
# A copy is available at http://www.rpath.com/permanent/mit-license.html
#

loadInstalled('python', 'conary.rpath.com@rpl:1')
class rAABranding(BuildPackageRecipe):

    buildRequires = [ 'CherryPy:python', 'TurboGears:python',
        'kid:python', 'kid:runtime', 'python-setuptools:python',
        'raa:python', 'xmlto:runtime' ]

    name = 'raa-branding'
    version = '2.0.0'

    def setup(r):
        r.macros.protocolVersion = '2-0'
        r.addArchive('%(name)s-%(version)s.tar.bz2')
        r.MakeInstall(installtarget="branding-install")

        # This is a kid template--Conary doesn't see TurboGears provides it.
        r.Requires(exceptDeps="""python: turbogears\.view\.templates\.sitetemplate""")
        r.ComponentProvides('%(protocolVersion)s')