1 |
# Copyright 1999-2015 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/pssh/pssh-2.3.1.ebuild,v 1.2 2015/03/08 20:18:06 xarthisius Exp $ |
4 |
|
5 |
EAPI=5 |
6 |
|
7 |
PYTHON_COMPAT=( python2_7 ) |
8 |
DISTUTILS_SINGLE_IMPL=1 |
9 |
|
10 |
inherit distutils-r1 |
11 |
|
12 |
DESCRIPTION="PSSH provides parallel versions of OpenSSH and related tools" |
13 |
HOMEPAGE="http://code.google.com/p/parallel-ssh/" |
14 |
SRC_URI="http://parallel-ssh.googlecode.com/files/${P}.tar.gz" |
15 |
|
16 |
LICENSE="BSD" |
17 |
SLOT="0" |
18 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux" |
19 |
IUSE="" |
20 |
|
21 |
RDEPEND="net-misc/openssh |
22 |
!net-misc/putty" |
23 |
DEPEND="${RDEPEND} |
24 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
25 |
|
26 |
# Requires ssh access to run. |
27 |
RESTRICT="test" |
28 |
|
29 |
pkg_setup() { |
30 |
python-single-r1_pkg_setup |
31 |
} |
32 |
|
33 |
python_prepare_all() { |
34 |
sed -i -e "s|man/man1'|share/&|g" setup.py || die |
35 |
distutils-r1_python_prepare_all |
36 |
} |