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 1Mqukh-0006NX-69 for garchives@archives.gentoo.org; Thu, 24 Sep 2009 20:17:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54A2AE07DF; Thu, 24 Sep 2009 20:17:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1D512E07DF for ; Thu, 24 Sep 2009 20:17:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id BC99565BA6 for ; Thu, 24 Sep 2009 20:17:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.217 X-Spam-Level: X-Spam-Status: No, score=-3.217 required=5.5 tests=[AWL=-0.618, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZrMnXYCzA7wV for ; Thu, 24 Sep 2009 20:17:11 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id E151867B41 for ; Thu, 24 Sep 2009 20:17:09 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MqukS-0002RI-2Z for gentoo-devhelp@gentoo.org; Thu, 24 Sep 2009 22:17:04 +0200 Received: from athedsl-388099.home.otenet.gr ([79.131.68.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Sep 2009 22:17:04 +0200 Received: from realnc by athedsl-388099.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Sep 2009 22:17:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-devhelp@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-devhelp] Writing ebuilds that replace others but with different name Date: Thu, 24 Sep 2009 23:16:39 +0300 Organization: Lucas Barks Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Development-related help X-BeenThere: gentoo-devhelp@gentoo.org X-BeenThere: gentoo-devhelp@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-388099.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090923 Thunderbird/3.0b4 Sender: news X-Archives-Salt: 455db1dc-bcf2-41ce-a016-6b6ab47b0d0d X-Archives-Hash: 84a0d3ccbeb386564ff8a915b72a4f4a I seem to have some fundamental "flaw" in portage. It seems I am not able to write an ebuild that will in effect be able to replace another one but with a different name. With RPMs, no matter how the RPM is named, it has "provides" data in it. Is there some similar mechanism in portage? It seems to me that if the name of an ebuild is changed, then *all* ebuilds depending on it will have to change too. That looks like a PITA to me if it's true. For example, if I have an overlay that provides alternative/altered packages of already existing ones in the portage tree, they will "clash" with portage. Let's assume that my overlay provides an ebuild called "foo-alt" which is a variation of a package in portage called "foo", but is totally compatible with it. What I'm looking for is being able to emerge "foo-alt", but have the ebuild state clearly that it provides the "foo" dependency, so ebuilds depending on "foo" will be satisfied if "foo-alt" is installed but "foo" isn't. Possible?