/[gentoo-x86]/dev-python/paramiko/paramiko-1.7.7.1.ebuild
Gentoo

Contents of /dev-python/paramiko/paramiko-1.7.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sat Sep 7 18:38:00 2013 UTC (11 months, 1 week ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2012 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.7.7.1.ebuild,v 1.12 2012/08/01 19:19:23 ulm Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.* *-jython"
9
10 inherit distutils
11
12 DESCRIPTION="SSH2 protocol library"
13 HOMEPAGE="http://www.lag.net/paramiko/ http://pypi.python.org/pypi/paramiko"
14 SRC_URI="http://www.lag.net/paramiko/download/${P}.tar.gz"
15
16 LICENSE="LGPL-2.1"
17 SLOT="0"
18 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
19 IUSE="doc examples"
20
21 RDEPEND=">=dev-python/pycrypto-2.1"
22 DEPEND="${RDEPEND}
23 dev-python/setuptools"
24
25 src_test() {
26 testing() {
27 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py --verbose
28 }
29 python_execute_function testing
30 }
31
32 src_install() {
33 distutils_src_install
34
35 if use doc; then
36 dohtml -r docs/* || die "dohtml failed"
37 fi
38
39 if use examples; then
40 insinto /usr/share/doc/${PF}
41 doins -r demos || die "doins failed"
42 fi
43 }

  ViewVC Help
Powered by ViewVC 1.1.20