From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EE9D8138010 for ; Tue, 9 Oct 2012 21:35:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 791C721C03C; Tue, 9 Oct 2012 21:35:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 04EF921C03C for ; Tue, 9 Oct 2012 21:35:04 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6026533D809 for ; Tue, 9 Oct 2012 21:35:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 04D7FE5436 for ; Tue, 9 Oct 2012 21:35:03 +0000 (UTC) From: "Paul Varner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paul Varner" Message-ID: <1349818454.da1013f7067ca4272423802bccfe17f19a9d3e48.fuzzyray@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/cpv.py X-VCS-Directories: pym/gentoolkit/ X-VCS-Committer: fuzzyray X-VCS-Committer-Name: Paul Varner X-VCS-Revision: da1013f7067ca4272423802bccfe17f19a9d3e48 X-VCS-Branch: gentoolkit Date: Tue, 9 Oct 2012 21:35:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ebbd4efe-7d34-4762-a0cd-e98d7ba5aa98 X-Archives-Hash: 24520d26108a281f5e9d987af037ca1f commit: da1013f7067ca4272423802bccfe17f19a9d3e48 Author: Paul Varner gentoo org> AuthorDate: Tue Oct 9 21:32:01 2012 +0000 Commit: Paul Varner gentoo org> CommitDate: Tue Oct 9 21:34:14 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=da1013f7 Modify _pkg_re to work with EAPI 4-python which is in use by Funtoo. Testing on a Gentoo system showed no adverse affects with the change. --- pym/gentoolkit/cpv.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/gentoolkit/cpv.py b/pym/gentoolkit/cpv.py index 8d81c93..97fc76b 100644 --- a/pym/gentoolkit/cpv.py +++ b/pym/gentoolkit/cpv.py @@ -33,7 +33,7 @@ from gentoolkit import errors isvalid_version_re = re.compile("^(?:cvs\\.)?(?:\\d+)(?:\\.\\d+)*[a-z]?" "(?:_(p(?:re)?|beta|alpha|rc)\\d*)*$") isvalid_cat_re = re.compile("^(?:[a-zA-Z0-9][-a-zA-Z0-9+._]*(?:/(?!$))?)+$") -_pkg_re = re.compile("^[a-zA-Z0-9+_]+$") +_pkg_re = re.compile("^[a-zA-Z0-9+._]+$") # Prefix specific revision is of the form -r0+.+ isvalid_rev_re = re.compile(r'(\d+|0\d+\.\d+)')