blob: b27c91df278f3dc4dc1d6d9f436cf5397334c634 (
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.2 2007/11/02 22:36:39 drac 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="~amd64 ~x86"
IUSE="examples"
DEPEND=""
RDEPEND=""
src_install() {
distutils_src_install
if use examples; then
insinto /usr/share/doc/${PF}
doins -r "${WORKDIR}/examples"
fi
}
|