From 4510deb87ee0acb985ebeb7478cae5909741776e Mon Sep 17 00:00:00 2001 From: Tetiana Chupryna Date: Mon, 17 Aug 2020 19:12:34 +0300 Subject: Fix failed python specs --- spec/fixtures/expected/python/2/pip/v2.1.json | 10 +++++----- spec/fixtures/expected/python/3/pip/v2.0.json | 15 +++++++-------- spec/fixtures/expected/python/3/pip/v2.1.json | 18 +++++++++--------- spec/fixtures/expected/python/pipenv/v2.1.json | 10 +++++----- 4 files changed, 26 insertions(+), 27 deletions(-) (limited to 'spec/fixtures/expected/python') diff --git a/spec/fixtures/expected/python/2/pip/v2.1.json b/spec/fixtures/expected/python/2/pip/v2.1.json index 36d625d..05492d6 100644 --- a/spec/fixtures/expected/python/2/pip/v2.1.json +++ b/spec/fixtures/expected/python/2/pip/v2.1.json @@ -6,11 +6,6 @@ "name": "BSD 3-Clause \"New\" or \"Revised\" License", "url": "https://opensource.org/licenses/BSD-3-Clause" }, - { - "id": "bsd", - "name": "BSD", - "url": "http://en.wikipedia.org/wiki/BSD_licenses" - }, { "id": "MIT", "name": "MIT License", @@ -26,6 +21,11 @@ "name": "Python License 2.0", "url": "https://opensource.org/licenses/Python-2.0" }, + { + "id": "bsd", + "name": "BSD", + "url": "http://en.wikipedia.org/wiki/BSD_licenses" + }, { "id": "copyright (c) 2015, julien fache", "name": "Copyright (c) 2015, Julien Fache", diff --git a/spec/fixtures/expected/python/3/pip/v2.0.json b/spec/fixtures/expected/python/3/pip/v2.0.json index b5c23ae..f4f3e1c 100644 --- a/spec/fixtures/expected/python/3/pip/v2.0.json +++ b/spec/fixtures/expected/python/3/pip/v2.0.json @@ -2,10 +2,9 @@ "version": "2.0", "licenses": [ { - "id": "BSD-4-Clause", - "name": "BSD 4-Clause \"Original\" or \"Old\" License", - "url": "http://directory.fsf.org/wiki/License:BSD_4Clause", - "count": 4 + "id": "bsd", + "name": "BSD", + "url": "http://en.wikipedia.org/wiki/BSD_licenses" }, { "id": "MIT", @@ -53,7 +52,7 @@ "." ], "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -86,7 +85,7 @@ "." ], "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -97,7 +96,7 @@ "." ], "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -119,7 +118,7 @@ "." ], "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { diff --git a/spec/fixtures/expected/python/3/pip/v2.1.json b/spec/fixtures/expected/python/3/pip/v2.1.json index 787b800..a23b401 100644 --- a/spec/fixtures/expected/python/3/pip/v2.1.json +++ b/spec/fixtures/expected/python/3/pip/v2.1.json @@ -11,11 +11,6 @@ "name": "BSD 3-Clause \"New\" or \"Revised\" License", "url": "https://opensource.org/licenses/BSD-3-Clause" }, - { - "id": "BSD-4-Clause", - "name": "BSD 4-Clause \"Original\" or \"Old\" License", - "url": "http://directory.fsf.org/wiki/License:BSD_4Clause" - }, { "id": "MIT", "name": "MIT License", @@ -31,6 +26,11 @@ "name": "Python License 2.0", "url": "https://opensource.org/licenses/Python-2.0" }, + { + "id": "bsd", + "name": "BSD", + "url": "http://en.wikipedia.org/wiki/BSD_licenses" + }, { "id": "copyright (c) 2015, julien fache", "name": "Copyright (c) 2015, Julien Fache", @@ -44,7 +44,7 @@ "package_manager": "pip", "path": "requirements.txt", "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -71,7 +71,7 @@ "package_manager": "pip", "path": "requirements.txt", "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -80,7 +80,7 @@ "package_manager": "pip", "path": "requirements.txt", "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { @@ -98,7 +98,7 @@ "package_manager": "pip", "path": "requirements.txt", "licenses": [ - "BSD-4-Clause" + "bsd" ] }, { diff --git a/spec/fixtures/expected/python/pipenv/v2.1.json b/spec/fixtures/expected/python/pipenv/v2.1.json index 9c58d29..9e64c02 100644 --- a/spec/fixtures/expected/python/pipenv/v2.1.json +++ b/spec/fixtures/expected/python/pipenv/v2.1.json @@ -6,16 +6,16 @@ "name": "Apache License 2.0", "url": "https://opensource.org/licenses/Apache-2.0" }, - { - "id": "bsd", - "name": "BSD", - "url": "http://en.wikipedia.org/wiki/BSD_licenses" - }, { "id": "MIT", "name": "MIT License", "url": "https://opensource.org/licenses/MIT" }, + { + "id": "bsd", + "name": "BSD", + "url": "http://en.wikipedia.org/wiki/BSD_licenses" + }, { "id": "public domain, python, 2-clause bsd, gpl 3 (see copying.txt)", "name": "public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)", -- cgit v1.2.3