~gagern/bzr-gentoo-overlay/bump2

« back to all changes in this revision

Viewing changes to dev-python/paramiko/paramiko-1.6.3.ebuild

  • Committer: Mark Lee
  • Date: 2007-03-21 07:05:26 UTC
  • Revision ID: bzr@lazymalevolence.com-20070321070526-fgv48szg38px4it3
import paramiko from the official tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 1999-2007 Gentoo Foundation
 
2
# Distributed under the terms of the GNU General Public License v2
 
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/paramiko/paramiko-1.6.3.ebuild,v 1.5 2007/03/12 13:36:48 gustavoz Exp $
 
4
 
 
5
inherit distutils eutils
 
6
 
 
7
DESCRIPTION="SSH2 implementation for Python"
 
8
HOMEPAGE="http://www.lag.net/paramiko/"
 
9
SRC_URI="http://www.lag.net/paramiko/download/${P}.zip"
 
10
 
 
11
LICENSE="LGPL-2.1"
 
12
SLOT="0"
 
13
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc sparc x86 ~x86-fbsd"
 
14
IUSE=""
 
15
 
 
16
RDEPEND=">=dev-python/pycrypto-1.9_alpha6"
 
17
DEPEND="${RDEPEND}
 
18
        app-arch/unzip"
 
19
 
 
20
 
 
21
src_unpack() {
 
22
        unpack ${A}
 
23
        cd "${S}"
 
24
        epatch "${FILESDIR}/${P}-no-setuptools.patch"
 
25
}
 
26
 
 
27
src_install() {
 
28
        distutils_src_install
 
29
        dohtml -r docs/*
 
30
        insinto /usr/share/doc/${PF}
 
31
        doins -r demos
 
32
}
 
33
 
 
34
src_test() {
 
35
        "${python}" test.py || die "tests failed"
 
36
}