Last change
on this file since 60 was 59, checked in by garonne, 20 years ago |
ajout du scrip python create_kit
|
-
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 | print time.strftime ('%c')
|
---|
21 |
|
---|
22 | kit = Kit (DEBUG=True)
|
---|
23 | kit.get_options (sys.argv)
|
---|
24 | kit.make_pacman_cache ()
|
---|
25 | kit.make_tempory_file ()
|
---|
26 | kit.prepare_cmt_context ()
|
---|
27 | kit.prepare_patch_structure ()
|
---|
28 | kit.prepare_externals ()
|
---|
29 | kit.prepare_temp ()
|
---|
30 | kit.build_pacman ()
|
---|
31 | kit.cleanup
|
---|
32 | sys.exit(-1)
|
---|
33 |
|
---|
34 | if __name__ == '__main__':
|
---|
35 | main()
|
---|
36 |
|
---|
37 | ##################################################################################################
|
---|
38 | #---------------------------------- END ----------------------------------------------#
|
---|
39 | ################################################################################################## |
---|
Note:
See
TracBrowser
for help on using the repository browser.