summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2006-05-14 16:08:50 +0000
committerMarien Zwart <marienz@gentoo.org>2006-05-14 16:08:50 +0000
commit815bc3fbaa78592c64241a9254339665a7d56eb2 (patch)
tree7ec346e993d041d374d58c3bded0895d6c54ea5e /dev-python
parentAdded ~hppa (diff)
downloadgentoo-2-815bc3fbaa78592c64241a9254339665a7d56eb2.tar.gz
gentoo-2-815bc3fbaa78592c64241a9254339665a7d56eb2.tar.bz2
gentoo-2-815bc3fbaa78592c64241a9254339665a7d56eb2.zip
Version bump.
(Portage version: 2.1_rc1)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/paramiko/files/digest-paramiko-1.63
-rw-r--r--dev-python/paramiko/files/paramiko-1.6-no-setuptools.patch21
-rw-r--r--dev-python/paramiko/paramiko-1.6.ebuild36
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/paramiko/files/digest-paramiko-1.6 b/dev-python/paramiko/files/digest-paramiko-1.6
new file mode 100644
index 000000000000..1514d361af4e
--- /dev/null
+++ b/dev-python/paramiko/files/digest-paramiko-1.6
@@ -0,0 +1,3 @@
+MD5 07c69af81962243907133ed02741b0c6 paramiko-1.6.zip 627264
+RMD160 6d5f19dd792951ad007befe6ba007e9c253ccca6 paramiko-1.6.zip 627264
+SHA256 7158ab5f0860f61a44f9b934d3b1a956b11c5e46956b781f9ca582f948244100 paramiko-1.6.zip 627264
diff --git a/dev-python/paramiko/files/paramiko-1.6-no-setuptools.patch b/dev-python/paramiko/files/paramiko-1.6-no-setuptools.patch
new file mode 100644
index 000000000000..6d4c18a5549f
--- /dev/null
+++ b/dev-python/paramiko/files/paramiko-1.6-no-setuptools.patch
@@ -0,0 +1,21 @@
+=== modified file 'setup.py'
+--- setup.py
++++ setup.py
+@@ -32,14 +32,8 @@
+ #import ez_setup
+ #ez_setup.use_setuptools()
+
+-try:
+- from setuptools import setup
+- kw = {
+- 'install_requires': 'pycrypto >= 1.9',
+- }
+-except ImportError:
+- from distutils.core import setup
+- kw = {}
++from distutils.core import setup
++kw = {}
+
+ setup(name = "paramiko",
+ version = "1.6",
+
diff --git a/dev-python/paramiko/paramiko-1.6.ebuild b/dev-python/paramiko/paramiko-1.6.ebuild
new file mode 100644
index 000000000000..eb8a4552023a
--- /dev/null
+++ b/dev-python/paramiko/paramiko-1.6.ebuild
@@ -0,0 +1,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.6.ebuild,v 1.1 2006/05/14 16:08:50 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 ~x86-fbsd"
+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"
+}