diff options
Diffstat (limited to 'dev-python/docutils/docutils-0.3.5.ebuild')
-rw-r--r-- | dev-python/docutils/docutils-0.3.5.ebuild | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/dev-python/docutils/docutils-0.3.5.ebuild b/dev-python/docutils/docutils-0.3.5.ebuild index e9629a8a441b..b5e94f856068 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 +# Copyright 1999-2005 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.1.1.1 2005/11/30 10:10:25 chriswhite Exp $ inherit distutils eutils @@ -11,10 +11,10 @@ SRC_URI="mirror://sourceforge/docutils/${P}.tar.gz LICENSE="public-domain PYTHON BSD" SLOT="0" -KEYWORDS="~x86 ~ppc ~alpha" +KEYWORDS="alpha ~mips ppc ppc-macos ~sparc x86" IUSE="glep" -DEPEND=">=dev-lang/python-2.1" +DEPEND="<dev-lang/python-2.4" GLEP_SRC=${WORKDIR}/glep-${PV} @@ -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 } |