summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2004-11-12 15:31:39 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2004-11-12 15:31:39 +0000
commit3b741a0af2368ee2b7bbbbe6b81cf9b626e0952a (patch)
tree908a2af78ad1811e8a2bfdc137d992164e1d92f0 /dev-python/docutils/docutils-0.3.5.ebuild
parentsh KEYWORDS (Manifest recommit) (diff)
downloadgentoo-2-3b741a0af2368ee2b7bbbbe6b81cf9b626e0952a.tar.gz
gentoo-2-3b741a0af2368ee2b7bbbbe6b81cf9b626e0952a.tar.bz2
gentoo-2-3b741a0af2368ee2b7bbbbe6b81cf9b626e0952a.zip
Fixed 0.3.5 to not be so braindead wrt glep (bug 69882)
Diffstat (limited to 'dev-python/docutils/docutils-0.3.5.ebuild')
-rw-r--r--dev-python/docutils/docutils-0.3.5.ebuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/dev-python/docutils/docutils-0.3.5.ebuild b/dev-python/docutils/docutils-0.3.5.ebuild
index e9629a8a441b..5e85ba99d2d2 100644
--- a/dev-python/docutils/docutils-0.3.5.ebuild
+++ b/dev-python/docutils/docutils-0.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.3.5.ebuild,v 1.1 2004/11/01 00:13:09 g2boojum Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.3.5.ebuild,v 1.2 2004/11/12 15:31:39 g2boojum Exp $
inherit distutils eutils
@@ -58,12 +58,15 @@ src_install() {
done
# installing Gentoo GLEP tools. Uses versioned GLEP distribution
- distutils_python_version
- newbin ${GLEP_SRC}/glep.py docutils-glep.py || die "newbin failed"
- insinto /usr/lib/python${PYVER}/site-packages/docutils/readers
- newins ${GLEP_SRC}/glepread.py glep.py || die "newins reader failed"
- insinto /usr/lib/python${PYVER}/site-packages/docutils/transforms
- newins ${GLEP_SRC}/glepstrans.py gleps.py || "newins transform failed"
- insinto /usr/lib/python${PYVER}/site-packages/docutils/writers
- newins ${GLEP_SRC}/glep_htmlwrite.py glep_html.py || die "newins writer failed"
+ if use glep
+ then
+ distutils_python_version
+ newbin ${GLEP_SRC}/glep.py docutils-glep.py || die "newbin failed"
+ insinto /usr/lib/python${PYVER}/site-packages/docutils/readers
+ newins ${GLEP_SRC}/glepread.py glep.py || die "newins reader failed"
+ insinto /usr/lib/python${PYVER}/site-packages/docutils/transforms
+ newins ${GLEP_SRC}/glepstrans.py gleps.py || "newins transform failed"
+ insinto /usr/lib/python${PYVER}/site-packages/docutils/writers
+ newins ${GLEP_SRC}/glep_htmlwrite.py glep_html.py || die "newins writer failed"
+ fi
}