Mercurial > gub
changeset 5867:922a6617a34f
Fix building 2.12 test+docs.
The source.source wasn't updated, and it had a dependency on
lilypond#master instead of lilypond#branch.
oh my maoing mao, these 3 lines took me over 2 hours to write. seriously.
mao. this was maoing hard.
author | Graham Percival <graham@percival-music.ca> |
---|---|
date | Tue, 15 Dec 2009 13:36:30 +0000 |
parents | 30d696f9a00f |
children | 88e20fd131eb 337dde8d3a01 |
files | gub/specs/lilypond.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/lilypond.py Tue Dec 15 11:29:11 2009 +0000 +++ b/gub/specs/lilypond.py Tue Dec 15 13:36:30 2009 +0000 @@ -249,6 +249,7 @@ ghostscript_version = ghostscript.Ghostscript.static_version () def __init__ (self, settings, source): target.AutoBuild.__init__ (self, settings, source) + source.source = source.source.replace (self.name (), 'lilypond') source.dir = source.dir.replace (self.name (), 'lilypond') source.url_dir = source.url_dir.replace (self.name (), 'lilypond') source.version = misc.bind_method (LilyPond.version_from_VERSION, source) @@ -256,7 +257,8 @@ source.is_downloaded = misc.bind_method (lambda x: True, source) source.update_workdir = misc.bind_method (lambda x: True, source) self.dependencies = (self.__class__.dependencies - + [settings.build_platform + '::lilypond']) + + [settings.build_platform + '::' + + source.source + '?branch=' + source.branch]) subpackage_names = [''] def stages (self): return ['compile', 'install', 'package']