Date: Mon Jan 8 11:44:45 PST 2007 Signed-off-by: Robin H. Johnson Document the fact that using virtual/* in package.provided does NOT work. They should be in the 'virtuals' file instead. Add a check to portage.py for virtual/ entries in package.provided. diff -Nuar portage-2.1.2_rc4.orig/man/portage.5 portage-2.1.2_rc4/man/portage.5 --- portage-2.1.2_rc4.orig/man/portage.5 2006-10-24 18:30:30.000000000 -0700 +++ portage-2.1.2_rc4/man/portage.5 2007-01-08 11:43:54.000000000 -0800 @@ -207,6 +207,9 @@ tell portage that 'sys-kernel/development-sources-2.6.7' is already taken care of and it should get off your back about it. +virtual packages (virtual/*) should not be specified in package.provided. They +should be placed in the virtuals file instead. + .I Format: .nf \- comments begin with # diff -Nuar portage-2.1.2_rc4.orig/pym/portage.py portage-2.1.2_rc4/pym/portage.py --- portage-2.1.2_rc4.orig/pym/portage.py 2007-01-08 11:42:06.000000000 -0800 +++ portage-2.1.2_rc4/pym/portage.py 2007-01-08 11:48:57.000000000 -0800 @@ -1353,6 +1353,10 @@ writemsg("Invalid package name in package.provided: "+pkgprovidedlines[x]+"\n", noiselevel=-1) del pkgprovidedlines[x] + if cpvr[0] == "virtual": + writemsg("Virtual packages should be in virtuals, not package.provided: "+pkgprovidedlines[x]+"\n", + noiselevel=-1) + del pkgprovidedlines[x] self.pprovideddict = {} for x in pkgprovidedlines: