summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-07 02:31:42 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-07 02:31:42 +0000
commit05489a455a37b289e084cc4d16089176b09a0d9c (patch)
treea3cdbc5079a8e95bce144db6b523bb5a4357d36a /dev-python/httplib2
parentSynced ebuild from the kde-testing overlay - thanks to Maciej Mrozowski (reav... (diff)
downloadgentoo-2-05489a455a37b289e084cc4d16089176b09a0d9c.tar.gz
gentoo-2-05489a455a37b289e084cc4d16089176b09a0d9c.tar.bz2
gentoo-2-05489a455a37b289e084cc4d16089176b09a0d9c.zip
Simplify ebuild.
(Portage version: 14208-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/httplib2')
-rw-r--r--dev-python/httplib2/httplib2-0.5.0.ebuild19
1 files changed, 4 insertions, 15 deletions
diff --git a/dev-python/httplib2/httplib2-0.5.0.ebuild b/dev-python/httplib2/httplib2-0.5.0.ebuild
index e5a707636683..4d1c8d40c16e 100644
--- a/dev-python/httplib2/httplib2-0.5.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/httplib2/httplib2-0.5.0.ebuild,v 1.1 2009/08/29 22:05:17 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/httplib2/httplib2-0.5.0.ebuild,v 1.2 2009/09/07 02:31:42 arfrever Exp $
EAPI="2"
@@ -22,9 +22,10 @@ IUSE=""
DEPEND=""
RDEPEND=""
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+
src_prepare() {
distutils_src_prepare
- python_copy_sources
local dir
for dir in "${WORKDIR}/${P}-3"*; do
@@ -35,20 +36,8 @@ src_prepare() {
done
}
-src_compile() {
- building() {
- echo "$(PYTHON)" setup.py build
- "$(PYTHON)" setup.py build
- }
- python_execute_function -s building
-}
-
src_install() {
- installation() {
- "$(PYTHON)" setup.py install --root="${D}" --no-compile
- }
- python_execute_function -s installation
-
+ distutils_src_install
dodoc README
newdoc "${WORKDIR}/${PN}-python3-${PV}/README" README-python3
}