-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
pkgs/development/arduino/platformio/use-local-spdx-license-list.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
diff --git a/platformio/package/manifest/schema.py b/platformio/package/manifest/schema.py | ||
index f293ba5a..a818271f 100644 | ||
index addc4c5..514b0ad 100644 | ||
--- a/platformio/package/manifest/schema.py | ||
+++ b/platformio/package/manifest/schema.py | ||
@@ -252,5 +252,4 @@ class ManifestSchema(BaseSchema): | ||
@@ -253,9 +253,4 @@ class ManifestSchema(BaseSchema): | ||
@staticmethod | ||
@memoized(expire="1h") | ||
def load_spdx_licenses(): | ||
- spdx_data_url = "https://dl.bintray.com/platformio/dl-misc/spdx-licenses-3.json" | ||
- version = "3.12" | ||
- spdx_data_url = ( | ||
- "https://raw.githubusercontent.com/spdx/license-list-data/" | ||
- "v%s/json/licenses.json" % version | ||
- ) | ||
- return json.loads(fetch_remote_content(spdx_data_url)) | ||
+ return json.load(open("@SPDX_LICENSE_LIST_DATA@/json/licenses.json")) |