Skip to content

Commit 97aaa8f

Browse files
committed
Use dev branch of go-inspector #3967
* Update ChefMetadataFormatter Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent 1c7fc36 commit 97aaa8f

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

requirements-linux.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
packagedcode-msitools==0.101.210706
22
regipy==3.1.0
33
rpm-inspector-rpm==4.16.1.3.210404
4-
go-inspector==0.5.0
4+
go-inspector @ git+https://github.com/aboutcode-org/go-inspector.git@11aa87e09ce5fe3f9181ddf209443af283f50300

setup-mini.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ packages =
150150
rpm_inspector_rpm >= 4.16.1.3; platform_system == 'Linux'
151151
regipy >= 3.1.0; platform_system == 'Linux'
152152
packagedcode_msitools >= 0.101.210706; platform_system == 'Linux'
153-
go-inspector >= 0.5.0; platform_system == 'Linux'
153+
go-inspector @ git+https://github.com/aboutcode-org/go-inspector.git@11aa87e09ce5fe3f9181ddf209443af283f50300
154154
rust-inspector >= 0.1.0; platform_system == 'Linux'
155155

156156
# use 7zip, libarchive, and libmagic provided on the system

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ install_requires =
115115
xmltodict >= 0.11.0
116116
zipp >= 3.0.0; python_version < "3.9"
117117
typecode >= 30.0.1
118-
typecode[full] >= 30.0.1
119-
extractcode[full] >= 31.0.0
118+
# typecode[full] >= 30.0.1
119+
# extractcode[full] >= 31.0.0
120120
cyseq >= 0.0.2
121121

122122

@@ -152,7 +152,7 @@ packages =
152152
rpm_inspector_rpm >= 4.16.1.3; platform_system == 'Linux'
153153
regipy >= 3.1.0; platform_system == 'Linux'
154154
packagedcode_msitools >= 0.101.210706; platform_system == 'Linux'
155-
go-inspector >= 0.5.0; platform_system == 'Linux'
155+
go-inspector @ git+https://github.com/aboutcode-org/go-inspector.git@11aa87e09ce5fe3f9181ddf209443af283f50300
156156
rust-inspector >= 0.1.0; platform_system == 'Linux'
157157

158158
# use 7zip, libarchive, and libmagic provided on the system

src/packagedcode/chef.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def format(self, tokens, outfile):
114114
value = value[1:-1]
115115
line.append(value)
116116

117-
if ttype in (Token.Text,) and value.endswith('\n') and line:
117+
if ttype in (Token.Text, Token.Text.Whitespace) and value.endswith('\n') and line:
118118
# The field name should be the first element in the list
119119
key = line.pop(0)
120120
# Join all tokens as a single string

0 commit comments

Comments
 (0)