summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-12-16 04:01:48 +0000
committerMike Gilbert <floppym@gentoo.org>2012-12-16 04:01:48 +0000
commitf871f551a4f1135dc629b13e4b0533dbd7f95141 (patch)
treed35869759fe094ca58b3be03a56455fe980cadc0 /dev-python/docutils/docutils-0.9.1-r1.ebuild
parentadded prefix support (bug #443860) (diff)
downloadgentoo-2-f871f551a4f1135dc629b13e4b0533dbd7f95141.tar.gz
gentoo-2-f871f551a4f1135dc629b13e4b0533dbd7f95141.tar.bz2
gentoo-2-f871f551a4f1135dc629b13e4b0533dbd7f95141.zip
Fix installation with USE=-glep. Bug 447410 by Derk W te Bokkel.
(Portage version: 2.2.0_alpha148/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/docutils/docutils-0.9.1-r1.ebuild')
-rw-r--r--dev-python/docutils/docutils-0.9.1-r1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-python/docutils/docutils-0.9.1-r1.ebuild b/dev-python/docutils/docutils-0.9.1-r1.ebuild
index 3c7ce28053a5..a9040fce4103 100644
--- a/dev-python/docutils/docutils-0.9.1-r1.ebuild
+++ b/dev-python/docutils/docutils-0.9.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.9.1-r1.ebuild,v 1.1 2012/12/15 23:02:00 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.9.1-r1.ebuild,v 1.2 2012/12/16 04:01:48 floppym Exp $
EAPI="4"
# python2.5 is not supported by pygments.
@@ -26,9 +26,11 @@ GLEP_SRC="${WORKDIR}/glep-0.4-r1"
python_prepare_all() {
# It's easier to move them around now.
# TODO: add python_newmodule?
- mkdir "${GLEP_SRC}"/{read,trans} || die
- mv "${GLEP_SRC}"/{glepread,read/glep}.py || die
- mv "${GLEP_SRC}"/{glepstrans,trans/gleps}.py || die
+ if use glep; then
+ mkdir "${GLEP_SRC}"/{read,trans} || die
+ mv "${GLEP_SRC}"/{glepread,read/glep}.py || die
+ mv "${GLEP_SRC}"/{glepstrans,trans/gleps}.py || die
+ fi
distutils-r1_python_prepare_all
}