From 4e02baaa767e13c3b99ddeca1e9a8a05abd30783 Mon Sep 17 00:00:00 2001 From: Ulrich Mueller Date: Sun, 1 May 2011 08:57:33 -0700 Subject: repoman: Check for PROVIDE. This will fix bug #365505. --- bin/repoman | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin') diff --git a/bin/repoman b/bin/repoman index f3956d68c..c89f2b8d4 100755 --- a/bin/repoman +++ b/bin/repoman @@ -366,6 +366,7 @@ qahelp={ "metadata.bad":"Bad metadata.xml files", "metadata.warning":"Warnings in metadata.xml files", "portage.internal":"The ebuild uses an internal Portage function", + "virtual.oldstyle":"The ebuild PROVIDEs an old-style virtual (see GLEP 37)", "virtual.versioned":"PROVIDE contains virtuals with versions", "virtual.exists":"PROVIDE contains existing package names", "virtual.unavailable":"PROVIDE contains a virtual which contains no profile default", @@ -1548,6 +1549,10 @@ for x in scanlist: stats["virtual.exists"]+=1 fails["virtual.exists"].append(x+"/"+y+".ebuild: "+prov_cp) + if myaux.get("PROVIDE"): + stats["virtual.oldstyle"]+=1 + fails["virtual.oldstyle"].append(relative_path) + for pos, missing_var in enumerate(missingvars): if not myaux.get(missing_var): if catdir == "virtual" and \ -- cgit v1.2.3-1-g7c22