summaryrefslogtreecommitdiff
blob: 76557bbaf9fb7d80ce42574798f0b67479550925 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pbs-python/pbs-python-4.1.0.ebuild,v 1.1 2010/06/09 02:19:25 jsbronder Exp $

EAPI=3
PYTHON_DEPEND="2"
PYTHON_MODNAME="pbs"
inherit distutils

MY_P=${P/-/_}
DESCRIPTION="Python bindings to the Torque C API"
HOMEPAGE="https://subtrac.sara.nl/oss/pbs_python/"
SRC_URI="ftp://ftp.sara.nl/pub/outgoing/${MY_P}.tar.gz"
LICENSE="openpbs"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"
RDEPEND="sys-cluster/torque"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}

src_install() {
	distutils_src_install
	if use examples; then
		insinto /usr/share/doc/${P}	|| die
		doins "${S}"/examples/*		|| die
	fi
}