public inbox for gentoo-devhelp@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-devhelp]  Writing ebuilds that replace others but with different name
@ 2009-09-24 20:16 Nikos Chantziaras
  2009-09-24 20:38 ` Justin
  0 siblings, 1 reply; 8+ messages in thread
From: Nikos Chantziaras @ 2009-09-24 20:16 UTC (permalink / raw
  To: gentoo-devhelp

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?




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-26  5:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-24 20:16 [gentoo-devhelp] Writing ebuilds that replace others but with different name Nikos Chantziaras
2009-09-24 20:38 ` Justin
2009-09-24 21:00   ` [gentoo-devhelp] " Nikos Chantziaras
2009-09-25 13:35     ` Justin
2009-09-25 19:49       ` Sebastián Magrí
2009-09-25 21:11         ` Nikos Chantziaras
2009-09-26  0:00           ` Sebastián Magrí
2009-09-26  5:44         ` Justin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox