public inbox for gentoo-devhelp@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-devhelp] games eclass has no effect with distutils
@ 2011-08-16 15:35 Nikos Chantziaras
  2011-08-25  7:25 ` Peter Volkov
  0 siblings, 1 reply; 2+ messages in thread
From: Nikos Chantziaras @ 2011-08-16 15:35 UTC (permalink / raw
  To: gentoo-devhelp

My inherit line is:

   inherit eutils distutils games

I only have a src_install() function defined:

   src_install() {
       distutils_src_install
       prepgamesdirs
   }

However, the executables end up in /usr/bin instead of /usr/games/bin 
and their permissions are wrong (no games group.)

How is this supposed to work?




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

* Re: [gentoo-devhelp] games eclass has no effect with distutils
  2011-08-16 15:35 [gentoo-devhelp] games eclass has no effect with distutils Nikos Chantziaras
@ 2011-08-25  7:25 ` Peter Volkov
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Volkov @ 2011-08-25  7:25 UTC (permalink / raw
  To: gentoo-devhelp

В Втр, 16/08/2011 в 18:35 +0300, Nikos Chantziaras пишет:
> My inherit line is:
> 
>    inherit eutils distutils games
> 
> I only have a src_install() function defined:
> 
>    src_install() {
>        distutils_src_install
>        prepgamesdirs
>    }
> 
> However, the executables end up in /usr/bin instead of /usr/games/bin 
> and their permissions are wrong (no games group.)
> 
> How is this supposed to work?

It should work, but looks like for this build system you'll have to
customize path for binary files installation manually. Just

cd /usr/portage

and run

find games-* -name '*.ebuild' -exec egrep -H '^inherit.*(games|distutils)+ .*(games|distutils)+$' '{}' \;

to see some ideas how to write distutils/games based ebuilds. E.g.
games-board/pychess/pychess-0.10.ebuild.

--
Peter.




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

end of thread, other threads:[~2011-08-25  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-16 15:35 [gentoo-devhelp] games eclass has no effect with distutils Nikos Chantziaras
2011-08-25  7:25 ` Peter Volkov

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