Bug #140180 - Ignore missing HOMEPAGE and LICENSE variables for
authorZac Medico <zmedico@gentoo.org>
Wed, 19 Dec 2007 06:54:58 +0000 (06:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 19 Dec 2007 06:54:58 +0000 (06:54 -0000)
new-style virtual packages.

svn path=/main/trunk/; revision=8965

bin/repoman

index 1f80ed435176b3c4e166629db44d93b3db0273f9..68a692d57c1e7b0f756e0d130567dbb7b9d5ec6c 100755 (executable)
@@ -1274,7 +1274,8 @@ for x in scanlist:
 
                for pos, missing_var in enumerate(missingvars):
                        if not myaux.get(missing_var):
-                               if missing_var == "LICENSE" and catdir == "virtual":
+                               if catdir == "virtual" and \
+                                       missing_var in ("HOMEPAGE", "LICENSE"):
                                        continue
                                myqakey=missingvars[pos]+".missing"
                                stats[myqakey]=stats[myqakey]+1