changeset 5811:c2314510092b

texlive: bump texmf trees to revision .1. Fixes latex, lilypond-ancient.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 15 Oct 2009 11:57:53 +0200
parents c2a1f460406a
children 9ea2f4804106
files gub/specs/texlive.py
diffstat 1 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/texlive.py	Thu Oct 15 11:43:16 2009 +0200
+++ b/gub/specs/texlive.py	Thu Oct 15 11:57:53 2009 +0200
@@ -165,9 +165,15 @@
                 revision='HEAD')
         else:
             self.texmf_repo = repository.get_repository_proxy (self.get_repodir ().replace ('texlive', 'texlive-texmf-tiny'),
-                                                               Texlive.source.replace ('texlive', 'texlive-texmf-tiny'))
+                                                               (Texlive.source
+                                                                .replace ('texlive', 'texlive-texmf-tiny')
+                                                                .replace ('.tar.gz', '.1.tar.gz')
+                                                               ))
             self.texmf_dist_repo = repository.get_repository_proxy (self.get_repodir ().replace ('texlive', 'texlive-texmf-dist-tiny'),
-                                                               Texlive.source.replace ('texlive', 'texlive-texmf-dist-tiny'))
+                                                                    (Texlive.source
+                                                                     .replace ('texlive', 'texlive-texmf-dist-tiny')
+                                                                     .replace ('.tar.gz', '.1.tar.gz')
+                                                                     ))
 
     def __init__ (self, settings, source):
         target.AutoBuild.__init__ (self, settings, source)
@@ -298,14 +304,15 @@
 
 def main ():
     version = '15644'
+    revision = '.1'
     logging.default_logger.threshold = '1'
     for texmf in ['texlive-texmf', 'texlive-texmf-dist']:
         system ('''
 mkdir -p downloads/%(texmf)s-tiny
 LANG= tar -C downloads/%(texmf)s-tiny -xvzf downloads/%(texmf)s/%(texmf)s-%(version)s.tar.gz $(sed -e s/^texmf/%(texmf)s-%(version)s/ sourcefiles/texmf-tiny.list) 1> %(texmf)s.list 2> %(texmf)s.missing || :
-cd downloads/%(texmf)s-tiny && mv %(texmf)s-%(version)s %(texmf)s-tiny-%(version)s
-tar -C downloads/%(texmf)s-tiny -czf downloads/%(texmf)s-tiny/%(texmf)s-tiny-%(version)s.tar.gz %(texmf)s-tiny-%(version)s
-rm -rf downloads/%(texmf)s-tiny/%(texmf)s-tiny-%(version)s
+cd downloads/%(texmf)s-tiny && mv %(texmf)s-%(version)s %(texmf)s-tiny-%(version)s%(revision)s
+tar -C downloads/%(texmf)s-tiny -czf downloads/%(texmf)s-tiny/%(texmf)s-tiny-%(version)s%(revision)s.tar.gz %(texmf)s-tiny-%(version)s%(revision)s
+rm -rf downloads/%(texmf)s-tiny/%(texmf)s-tiny-%(version)s%(revision)s
 ''', locals ())
     system ('''
 sed s@.*/@@ sourcefiles/texmf-tiny.list | sort > sourcefiles/tiny.list