| 
            Last change
 on this file since 314 was             61, checked in by garonne, 20 years ago           | 
        
        
          | 
             
correct some error message 
 
           | 
        
        
          
            
              - 
Property                 svn:executable
 set to                 
*
               
             
           | 
        
        
          | 
            File size:
            1.2 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | #!/usr/bin/env python
 | 
|---|
| 2 | ########################################
 | 
|---|
| 3 | # author: Garonne Vincent              #
 | 
|---|
| 4 | # Description: Create tarball from     # 
 | 
|---|
| 5 | # sources.                             #
 | 
|---|
| 6 | # Date: june/29/2005                   #
 | 
|---|
| 7 | # based on the christian shell and     #
 | 
|---|
| 8 | # python script                        #
 | 
|---|
| 9 | ########################################
 | 
|---|
| 10 | 
 | 
|---|
| 11 | import os
 | 
|---|
| 12 | import sys
 | 
|---|
| 13 | from   kit import *
 | 
|---|
| 14 | 
 | 
|---|
| 15 | #----------------------------------------------------
 | 
|---|
| 16 | # Main
 | 
|---|
| 17 | #----------------------------------------------------
 | 
|---|
| 18 | def main ():
 | 
|---|
| 19 |     
 | 
|---|
| 20 |     kit = Kit                   (DEBUG=True)
 | 
|---|
| 21 |     kit.get_options             (sys.argv)
 | 
|---|
| 22 |     kit.make_pacman_cache       ()
 | 
|---|
| 23 |     kit.make_tempory_file       ()
 | 
|---|
| 24 |     kit.prepare_cmt_context     ()
 | 
|---|
| 25 |     kit.prepare_patch_structure ()
 | 
|---|
| 26 |     kit.prepare_externals       ()
 | 
|---|
| 27 |     kit.prepare_temp            ()
 | 
|---|
| 28 |     kit.build_pacman            ()
 | 
|---|
| 29 |     kit.cleanup  
 | 
|---|
| 30 |     sys.exit(-1)
 | 
|---|
| 31 |   
 | 
|---|
| 32 | if __name__ == '__main__':
 | 
|---|
| 33 |     main()
 | 
|---|
| 34 | 
 | 
|---|
| 35 | ##################################################################################################
 | 
|---|
| 36 | #----------------------------------      END       ----------------------------------------------#
 | 
|---|
| 37 | ################################################################################################## | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.