mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-19 06:21:31 +00:00
Register reverse dependencies for real packages which provides virtual packages.
This commit is contained in:
parent
c6947cfefb
commit
f61981a611
@ -406,8 +406,11 @@ class Britney:
|
|||||||
# register the list of the dependencies for the depending packages
|
# register the list of the dependencies for the depending packages
|
||||||
for p in dependencies:
|
for p in dependencies:
|
||||||
for a in p:
|
for a in p:
|
||||||
if a[0] not in packages: continue
|
if a[0] in packages:
|
||||||
packages[a[0]]['rdepends'].append((pkg, a[1], a[2]))
|
packages[a[0]]['rdepends'].append((pkg, a[1], a[2]))
|
||||||
|
elif a[0] in provides:
|
||||||
|
for i in provides[a[0]]:
|
||||||
|
packages[i]['rdepends'].append((pkg, a[1], a[2]))
|
||||||
del dependencies
|
del dependencies
|
||||||
|
|
||||||
# return a tuple with the list of real and virtual packages
|
# return a tuple with the list of real and virtual packages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user