From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qf67U-0001aP-1w for garchives@archives.gentoo.org; Fri, 08 Jul 2011 08:09:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 778E521C0FA; Fri, 8 Jul 2011 08:08:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 47E2621C0DC for ; Fri, 8 Jul 2011 08:08:56 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BEBD42AC0C7 for ; Fri, 8 Jul 2011 08:08:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id CF7C48003D for ; Fri, 8 Jul 2011 08:08:54 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <8f80a4d52bbc05200f51ca659a4fe574f80fdc49.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/repoman/ X-VCS-Repository: proj/portage X-VCS-Files: pym/repoman/checks.py X-VCS-Directories: pym/repoman/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 8f80a4d52bbc05200f51ca659a4fe574f80fdc49 Date: Fri, 8 Jul 2011 08:08:54 +0000 (UTC) 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: X-Archives-Hash: 650b68e1e4c1b6f7ddb27c29cb685300 commit: 8f80a4d52bbc05200f51ca659a4fe574f80fdc49 Author: Zac Medico gentoo org> AuthorDate: Fri Jul 8 08:07:51 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Jul 8 08:07:51 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D8f80a4d5 repoman: tighten regex for useq and hasq --- pym/repoman/checks.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 58ac20d..e7472df 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -587,19 +587,19 @@ class SrcUnpackPatches(PhaseCheck): =20 class BuiltWithUse(LineCheck): repoman_check_name =3D 'ebuild.minorsyn' - re =3D re.compile('^.*built_with_use') + re =3D re.compile(r'(^|.*\b)built_with_use\b') error =3D errors.BUILT_WITH_USE =20 class DeprecatedUseq(LineCheck): """Checks for use of the deprecated useq function""" repoman_check_name =3D 'ebuild.minorsyn' - re =3D re.compile('^.*useq') + re =3D re.compile(r'(^|.*\b)useq\b') error =3D errors.USEQ_ERROR =20 class DeprecatedHasq(LineCheck): """Checks for use of the deprecated hasq function""" repoman_check_name =3D 'ebuild.minorsyn' - re =3D re.compile('^.*hasq') + re =3D re.compile(r'(^|.*\b)hasq\b') error =3D errors.HASQ_ERROR =20 # EAPI-3 checks