Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, kanaka@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/qmtest: qmtest-2.3.ebuild ChangeLog qmtest-2.4.ebuild
Date: Mon, 21 Jan 2008 22:14:20
Message-Id: 20080121221415.GB3868@comet.science.oregonstate.edu
1 On 19:54 Mon 21 Jan , Joel D. Martin (kanaka) wrote:
2 > 1.1 dev-util/qmtest/qmtest-2.4.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild?rev=1.1&content-type=text/plain
6 >
7 > Index: qmtest-2.4.ebuild
8 > ===================================================================
9 > # Copyright 1999-2008 Gentoo Foundation
10 > # Distributed under the terms of the GNU General Public License v2
11 > # $Header: /var/cvsroot/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild,v 1.1 2008/01/21 19:54:35 kanaka Exp $
12 >
13 > inherit eutils
14 > DESCRIPTION="CodeSourcery's test harness system"
15 > HOMEPAGE="http://www.codesourcery.com/qmtest/"
16 > SRC_URI="http://www.codesourcery.com/public/${PN}/${PF}/${PF}.tar.gz"
17 > LICENSE="GPL-2"
18 > SLOT="0"
19 >
20 > KEYWORDS="~amd64 ~x86"
21 > IUSE=""
22 >
23 > DEPEND="dev-lang/python"
24 >
25 > src_compile() {
26 > python setup.py build || die "setup.py build failed"
27 > }
28 >
29 > src_install() {
30 > python setup.py install --root ${D} \
31 > || die "setup.py install failed"
32 >
33 > sed -i "s@${D}@/usr@" ${D}/usr/lib*/python2.4/site-packages/qm/config.py \
34 > || die "Could not adjust install path in config.py"
35 > }
36
37 This looks like it should use distutils.eclass.
38
39 Thanks,
40 Donnie
41 --
42 gentoo-dev@l.g.o mailing list

Replies