[gentoo-dev] [PATCH 1/2] Set default EGIT_SOURCEDIR to point to standard ${WORKDIR}/${P}. It allows ${S} overriding in user's code as other eclasses do:

2012-11-27 Thread Sergei Trofimovich
Before the patch I had to move subdir(not very reliable): EGIT_REPO_URI=git://github.com/UU-ComputerScience/uhc.git src_prepare() { mv EHC/* ./ || die } After the patch i can define it the usual way: EGIT_REPO_URI=git://github.com/UU-ComputerScience/uhc.git

Re: [gentoo-dev] [PATCH 1/2] Set default EGIT_SOURCEDIR to point to standard ${WORKDIR}/${P}. It allows ${S} overriding in user's code as other eclasses do:

2012-11-27 Thread Davide Pesavento
On Tue, Nov 27, 2012 at 11:22 AM, Sergei Trofimovich sly...@gentoo.org wrote: Before the patch I had to move subdir(not very reliable): EGIT_REPO_URI=git://github.com/UU-ComputerScience/uhc.git src_prepare() { mv EHC/* ./ || die } After the patch i can define it the

Re: [gentoo-dev] [PATCH 1/2] Set default EGIT_SOURCEDIR to point to standard ${WORKDIR}/${P}. It allows ${S} overriding in user's code as other eclasses do:

2012-11-27 Thread Tomáš Chvátal
Why not use tools already in the eclass? The egit_sourcedir is exactly for this... also you can just define s after the inherit... Dne 27.11.2012 20:27 Sergei Trofimovich sly...@gentoo.org napsal(a): Before the patch I had to move subdir(not very reliable):

Re: [gentoo-dev] [PATCH 1/2] Set default EGIT_SOURCEDIR to point to standard ${WORKDIR}/${P}. It allows ${S} overriding in user's code as other eclasses do:

2012-11-27 Thread Sergei Trofimovich
On Tue, 27 Nov 2012 12:18:51 -0800 Davide Pesavento p...@gentoo.org wrote: On Tue, Nov 27, 2012 at 11:22 AM, Sergei Trofimovich sly...@gentoo.org wrote: Before the patch I had to move subdir(not very reliable): EGIT_REPO_URI=git://github.com/UU-ComputerScience/uhc.git