view gub/specs/regex.py @ 3493:9342b541213d

python 2.6 compat: with() -> with_template()
author Han-Wen Nienhuys <hanwen@lilypond.org>
date Fri, 18 May 2007 01:05:55 -0300
parents cb9077953e4e
children 5e11e08c3959
line wrap: on
line source

from gub import mirrors
from gub import targetpackage

class Regex (targetpackage.TargetBuildSpec):
    def __init__ (self, settings):
        targetpackage.TargetBuildSpec.__init__ (self, settings)
        self.with_template (version='2.3.90-1',
                   mirror=mirrors.lilypondorg, format='bz2')

    def license_file (self):
        return '%(srcdir)s/COPYING.LIB'