diff options
author | Mike Frysinger <vapier@google.com> | 2015-10-05 17:11:11 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2015-10-05 17:11:11 -0400 |
commit | c85be239011559c0b8e85303369e9bbfb48083e4 (patch) | |
tree | 8f73be29fd8420530b5806ca2940c3a0f7a92553 | |
parent | 29f9a9ef83d4897fe6997016bb547138cc32e9ff (diff) | |
download | portage-c85be239011559c0b8e85303369e9bbfb48083e4.tar.gz |
Allow virtuals in package.provided
With new-style virtuals, there is no reason to enforce special rules to
virtuals in package.provided. If user wishes to implicitly provide
the virual package, we should not forbid him. Of course, he knows
the implications.
This is upstream commit e3366b392c76249ead2ef947b275eb5bba99bc1e.
BUG=24614250
TEST=added virtual/libc-0 to package.provided and it worked
Change-Id: Iddb17763b62eed6087c8f954568167d4078330b7
-rw-r--r-- | usr/lib/portage/pym/portage/package/ebuild/config.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/usr/lib/portage/pym/portage/package/ebuild/config.py b/usr/lib/portage/pym/portage/package/ebuild/config.py index f3633ed..08f048f 100644 --- a/usr/lib/portage/pym/portage/package/ebuild/config.py +++ b/usr/lib/portage/pym/portage/package/ebuild/config.py @@ -782,12 +782,6 @@ class config(object): has_invalid_data = True del pkgprovidedlines[x] continue - if cpvr[0] == "virtual": - writemsg(_("Virtual package in package.provided: %s\n") % \ - myline, noiselevel=-1) - has_invalid_data = True - del pkgprovidedlines[x] - continue if has_invalid_data: writemsg(_("See portage(5) for correct package.provided usage.\n"), noiselevel=-1) |