summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-26 05:01:07 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-26 05:01:07 +0000
commitab06eb5d78b522bc9dfaf91ad9f5c111b7eb36ce (patch)
treeef71d7acd24a764f10d41a33f357d3dd35150fda /dev-util/qmtest
parentDrop to ~mips due to unstable deps (diff)
downloadgentoo-2-ab06eb5d78b522bc9dfaf91ad9f5c111b7eb36ce.tar.gz
gentoo-2-ab06eb5d78b522bc9dfaf91ad9f5c111b7eb36ce.tar.bz2
gentoo-2-ab06eb5d78b522bc9dfaf91ad9f5c111b7eb36ce.zip
Use distutils eclass.
(Portage version: 2.2_pre5)
Diffstat (limited to 'dev-util/qmtest')
-rw-r--r--dev-util/qmtest/ChangeLog5
-rw-r--r--dev-util/qmtest/qmtest-2.4.ebuild18
2 files changed, 10 insertions, 13 deletions
diff --git a/dev-util/qmtest/ChangeLog b/dev-util/qmtest/ChangeLog
index 3f96187f2ac0..cb521664e48a 100644
--- a/dev-util/qmtest/ChangeLog
+++ b/dev-util/qmtest/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/qmtest
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/qmtest/ChangeLog,v 1.3 2008/01/21 19:54:35 kanaka Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/qmtest/ChangeLog,v 1.4 2008/03/26 05:01:07 vapier Exp $
+
+ 26 Mar 2008; Mike Frysinger <vapier@gentoo.org> qmtest-2.4.ebuild:
+ Use distutils eclass.
*qmtest-2.4 (21 Jan 2008)
diff --git a/dev-util/qmtest/qmtest-2.4.ebuild b/dev-util/qmtest/qmtest-2.4.ebuild
index 9b7ad283e974..725cb312d716 100644
--- a/dev-util/qmtest/qmtest-2.4.ebuild
+++ b/dev-util/qmtest/qmtest-2.4.ebuild
@@ -1,27 +1,21 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild,v 1.2 2008/03/26 05:01:07 vapier Exp $
+
+inherit distutils
-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"
+ distutils_src_install
+ find "${D}" -name config.py -print0 | xargs -0 sed -i "s:${D}:/usr:"
}