diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2008-08-23 15:58:32 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2008-08-23 15:58:32 +0000 |
commit | c910200b6a87b402c3d3f5a7966c938aae6ce934 (patch) | |
tree | 155d63da11f8388054a4ebe4243a852e140e1d67 /dev-python/webtest | |
parent | Simplify the ebuild: Use Makefile.PL from debian. (diff) | |
download | gentoo-2-c910200b6a87b402c3d3f5a7966c938aae6ce934.tar.gz gentoo-2-c910200b6a87b402c3d3f5a7966c938aae6ce934.tar.bz2 gentoo-2-c910200b6a87b402c3d3f5a7966c938aae6ce934.zip |
Added examples
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r4 i686)
Diffstat (limited to 'dev-python/webtest')
-rw-r--r-- | dev-python/webtest/webtest-1.0.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/dev-python/webtest/webtest-1.0.ebuild b/dev-python/webtest/webtest-1.0.ebuild index a812bad243b2..2f2fa5af6266 100644 --- a/dev-python/webtest/webtest-1.0.ebuild +++ b/dev-python/webtest/webtest-1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/webtest-1.0.ebuild,v 1.2 2008/07/02 13:19:29 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/webtest-1.0.ebuild,v 1.3 2008/08/23 15:58:32 pythonhead Exp $ inherit distutils @@ -13,8 +13,18 @@ SRC_URI="http://pypi.python.org/packages/source/W/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" KEYWORDS="~x86" SLOT="0" -IUSE="" +IUSE="doc examples" S="${WORKDIR}/${MY_P}" DEPEND="dev-python/setuptools" RDEPEND="|| ( >=dev-python/wsgiref-0.1.2 >=dev-lang/python-2.5.2-r4 ) >=dev-python/webob-0.9.2" + +src_install() { + distutils_src_install + + use doc && dodoc docs/index.txt + if use examples; then + insinto /usr/share/doc/${PF} + doins -r docs/chipy-presentation + fi +} |