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

svn path=/main/branches/2.1.2/; revision=8966

bin/repoman

index bdcf50bdb47b92281322fdb9699ccd94b4251fcb..2596b4b45016acf4ea5e43c9124e6b283e9e5c27 100755 (executable)
@@ -1435,7 +1435,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