Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: third_party/scons/scons-local/SCons/Tool/packaging/ipk.py

Issue 17024: Update to SCons 1.2.0. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 """SCons.Tool.Packaging.ipk 1 """SCons.Tool.Packaging.ipk
2 """ 2 """
3 3
4 # 4 #
5 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat ion 5 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat ion
6 # 6 #
7 # Permission is hereby granted, free of charge, to any person obtaining 7 # Permission is hereby granted, free of charge, to any person obtaining
8 # a copy of this software and associated documentation files (the 8 # a copy of this software and associated documentation files (the
9 # "Software"), to deal in the Software without restriction, including 9 # "Software"), to deal in the Software without restriction, including
10 # without limitation the rights to use, copy, modify, merge, publish, 10 # without limitation the rights to use, copy, modify, merge, publish,
11 # distribute, sublicense, and/or sell copies of the Software, and to 11 # distribute, sublicense, and/or sell copies of the Software, and to
12 # permit persons to whom the Software is furnished to do so, subject to 12 # permit persons to whom the Software is furnished to do so, subject to
13 # the following conditions: 13 # the following conditions:
14 # 14 #
15 # The above copyright notice and this permission notice shall be included 15 # The above copyright notice and this permission notice shall be included
16 # in all copies or substantial portions of the Software. 16 # in all copies or substantial portions of the Software.
17 # 17 #
18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
19 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 19 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
20 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 # 25 #
26 26
27 __revision__ = "src/engine/SCons/Tool/packaging/ipk.py 3603 2008/10/10 05:46:45 scons" 27 __revision__ = "src/engine/SCons/Tool/packaging/ipk.py 3842 2008/12/20 22:59:52 scons"
28 28
29 import SCons.Builder 29 import SCons.Builder
30 import SCons.Node.FS 30 import SCons.Node.FS
31 import os 31 import os
32 32
33 from SCons.Tool.packaging import stripinstallbuilder, putintopackageroot 33 from SCons.Tool.packaging import stripinstallbuilder, putintopackageroot
34 34
35 def package(env, target, source, PACKAGEROOT, NAME, VERSION, DESCRIPTION, 35 def package(env, target, source, PACKAGEROOT, NAME, VERSION, DESCRIPTION,
36 SUMMARY, X_IPK_PRIORITY, X_IPK_SECTION, SOURCE_URL, 36 SUMMARY, X_IPK_PRIORITY, X_IPK_SECTION, SOURCE_URL,
37 X_IPK_MAINTAINER, X_IPK_DEPENDS, **kw): 37 X_IPK_MAINTAINER, X_IPK_DEPENDS, **kw):
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 # 170 #
171 # close all opened files 171 # close all opened files
172 for f in opened_files.values(): 172 for f in opened_files.values():
173 f.close() 173 f.close()
174 174
175 # call a user specified function 175 # call a user specified function
176 if env.has_key('CHANGE_SPECFILE'): 176 if env.has_key('CHANGE_SPECFILE'):
177 content += env['CHANGE_SPECFILE'](target) 177 content += env['CHANGE_SPECFILE'](target)
178 178
179 return 0 179 return 0
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698