Browse Source

Don't fail if faux-packages have multiple provides entries

devuan-deployment
Matthias Klumpp 1 year ago
parent
commit
f2f45320a8
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      britney.py

+ 5
- 0
britney.py View File

@@ -577,6 +577,11 @@ class Britney(object):
src_data.binaries.add(pkg_id)
target_suite.binaries[arch][pkg_name] = bin_data
pri_source_suite.binaries[arch][pkg_name] = bin_data

# register provided packages with the target suite provides table
for provided_pkg, provided_version, _ in bin_data.provides:
target_suite.provides_table[arch][provided_pkg].add((pkg_name, provided_version))

self.all_binaries[pkg_id] = bin_data

def _load_constraints(self, constraints_file):


Loading…
Cancel
Save