summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-10 22:14:18 +0000
committercjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-10 22:14:18 +0000
commit2e37020f70d92e2517d19addeda160e2295f3840 (patch)
tree6c8f125179cc729109a5a716aa32619524774cd6
parent27f3bb97c84c906238ca0ec8422d143f1f765c19 (diff)
downloadchromium_src-2e37020f70d92e2517d19addeda160e2295f3840.zip
chromium_src-2e37020f70d92e2517d19addeda160e2295f3840.tar.gz
chromium_src-2e37020f70d92e2517d19addeda160e2295f3840.tar.bz2
[Reland] Add colorama to third_party/colorama
colorama is a python library for colored terminal output This time with full 40-character sha1. BUG=374830, 374662 TBR=thestig@chromium.org,darin@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/324113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276180 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--.gitignore1
-rw-r--r--DEPS3
-rw-r--r--third_party/colorama/LICENSE28
-rw-r--r--third_party/colorama/README.chromium13
-rwxr-xr-xthird_party/devscripts/licensecheck.pl2
-rwxr-xr-xtools/checklicenses/checklicenses.py5
6 files changed, 47 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 391be8d..ad99132 100644
--- a/.gitignore
+++ b/.gitignore
@@ -233,6 +233,7 @@ v8.log
/third_party/clang_format/script
!/third_party/clang_format/bin/*/*.sha1
/third_party/cld_2/src
+/third_party/colorama/src
/third_party/cros
/third_party/cros_system_api
/third_party/cygwin
diff --git a/DEPS b/DEPS
index 5f22d3b..76e27ec 100644
--- a/DEPS
+++ b/DEPS
@@ -99,6 +99,9 @@ deps = {
"src/third_party/angle":
Var("chromium_git") + "/angle/angle.git@" + Var("angle_revision"),
+ "src/third_party/colorama/src":
+ Var("chromium_git") + "/external/colorama.git@799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8",
+
"src/third_party/trace-viewer":
(Var("googlecode_url") % "trace-viewer") + "/trunk@1281",
diff --git a/third_party/colorama/LICENSE b/third_party/colorama/LICENSE
new file mode 100644
index 0000000..5f56779
--- /dev/null
+++ b/third_party/colorama/LICENSE
@@ -0,0 +1,28 @@
+Copyright (c) 2010 Jonathan Hartley
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+* Neither the name of the copyright holders, nor those of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/third_party/colorama/README.chromium b/third_party/colorama/README.chromium
new file mode 100644
index 0000000..68f9b39
--- /dev/null
+++ b/third_party/colorama/README.chromium
@@ -0,0 +1,13 @@
+Name: colorama
+Short Name: colorama
+URL: https://github.com/tartley/colorama.git
+Version: 799604a104
+License: BSD
+Security Critical: no
+
+Description:
+Provides a simple cross-platform API to print colored terminal text from Python
+applications.
+
+Local modifications:
+None
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl
index 77dc370..2dbc5af 100755
--- a/third_party/devscripts/licensecheck.pl
+++ b/third_party/devscripts/licensecheck.pl
@@ -531,6 +531,8 @@ sub parselicense($) {
$license = "BSD-like $license";
} elsif ($licensetext =~ /GOVERNED BY A BSD-STYLE SOURCE LICENSE/) {
$license = "BSD-like $license";
+ } elsif ($licensetext =~ /BSD 3-Clause license/) {
+ $license = "BSD (3 clause) $license";
}
if ($licensetext =~ /Mozilla Public License( Version|, v.) ([^ ]+[^., ]),?/) {
diff --git a/tools/checklicenses/checklicenses.py b/tools/checklicenses/checklicenses.py
index c657eff..2fc0ae8 100755
--- a/tools/checklicenses/checklicenses.py
+++ b/tools/checklicenses/checklicenses.py
@@ -297,11 +297,6 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
'UNKNOWN',
],
- # https://code.google.com/p/colorama/issues/detail?id=44
- 'tools/swarming_client/third_party/colorama': [
- 'UNKNOWN',
- ],
-
# http://crbug.com/334668
# MIT license.
'tools/swarming_client/third_party/httplib2': [