summaryrefslogtreecommitdiff
blob: d15f1ebbabc153de7f12dfb9752d98f3f613893b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pp/pp-1.4.3.ebuild,v 1.1 2007/05/27 09:15:20 dev-zero Exp $

NEED_PYTHON=2.3

inherit distutils versionator

EX_P=${PN}-$(get_version_component_range 1-2)-examples-1.1

DESCRIPTION="Parallel and distributed programming for Python"
HOMEPAGE="http://www.parallelpython.com/"
SRC_URI="http://www.parallelpython.com/downloads/${PN}/${P}.tar.bz2
	examples? ( http://www.parallelpython.com/downloads/${PN}/${EX_P}.tar.bz2 )"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE="examples"

DEPEND=""
RDEPEND=""

src_install() {
	distutils_src_install
	if use examples; then
		insinto /usr/share/doc/${PF}
		doins -r "${WORKDIR}/examples"
	fi
}