From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JfDtf-0000e2-I5 for garchives@archives.gentoo.org; Fri, 28 Mar 2008 12:41:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF8D3E0BC5; Fri, 28 Mar 2008 12:41:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8BB3FE0BC5 for ; Fri, 28 Mar 2008 12:41:26 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1FED366FA5 for ; Fri, 28 Mar 2008 12:41:26 +0000 (UTC) Received: from zmedico by stork.gentoo.org with local (Exim 4.68) (envelope-from ) id 1JfDtc-0007J9-Gw for gentoo-commits@lists.gentoo.org; Fri, 28 Mar 2008 12:41:24 +0000 To: gentoo-commits@lists.gentoo.org From: "Zac Medico (zmedico)" Subject: [gentoo-commits] portage r9569 - main/branches/2.1.2/bin X-VCS-Repository: portage X-VCS-Revision: 9569 X-VCS-Files: main/branches/2.1.2/bin/repoman X-VCS-Directories: main/branches/2.1.2/bin X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico Content-Type: text/plain; charset=UTF-8 Message-Id: Sender: Zac Medico Date: Fri, 28 Mar 2008 12:41:24 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 66913aac-7ad5-4e19-8c5e-0ca4e732e8e6 X-Archives-Hash: 7eeab16258f307b2492ec3a187a1cc15 Author: zmedico Date: 2008-03-28 12:41:23 +0000 (Fri, 28 Mar 2008) New Revision: 9569 Modified: main/branches/2.1.2/bin/repoman Log: Bug #212621 - Make the EbuildQuote check do quoting validation for misc variables from games.eclass. (trunk r9507) Modified: main/branches/2.1.2/bin/repoman =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- main/branches/2.1.2/bin/repoman 2008-03-28 12:39:35 UTC (rev 9568) +++ main/branches/2.1.2/bin/repoman 2008-03-28 12:41:23 UTC (rev 9569) @@ -939,7 +939,14 @@ =20 repoman_check_name =3D 'ebuild.minorsyn' ignore_line =3D re.compile(r'(^$)|(^\s*#.*)|(^\s*\w+=3D.*)|(^\s*(local|= export)\s+)') - var_names =3D r'(D|DISTDIR|FILESDIR|S|T|ROOT|WORKDIR)' + var_names =3D ["D", "DISTDIR", "FILESDIR", "S", "T", "ROOT", "WORKDIR"] + + # variables for games.eclass + var_names +=3D ["Ddir", "dir", "GAMES_PREFIX_OPT", "GAMES_DATADIR", + "GAMES_DATADIR_BASE", "GAMES_SYSCONFDIR", "GAMES_STATEDIR", + "GAMES_LOGDIR", "GAMES_BINDIR"] + + var_names =3D "(%s)" % "|".join(var_names) var_reference =3D re.compile(r'\$(\{'+var_names+'\}|' + \ var_names + '\W)') missing_quotes =3D re.compile(r'(\s|^)[^"\'\s]*\$\{?' + var_names + \ --=20 gentoo-commits@lists.gentoo.org mailing list