#43 inspector: inject cargo dependency
Merged 2 years ago by ignatenkobrain. Opened 2 years ago by ignatenkobrain.

file modified
+1

@@ -91,6 +91,7 @@ 

  {% endfor %}

  {% endif %}

  {% if include_requires %}

+ Requires:       cargo

  {% if md.requires|length > 0 %}

  # [dependencies]

  {% for req in md.requires|sort(attribute="name") %}

file modified
+5

@@ -38,6 +38,11 @@ 

              print_deps(list(itertools.chain(md.requires, md.build_requires)))

          if args.test_requires:

              print_deps(md.test_requires)

+         if args.requires:

+             # Someone should own /usr/share/cargo/registry

+             print("cargo")

+         if args.build_requires:

+             print("rust-packaging")

  

  if __name__ == "__main__":

      main()

rebased onto e77997484e0b0a9d4c815b2ba4cc2fe2d6d73aca

2 years ago

rebased onto 9e0a872

2 years ago

Looks good to me! :thumbsup:

Pull-Request has been merged by ignatenkobrain

2 years ago