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

Side by Side Diff: tools/create_debian_packages.py

Issue 2267853002: Update name of a debian linux source package generated file. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 # 6 #
7 7
8 # Script to build a Debian packages from a Dart tarball. The script 8 # Script to build a Debian packages from a Dart tarball. The script
9 # will build a source package and a 32-bit (i386) and 64-bit (amd64) 9 # will build a source package and a 32-bit (i386) and 64-bit (amd64)
10 # binary packages. 10 # binary packages.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 if 'armel' in arch: 94 if 'armel' in arch:
95 print "Building armel package" 95 print "Building armel package"
96 RunBuildPackage( 96 RunBuildPackage(
97 ['-B', '-aarmel', '-us', '-uc'], join(temp_dir, tarroot), toolchain) 97 ['-B', '-aarmel', '-us', '-uc'], join(temp_dir, tarroot), toolchain)
98 98
99 # Copy the Debian package files to the build directory. 99 # Copy the Debian package files to the build directory.
100 debbase = 'dart_%s' % version 100 debbase = 'dart_%s' % version
101 source_package = [ 101 source_package = [
102 '%s-1.dsc' % debbase, 102 '%s-1.dsc' % debbase,
103 '%s.orig.tar.gz' % debbase, 103 '%s.orig.tar.gz' % debbase,
104 '%s-1.debian.tar.gz' % debbase 104 '%s-1.debian.tar.xz' % debbase
105 ] 105 ]
106 i386_package = [ 106 i386_package = [
107 '%s-1_i386.deb' % debbase 107 '%s-1_i386.deb' % debbase
108 ] 108 ]
109 amd64_package = [ 109 amd64_package = [
110 '%s-1_amd64.deb' % debbase 110 '%s-1_amd64.deb' % debbase
111 ] 111 ]
112 armhf_package = [ 112 armhf_package = [
113 '%s-1_armhf.deb' % debbase 113 '%s-1_armhf.deb' % debbase
114 ] 114 ]
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 if not tar_filename: 150 if not tar_filename:
151 tar_filename = join(DART_DIR, 151 tar_filename = join(DART_DIR,
152 utils.GetBuildDir(HOST_OS), 152 utils.GetBuildDir(HOST_OS),
153 'dart-%s.tar.gz' % utils.GetVersion()) 153 'dart-%s.tar.gz' % utils.GetVersion())
154 154
155 BuildDebianPackage(tar_filename, out_dir, arch, options.toolchain) 155 BuildDebianPackage(tar_filename, out_dir, arch, options.toolchain)
156 156
157 if __name__ == '__main__': 157 if __name__ == '__main__':
158 sys.exit(Main()) 158 sys.exit(Main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698