/[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.11 - (hide annotations) (download)
Sat Jul 28 13:04:30 2012 UTC (23 months, 2 weeks ago) by blueness
Branch: MAIN
Changes since 1.10: +2 -2 lines
Keyword ~mips, bug #428356

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 ranger 1.9 # Copyright 1999-2012 Gentoo Foundation
2 djc 1.1 # Distributed under the terms of the GNU General Public License v2
3 blueness 1.11 # $Header: /var/cvsroot/gentoo-x86/dev-python/paramiko/paramiko-1.7.7.1.ebuild,v 1.10 2012/02/13 16:29:11 xarthisius Exp $
4 djc 1.1
5     EAPI="3"
6     PYTHON_DEPEND="2"
7     SUPPORT_PYTHON_ABIS="1"
8     RESTRICT_PYTHON_ABIS="3.* *-jython"
9    
10 hwoarang 1.8 inherit distutils
11 djc 1.1
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 blueness 1.11 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
19 djc 1.1 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 hwoarang 1.8 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py --verbose
28 djc 1.1 }
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