summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-10-27 10:09:57 +0000
committerAli Polatel <hawking@gentoo.org>2008-10-27 10:09:57 +0000
commitcb6773875c480afc8e246c953e992a34cbc27514 (patch)
tree2663f43fcb3b0c35092e7c889e822611a38e6788 /dev-python/piddle/piddle-1.0.15.ebuild
parentUse python_need_rebuild. (diff)
downloadhistorical-cb6773875c480afc8e246c953e992a34cbc27514.tar.gz
historical-cb6773875c480afc8e246c953e992a34cbc27514.tar.bz2
historical-cb6773875c480afc8e246c953e992a34cbc27514.zip
Use distutils.
Package-Manager: portage--svn/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'dev-python/piddle/piddle-1.0.15.ebuild')
-rw-r--r--dev-python/piddle/piddle-1.0.15.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/dev-python/piddle/piddle-1.0.15.ebuild b/dev-python/piddle/piddle-1.0.15.ebuild
index 67d063b12f99..1a8e9e27ed56 100644
--- a/dev-python/piddle/piddle-1.0.15.ebuild
+++ b/dev-python/piddle/piddle-1.0.15.ebuild
@@ -1,6 +1,9 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/piddle/piddle-1.0.15.ebuild,v 1.6 2006/07/12 15:48:11 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/piddle/piddle-1.0.15.ebuild,v 1.7 2008/10/27 10:09:57 hawking Exp $
+
+NEED_PYTHON="1.5.2"
+inherit distutils
DESCRIPTION="Cross-media, cross-platform 2D graphics package"
HOMEPAGE="http://piddle.sourceforge.net/"
@@ -9,14 +12,8 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="ia64 x86"
IUSE=""
-DEPEND=">=dev-lang/python-1.5.2"
-
-src_compile() {
- python setup.py build || die
-}
src_install() {
- python setup.py install --root=${D} --prefix=/usr || die
- dodoc README.txt
+ distutils_src_install
dohtml -r docs/*
}