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 01A8B1393E9 for ; Sat, 23 Aug 2014 19:03:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4EAFAE096E; Sat, 23 Aug 2014 19:03:09 +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 A5A78E096E for ; Sat, 23 Aug 2014 19:03:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E8A5340290 for ; Sat, 23 Aug 2014 19:03:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3F413C31 for ; Sat, 23 Aug 2014 19:03:04 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1406658124.8c67544ba3552ae6a67a10145036d42d8692d10c.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/overlay/rulegen.py X-VCS-Directories: roverlay/overlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 8c67544ba3552ae6a67a10145036d42d8692d10c X-VCS-Branch: master Date: Sat, 23 Aug 2014 19:03:04 +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: 0a3774f3-d6b8-4bde-aec0-178da33729dc X-Archives-Hash: 0863f7bd34f726353feef781d8397aff commit: 8c67544ba3552ae6a67a10145036d42d8692d10c Author: André Erdmann mailerd de> AuthorDate: Tue Jul 29 18:22:04 2014 +0000 Commit: André Erdmann mailerd de> CommitDate: Tue Jul 29 18:22:04 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=8c67544b roverlay/overlay/rulegen: fix dot handling for scanned ebuilds: replace underscore chars '_' with dot chars '.' and the resulting str as package name alias to the dyn. dep rule. --- roverlay/overlay/rulegen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roverlay/overlay/rulegen.py b/roverlay/overlay/rulegen.py index b2bf1e5..dcc4723 100644 --- a/roverlay/overlay/rulegen.py +++ b/roverlay/overlay/rulegen.py @@ -40,6 +40,8 @@ class DepresRuleGenerator ( object ): ) if package_name: package_names.add ( package_name ) + else: + package_names.add ( pkgdir_name.replace('_','.') ) repo = p_info.get ( 'origin', do_fallback=True ) if repo is not None: 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 68B5A13877A for ; Tue, 29 Jul 2014 18:29:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49FA7E095B; Tue, 29 Jul 2014 18:29:25 +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 66D1FE095A for ; Tue, 29 Jul 2014 18:29:24 +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 2D030340180 for ; Tue, 29 Jul 2014 18:29:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id B8DBA18BF8 for ; Tue, 29 Jul 2014 18:29:20 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1406658124.8c67544ba3552ae6a67a10145036d42d8692d10c.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/overlay/rulegen.py X-VCS-Directories: roverlay/overlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 8c67544ba3552ae6a67a10145036d42d8692d10c X-VCS-Branch: master Date: Tue, 29 Jul 2014 18:29:20 +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: 48c55923-4fb7-4ef9-b591-72474f8ae76d X-Archives-Hash: b8a81e4a24da8da6743e7102256ba54b Message-ID: <20140729182920.9nwB-euWB6NjRp7o3CvGR_fAeAXh0GIYO91rF26Cl6o@z> commit: 8c67544ba3552ae6a67a10145036d42d8692d10c Author: André Erdmann mailerd de> AuthorDate: Tue Jul 29 18:22:04 2014 +0000 Commit: André Erdmann mailerd de> CommitDate: Tue Jul 29 18:22:04 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=8c67544b roverlay/overlay/rulegen: fix dot handling for scanned ebuilds: replace underscore chars '_' with dot chars '.' and the resulting str as package name alias to the dyn. dep rule. --- roverlay/overlay/rulegen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roverlay/overlay/rulegen.py b/roverlay/overlay/rulegen.py index b2bf1e5..dcc4723 100644 --- a/roverlay/overlay/rulegen.py +++ b/roverlay/overlay/rulegen.py @@ -40,6 +40,8 @@ class DepresRuleGenerator ( object ): ) if package_name: package_names.add ( package_name ) + else: + package_names.add ( pkgdir_name.replace('_','.') ) repo = p_info.get ( 'origin', do_fallback=True ) if repo is not None: