# HG changeset patch # User Han-Wen Nienhuys # Date 1179495206 10800 # Node ID 3efef1a76441a97b69b019edf5c5eeb8c1e95471 # Parent 9342b541213d849050658bb234cbb0df35d41a21 more with_template() use. diff -r 9342b541213d -r 3efef1a76441 gub/specs/alien.py --- a/gub/specs/alien.py Fri May 18 01:05:55 2007 -0300 +++ b/gub/specs/alien.py Fri May 18 10:33:26 2007 -0300 @@ -1,6 +1,7 @@ ## untested. - Alien (settings).with (version="8.60", +if 0: + Alien (settings).with_template (version="8.60", mirror="http://www.kitenet.net/programs/alien/alien_8.60.tar.gz", format="gz"), diff -r 9342b541213d -r 3efef1a76441 gub/specs/darwin/odcctools.py --- a/gub/specs/darwin/odcctools.py Fri May 18 01:05:55 2007 -0300 +++ b/gub/specs/darwin/odcctools.py Fri May 18 10:33:26 2007 -0300 @@ -4,7 +4,7 @@ class Odcctools (cross.CrossToolSpec): def __init__ (self, settings): cross.CrossToolSpec.__init__ (self, settings) - self.with (version='20060413', + self.with_template (version='20060413', ####version='20060608', #version='20061117', mirror=mirrors.opendarwin, diff -r 9342b541213d -r 3efef1a76441 gub/specs/debian/libc6-dev.py --- a/gub/specs/debian/libc6-dev.py Fri May 18 01:05:55 2007 -0300 +++ b/gub/specs/debian/libc6-dev.py Fri May 18 10:33:26 2007 -0300 @@ -5,7 +5,7 @@ class Libc6_dev (gubb.BinarySpec, gubb.SdkBuildSpec): def __init__ (self, settings): gubb.BinarySpec.__init__ (self, settings) - self.with (version=debian.get_packages ()['libc6-dev'].version (), + self.with_template (version=debian.get_packages ()['libc6-dev'].version (), strip_components=0, mirror=mirrors.glibc_deb, # FIXME: we do not mirror all 12 debian arch's, diff -r 9342b541213d -r 3efef1a76441 gub/specs/debian/libc6.py --- a/gub/specs/debian/libc6.py Fri May 18 01:05:55 2007 -0300 +++ b/gub/specs/debian/libc6.py Fri May 18 10:33:26 2007 -0300 @@ -5,7 +5,7 @@ class Libc6 (gubb.BinarySpec, gubb.SdkBuildSpec): def __init__ (self, settings): gubb.BinarySpec.__init__ (self, settings) - self.with (version=debian.get_packages ()['libc6'].version (), + self.with_template (version=debian.get_packages ()['libc6'].version (), strip_components=0, mirror=mirrors.glibc_deb, # FIXME: we do not mirror all 12 debian arch's, diff -r 9342b541213d -r 3efef1a76441 gub/specs/debian/linux-kernel-headers.py --- a/gub/specs/debian/linux-kernel-headers.py Fri May 18 01:05:55 2007 -0300 +++ b/gub/specs/debian/linux-kernel-headers.py Fri May 18 10:33:26 2007 -0300 @@ -5,7 +5,7 @@ class Linux_kernel_headers (gubb.BinarySpec, gubb.SdkBuildSpec): def __init__ (self, settings): gubb.BinarySpec.__init__ (self, settings) - self.with ( + self.with_template ( # FIXME: we do not mirror all 12 debian arch's, # version=debian.get_packages ()['linux-kernel-headers'].version (), # mirror=mirrors.lkh_deb,