blob: ea848442eb6986c83bd29a07926459adf2618fc6 (
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
31
32
33
34
35
36
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/paramiko/paramiko-1.5.4-r1.ebuild,v 1.1 2006/04/29 16:59:11 marienz Exp $
inherit distutils eutils
DESCRIPTION="SSH2 implementation for Python"
HOMEPAGE="http://www.lag.net/paramiko/"
SRC_URI="http://www.lag.net/paramiko/download/${P}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
IUSE=""
RDEPEND=">=dev-python/pycrypto-1.9_alpha6"
DEPEND="${RDEPEND}
app-arch/unzip"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-no-setuptools.patch"
}
src_install() {
distutils_src_install
dohtml -r docs/*
insinto /usr/share/doc/${PF}
doins -r demos
}
src_test() {
"${python}" test.py || die "tests failed"
}
|