From 67e1de7e57a843622a824f68e4ffb40d8b9ff320 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 27 Mar 2020 21:34:09 -0600 Subject: Use virtualenv, pip-licenses to scan projects * Add PIL License to list of normalized licenses * Update Python 3 v2.0 report fixture * Add CHANGELOG entry * Define local variables in bash functions * Ensure `SETUP_CMD` continues to work for python projects * build virtualenv app-data cache * Fallback to legacy scanner when SETUP_CMD is used * Extract Shell class to be able to pass custom env --- spec/fixtures/expected/python/3/pip/v2.0.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'spec/fixtures/expected/python/3') diff --git a/spec/fixtures/expected/python/3/pip/v2.0.json b/spec/fixtures/expected/python/3/pip/v2.0.json index 5d885ee..b5c23ae 100644 --- a/spec/fixtures/expected/python/3/pip/v2.0.json +++ b/spec/fixtures/expected/python/3/pip/v2.0.json @@ -25,6 +25,12 @@ "url": "https://opensource.org/licenses/BSD-3-Clause", "count": 1 }, + { + "id": "MIT-CMU", + "name": "CMU License", + "url": "https://github.com/python-pillow/Pillow/blob/fffb426092c8db24a5f4b6df243a8a3c01fb63cd/LICENSE", + "count": 1 + }, { "id": "copyright (c) 2015, julien fache", "name": "Copyright (c) 2015, Julien Fache", @@ -36,12 +42,6 @@ "name": "Python License 2.0", "url": "https://opensource.org/licenses/Python-2.0", "count": 1 - }, - { - "id": "standard pil license", - "name": "Standard PIL License", - "url": "", - "count": 1 } ], "dependencies": [ @@ -64,7 +64,7 @@ "." ], "licenses": [ - "standard pil license" + "MIT-CMU" ] }, { -- cgit v1.2.3