GeezerVison is showing github.com — tools: update gyp-next to 0.20.0 · nodejs/node@f2cdc98
File treeExpand file treeCollapse file tree Open diff view settings Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: tools/gyp/.gitignore +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -141,3 +141,6 @@ cython_debug/ | 141 | 141 | # static files generated from Django application using `collectstatic` | 142 | 142 | media | 143 | 143 | static | | 144 | + | | 145 | +test/fixtures/out | | 146 | +*.actual |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/CHANGELOG.md +13Lines changed: 13 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | # Changelog | 2 | 2 |
| | 3 | +## [0.20.0](https://github.com/nodejs/gyp-next/compare/v0.19.1...v0.20.0) (2025-03-27) | | 4 | + | | 5 | + | | 6 | +### ⚠ BREAKING CHANGES | | 7 | + | | 8 | +* resolve issue with relative paths during linking ([#284](https://github.com/nodejs/gyp-next/issues/284)) | | 9 | + | | 10 | +### Bug Fixes | | 11 | + | | 12 | +* python lint more ruff rules ([#291](https://github.com/nodejs/gyp-next/issues/291)) ([fabc78c](https://github.com/nodejs/gyp-next/commit/fabc78caffcf988365d970ced5a151f40525077e)) | | 13 | +* remove explicit installation of setuptools ([#278](https://github.com/nodejs/gyp-next/issues/278)) ([e476778](https://github.com/nodejs/gyp-next/commit/e4767782c70ca8427184694589d9f0ded5eeed22)) | | 14 | +* resolve issue with relative paths during linking ([#284](https://github.com/nodejs/gyp-next/issues/284)) ([a2d7439](https://github.com/nodejs/gyp-next/commit/a2d7439fbd3c03f01e1149fdbe682f754bc6cc7f)) | | 15 | + | 3 | 16 | ## [0.19.1](https://github.com/nodejs/gyp-next/compare/v0.19.0...v0.19.1) (2024-12-09) | 4 | 17 |
| 5 | 18 |
| |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/docs/Hacking.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -24,7 +24,7 @@ to make sure your changes aren't breaking anything important. | 24 | 24 | You run the test driver with e.g. | 25 | 25 |
| 26 | 26 | ``` sh | 27 | | -$ python -m pip install --upgrade pip setuptools | | 27 | +$ python -m pip install --upgrade pip | 28 | 28 | $ pip install --editable ".[dev]" | 29 | 29 | $ python -m pytest | 30 | 30 | ``` | |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/docs/InputFormatReference.md +4-1Lines changed: 4 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -194,6 +194,7 @@ lists associated with the following keys, are treated as pathnames: | 194 | 194 | * include\_dirs | 195 | 195 | * inputs | 196 | 196 | * libraries | | 197 | + * library\_dirs | 197 | 198 | * outputs | 198 | 199 | * sources | 199 | 200 | * mac\_bundle\_resources | @@ -231,7 +232,8 @@ Source dictionary from `../build/common.gypi`: | 231 | 232 | ``` | 232 | 233 | { | 233 | 234 | 'include_dirs': ['include'], # Treated as relative to ../build | 234 | | - 'libraries': ['-lz'], # Not treated as a pathname, begins with a dash | | 235 | + 'library_dirs': ['lib'], # Treated as relative to ../build | | 236 | + 'libraries': ['-lz'], # Not treated as a pathname, begins with a dash | 235 | 237 | 'defines': ['NDEBUG'], # defines does not contain pathnames | 236 | 238 | } | 237 | 239 | ``` | @@ -250,6 +252,7 @@ Merged dictionary: | 250 | 252 | { | 251 | 253 | 'sources': ['string_util.cc'], | 252 | 254 | 'include_dirs': ['../build/include'], | | 255 | + 'library_dirs': ['../build/lib'], | 253 | 256 | 'libraries': ['-lz'], | 254 | 257 | 'defines': ['NDEBUG'], | 255 | 258 | } | |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/gyp_main.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 5 | 5 | # found in the LICENSE file. | 6 | 6 |
| 7 | 7 | import os | 8 | | -import sys | 9 | 8 | import subprocess | | 9 | +import sys | 10 | 10 |
| 11 | 11 |
| 12 | 12 | def IsCygwin(): | |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/pylib/gyp/MSVSProject.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 4 | 4 |
| 5 | 5 | """Visual Studio project reader/writer.""" | 6 | 6 |
| 7 | | -import gyp.easy_xml as easy_xml | | 7 | +from gyp import easy_xml | 8 | 8 |
| 9 | 9 | # ------------------------------------------------------------------------------ | 10 | 10 |
| |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/pylib/gyp/MSVSSettings_test.py +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 7 | 7 | """Unit tests for the MSVSSettings.py file.""" | 8 | 8 |
| 9 | 9 | import unittest | 10 | | -import gyp.MSVSSettings as MSVSSettings | 11 | | - | 12 | 10 | from io import StringIO | 13 | 11 |
| | 12 | +from gyp import MSVSSettings | | 13 | + | 14 | 14 |
| 15 | 15 | class TestSequenceFunctions(unittest.TestCase): | 16 | 16 | def setUp(self): | |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/pylib/gyp/MSVSToolFile.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 4 | 4 |
| 5 | 5 | """Visual Studio project reader/writer.""" | 6 | 6 |
| 7 | | -import gyp.easy_xml as easy_xml | | 7 | +from gyp import easy_xml | 8 | 8 |
| 9 | 9 |
| 10 | 10 | class Writer: | |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/pylib/gyp/MSVSUserFile.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 8 | 8 | import re | 9 | 9 | import socket # for gethostname | 10 | 10 |
| 11 | | -import gyp.easy_xml as easy_xml | 12 | | - | | 11 | +from gyp import easy_xml | 13 | 12 |
| 14 | 13 | # ------------------------------------------------------------------------------ | 15 | 14 |
| |
Collapse file Copy file name to clipboardExpand all lines: tools/gyp/pylib/gyp/MSVSUtil.py -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 7 | 7 | import copy | 8 | 8 | import os | 9 | 9 |
| 10 | | - | 11 | 10 | # A dictionary mapping supported target types to extensions. | 12 | 11 | TARGET_TYPE_EXT = { | 13 | 12 | "executable": "exe", | |
|