Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-devhelp@g.o
From: Peter Volkov <pva@g.o>
Subject: Re: games eclass has no effect with distutils
Date: Thu, 25 Aug 2011 11:25:54 +0400
В Втр, 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.



References:
games eclass has no effect with distutils
-- Nikos Chantziaras
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
games eclass has no effect with distutils
Next by thread:
How to install MIME types?
Previous by date:
How to install MIME types?
Next by date:
Re: How to install MIME types?


Updated May 28, 2012

Summary: Archive of the gentoo-devhelp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.