* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/qmtest: qmtest-2.3.ebuild ChangeLog qmtest-2.4.ebuild
[not found] <E1JH2j5-0005uf-LQ@stork.gentoo.org>
@ 2008-01-21 22:14 ` Donnie Berkholz
2008-01-22 12:17 ` Tiziano Müller
0 siblings, 1 reply; 2+ messages in thread
From: Donnie Berkholz @ 2008-01-21 22:14 UTC (permalink / raw
To: gentoo-dev, kanaka
On 19:54 Mon 21 Jan , Joel D. Martin (kanaka) wrote:
> 1.1 dev-util/qmtest/qmtest-2.4.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild?rev=1.1&content-type=text/plain
>
> Index: qmtest-2.4.ebuild
> ===================================================================
> # Copyright 1999-2008 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header: /var/cvsroot/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild,v 1.1 2008/01/21 19:54:35 kanaka Exp $
>
> inherit eutils
> DESCRIPTION="CodeSourcery's test harness system"
> HOMEPAGE="http://www.codesourcery.com/qmtest/"
> SRC_URI="http://www.codesourcery.com/public/${PN}/${PF}/${PF}.tar.gz"
> LICENSE="GPL-2"
> SLOT="0"
>
> KEYWORDS="~amd64 ~x86"
> IUSE=""
>
> DEPEND="dev-lang/python"
>
> src_compile() {
> python setup.py build || die "setup.py build failed"
> }
>
> src_install() {
> python setup.py install --root ${D} \
> || die "setup.py install failed"
>
> sed -i "s@${D}@/usr@" ${D}/usr/lib*/python2.4/site-packages/qm/config.py \
> || die "Could not adjust install path in config.py"
> }
This looks like it should use distutils.eclass.
Thanks,
Donnie
--
gentoo-dev@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/qmtest: qmtest-2.3.ebuild ChangeLog qmtest-2.4.ebuild
2008-01-21 22:14 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/qmtest: qmtest-2.3.ebuild ChangeLog qmtest-2.4.ebuild Donnie Berkholz
@ 2008-01-22 12:17 ` Tiziano Müller
0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2008-01-22 12:17 UTC (permalink / raw
To: gentoo-dev
Donnie Berkholz wrote:
> On 19:54 Mon 21 Jan , Joel D. Martin (kanaka) wrote:
>> 1.1 dev-util/qmtest/qmtest-2.4.ebuild
>>
>> file :
>>
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild?rev=1.1&view=markup
>> plain:
>>
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild?rev=1.1&content-type=text/plain
>>
>> Index: qmtest-2.4.ebuild
>> ===================================================================
>> # Copyright 1999-2008 Gentoo Foundation
>> # Distributed under the terms of the GNU General Public License v2
>> # $Header: /var/cvsroot/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild,v
>> # 1.1 2008/01/21 19:54:35 kanaka Exp $
>>
>> inherit eutils
>> DESCRIPTION="CodeSourcery's test harness system"
>> HOMEPAGE="http://www.codesourcery.com/qmtest/"
>> SRC_URI="http://www.codesourcery.com/public/${PN}/${PF}/${PF}.tar.gz"
>> LICENSE="GPL-2"
>> SLOT="0"
>>
>> KEYWORDS="~amd64 ~x86"
>> IUSE=""
>>
>> DEPEND="dev-lang/python"
>>
>> src_compile() {
>> python setup.py build || die "setup.py build failed"
>> }
>>
>> src_install() {
>> python setup.py install --root ${D} \
>> || die "setup.py install failed"
>>
>> sed -i "s@${D}@/usr@" ${D}/usr/lib*/python2.4/site-packages/qm/config.py
>> \ || die "Could not adjust install path in config.py"
>> }
>
> This looks like it should use distutils.eclass.
And it will fail with python-2.5. You should definitely use the
distutils.eclass which also handles the byte-compilation/-cleanup.
Please also implement a src_test to run the provided tests. If unsure on how
to do that correctly, check other python ebuilds or join #gentoo-python.
--
gentoo-dev@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-22 12:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1JH2j5-0005uf-LQ@stork.gentoo.org>
2008-01-21 22:14 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/qmtest: qmtest-2.3.ebuild ChangeLog qmtest-2.4.ebuild Donnie Berkholz
2008-01-22 12:17 ` Tiziano Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox