public inbox for gentoo-devhelp@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Volkov <pva@gentoo.org>
To: gentoo-devhelp@lists.gentoo.org
Subject: Re: [gentoo-devhelp] games eclass has no effect with distutils
Date: Thu, 25 Aug 2011 11:25:54 +0400	[thread overview]
Message-ID: <1314257154.21876.16.camel@tablet> (raw)
In-Reply-To: <j2e2mk$hk4$1@dough.gmane.org>

В Втр, 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.




      reply	other threads:[~2011-08-25  7:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 15:35 [gentoo-devhelp] games eclass has no effect with distutils Nikos Chantziaras
2011-08-25  7:25 ` Peter Volkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1314257154.21876.16.camel@tablet \
    --to=pva@gentoo.org \
    --cc=gentoo-devhelp@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox