From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-720591-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 39B4013877A for <garchives@archives.gentoo.org>; Mon, 11 Aug 2014 20:27:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC8C0E1167; Mon, 11 Aug 2014 20:21:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83F31E0B66 for <gentoo-commits@lists.gentoo.org>; Mon, 11 Aug 2014 20:20:26 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4224D340420 for <gentoo-commits@lists.gentoo.org>; Sun, 10 Aug 2014 10:32:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id ECE1718815 for <gentoo-commits@lists.gentoo.org>; Sun, 10 Aug 2014 10:32:47 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis" <arfrever@apache.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arfrever Frehtes Taifersar Arahesis" <arfrever@apache.org> Message-ID: <1407666689.bbb34efebd0bfc0b231073d00b863b3e3ebd918a.arfrever@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/repoman X-VCS-Directories: bin/ X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis X-VCS-Revision: bbb34efebd0bfc0b231073d00b863b3e3ebd918a X-VCS-Branch: master Date: Sun, 10 Aug 2014 10:32:47 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 681fb346-c9d4-49ea-91f5-c754a0666846 X-Archives-Hash: a10a54bbf358d4d8ddb1807d616245fa commit: bbb34efebd0bfc0b231073d00b863b3e3ebd918a Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> AuthorDate: Sun Aug 10 10:31:29 2014 +0000 Commit: Arfrever Frehtes Taifersar Arahesis <arfrever <AT> apache <DOT> org> CommitDate: Sun Aug 10 10:31:29 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=bbb34efe repoman: Do not report DESCRIPTION.punctuation warning for "etc.". --- bin/repoman | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index 71fc7f0..bd9ad15 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1895,7 +1895,11 @@ for x in effective_scanlist: stats[myqakey] += 1 fails[myqakey].append(relative_path) - if myaux['DESCRIPTION'][-1:] in ['.']: + # Abbreviations usable at the end of sentence. + abbreviations = ( + 'etc.', + ) + if myaux['DESCRIPTION'][-1:] == '.' and not myaux['DESCRIPTION'].split()[-1] in abbreviations: stats['DESCRIPTION.punctuation'] += 1 fails['DESCRIPTION.punctuation'].append( "%s: DESCRIPTION ends with a '%s' character"