summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-03-29 20:00:00 +0000
committerMichał Górny <mgorny@gentoo.org>2013-03-29 20:00:00 +0000
commit05155321f27e75b2d1c5744fad10cac3dd87babf (patch)
tree87335ca5045ddd12f2ae0f62b3439087aad2cf47 /dev-python/logbook/logbook-0.4.1.ebuild
parentClean up old revision. (diff)
downloadgentoo-2-05155321f27e75b2d1c5744fad10cac3dd87babf.tar.gz
gentoo-2-05155321f27e75b2d1c5744fad10cac3dd87babf.tar.bz2
gentoo-2-05155321f27e75b2d1c5744fad10cac3dd87babf.zip
Fix DOCS install, bug #462330. Improve use of distutils-r1.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'dev-python/logbook/logbook-0.4.1.ebuild')
-rw-r--r--dev-python/logbook/logbook-0.4.1.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/dev-python/logbook/logbook-0.4.1.ebuild b/dev-python/logbook/logbook-0.4.1.ebuild
index 5809a3534ea7..a7773874b04b 100644
--- a/dev-python/logbook/logbook-0.4.1.ebuild
+++ b/dev-python/logbook/logbook-0.4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/logbook/logbook-0.4.1.ebuild,v 1.1 2013/02/21 15:05:03 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/logbook/logbook-0.4.1.ebuild,v 1.2 2013/03/29 20:00:00 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
@@ -19,13 +19,16 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DOCS="CHANGES README"
+DOCS=( CHANGES README )
S=${WORKDIR}/${MY_P}
-src_prepare() {
- epatch "${FILESDIR}"/${P}-testspy3.patch
- distutils-r1_src_prepare
+python_prepare_all() {
+ local PATCHES=(
+ "${FILESDIR}"/${P}-testspy3.patch
+ )
+
+ distutils-r1_python_prepare_all
}
python_test() {