home-assistant: support requirements specified by URL
This commit is contained in:
@@ -106,6 +106,9 @@ build_inputs = {}
|
||||
for component in sorted(components.keys()):
|
||||
attr_paths = []
|
||||
for req in sorted(get_reqs(components, component)):
|
||||
# Some requirements are specified by url, e.g. https://example.org/foobar#xyz==1.0.0
|
||||
# Therefore, if there's a "#" in the line, only take the part after it
|
||||
req = req[req.find('#') + 1:]
|
||||
name = req.split('==')[0]
|
||||
attr_path = name_to_attr_path(name)
|
||||
if attr_path is not None:
|
||||
|
||||
Reference in New Issue
Block a user