summaryrefslogtreecommitdiff
path: root/dev-python/paramiko
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/paramiko
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/paramiko')
-rw-r--r--dev-python/paramiko/Manifest15
-rw-r--r--dev-python/paramiko/files/paramiko-1.16.0-install_requires.patch18
-rw-r--r--dev-python/paramiko/metadata.xml28
-rw-r--r--dev-python/paramiko/paramiko-1.16.0.ebuild43
-rw-r--r--dev-python/paramiko/paramiko-2.1.2.ebuild42
-rw-r--r--dev-python/paramiko/paramiko-2.2.1.ebuild45
-rw-r--r--dev-python/paramiko/paramiko-2.3.0.ebuild52
-rw-r--r--dev-python/paramiko/paramiko-2.3.1.ebuild52
-rw-r--r--dev-python/paramiko/paramiko-9999.ebuild40
9 files changed, 335 insertions, 0 deletions
diff --git a/dev-python/paramiko/Manifest b/dev-python/paramiko/Manifest
new file mode 100644
index 000000000000..6ee07e5e3ce2
--- /dev/null
+++ b/dev-python/paramiko/Manifest
@@ -0,0 +1,15 @@
+AUX paramiko-1.16.0-install_requires.patch 438 SHA256 4261783008214f57c620d5a6661c0a61842543558ac43c0ecff4539009468631 SHA512 ace0be9103050e397c584bd42077cbdd10296b0bd3fbf084dbd3242e3451d87c7cadb38d66bfebc128bce45eb1f1465f716c5004e586fd9f82a84a67002344a9 WHIRLPOOL a204d894794671bac9243ec936649b750a442a61ef5195a8cba937ea327b8d8b72da58e6455477b8b30a9efb361fca33de1ccccc39262118a0446173916f9484
+DIST paramiko-1.16.0.tar.gz 1335094 SHA256 3297ebd3cd072f573772f7c7426939a443c62c458d54bb632ff30fd6ecf96892 SHA512 d75ed591c12898bab7d3e64b7281c9054ad49d00b6dba9e51826cca43ce30ae7c089ead0c3396f7542c2635183637e00a16f0b3d57360c0f65ec93d081489962 WHIRLPOOL 10053403a526e11d2e300cfccb8bb95889ee4424621853f8b20f42257c71fdb01aba6358c3fd9dd3ede2aa8d7291affac56582abbb3d9888dc1c217d3757c3f3
+DIST paramiko-2.1.2.tar.gz 1196746 SHA256 5fae49bed35e2e3d45c4f7b0db2d38b9ca626312d91119b3991d0ecf8125e310 SHA512 465c5381b1b0a472d2ad8e690f0916a5f51713880486c7b94cadcf85ea0a52569e18337ccfee5440869e4a0c76bd2b1bc15c414128c07326b40ecd36ea021466 WHIRLPOOL 39014f4ab316ccf13ce336a594befd00c68dd3eb371f9e29592ec32ee1afcc91ae9307b2c9ae4227569fbc5d5d2c639532cce4552780d4e35743cd5c834a28a3
+DIST paramiko-2.2.1.tar.gz 1205818 SHA256 ff94ae65379914ec3c960de731381f49092057b6dd1d24d18842ead5a2eb2277 SHA512 6aa2cce301f32c15d66e2137bc8a5c10ea4a667c599b24047a1e176b10636fe3abd28c7b2974befdde432a86c924acceace056c0572ea3006d3e4a8160b725c3 WHIRLPOOL 90f7d92c2d19343ab4f1ce78284458892af332197192f9368d862aa8d759fdbf37faf14c83f5ffacad4b7228be697bf011bf11e23800d49c5b58eaf149d3e9ff
+DIST paramiko-2.3.0.tar.gz 279279 SHA256 4c4bb490dc861c7f5e0b354c0cb7d51fcbef92fa6a7f3c855020e9bf2ca721fb SHA512 a7935b76805a938e389fcf38beca0eb653cc1bc370ed7869726361d5758235d282e747c42582781c122f7c8e4299e61292c1ac96dc3921d44aedaf8a699c1ebc WHIRLPOOL 335f7c127bf14d595c652b548ab0c10b263716d20099d7a1b5b6143e95d036a9fb8c85713e7d7131cfdff00dd2fdb6d620945fd70493bc1748279db3c8a9713e
+DIST paramiko-2.3.1.tar.gz 282553 SHA256 3b50a5a2ce206cb540c27ce83245f565d0139104ee83af33f695db944c926166 SHA512 b63a177f1f03937d5650d6f2a3ca4c00e0c3ffb0080e5e5a8141aab435c3ad415f5af8c61cb2894d176544b854ff26ee510eaa41081b452dfa6213cdc0566665 WHIRLPOOL e86c29bf83554a54b7e2fbc4c45afac0da17c50769c230c8c9914f6bee472a8541f889dd8b7d63666a6ea45b90de44fbda34dd6764036c1c82643835624ce2cf
+EBUILD paramiko-1.16.0.ebuild 1194 SHA256 e76943c440446c92f47b001b40b19e8a7e47f8419aa933d305e35e20ac60ecb2 SHA512 98dc8c3ee704b82e0f5d9ee05f4f46ef3acf1078ca9ade31e7d19e0f3a14390b299ffd503f4ce10c19e0cfe2f7cc35e22a89533494333ae7cc46d7b8b6efb511 WHIRLPOOL da2941de33af5b1ec7b4a03194773be77f0a57d6f6e0f5ce0a11cdfdf503ecfa8690ca2b08583958dced7497dc44a37d4c71b427ba186a12d2bbc1b6b1f29b68
+EBUILD paramiko-2.1.2.ebuild 1141 SHA256 d81888cda65751c080c2d82d02533607ffbabbba2c9638e5d7807c804c843ef6 SHA512 db85d4e8c14a284c8f82c58a805362fb85c0bc15da075dd86e456ed4e439b35cee278574de5c8ef0496685c1d769dd103e4772f82bcecd2a8d7c691d5416101d WHIRLPOOL 31975aaf2f73f3f8fd308862ff4a355713e4d7fe3a6f191131f256aacbbcc45123cf236c4861f4a2737cb82b710c19c4c3e6e240b8ec8fe9fac7cfa5c818cb56
+EBUILD paramiko-2.2.1.ebuild 1078 SHA256 af549d636905e905859b4affee07ef2ede795fa22ebd56c84ccdf7c78e4dbcba SHA512 8b4ca3e950fdf74e942d0f942c68a37d630612c79e90d48deff64e56091c7a918c740a3fa72a34d757eaa1ac853bd1e110b9d52b4cb8f95a9fa2cbdd2f05b684 WHIRLPOOL eb371b3d1b9ddc557585151cb5de24a85faa8446237e2e223b987218a62b0a17b55bae0b69045e0b077f59eb6b5b8464f604a127e4fb1738bf33dd1d727106a2
+EBUILD paramiko-2.3.0.ebuild 1333 SHA256 e691475539b8e31f4df3f2417773b20e85f1d5044307ed0e667f9111844f1cfb SHA512 6b1e269c54e59c653fdcb42a62e3d4f3631186d6efdfab6c807acbc5d3d8c969971a5a53b88aa154d96d6488d9edc85ae33bb65fb4cc192258d92091464625be WHIRLPOOL e235fdb75d4b84b12c00a07bc895327e083e001247f393f591a20e2f36c07d402e6d06b9a3ad7bbd6dc188c7b3d28141f536674c9782ea88e1afaf02b4c775f4
+EBUILD paramiko-2.3.1.ebuild 1333 SHA256 e691475539b8e31f4df3f2417773b20e85f1d5044307ed0e667f9111844f1cfb SHA512 6b1e269c54e59c653fdcb42a62e3d4f3631186d6efdfab6c807acbc5d3d8c969971a5a53b88aa154d96d6488d9edc85ae33bb65fb4cc192258d92091464625be WHIRLPOOL e235fdb75d4b84b12c00a07bc895327e083e001247f393f591a20e2f36c07d402e6d06b9a3ad7bbd6dc188c7b3d28141f536674c9782ea88e1afaf02b4c775f4
+EBUILD paramiko-9999.ebuild 973 SHA256 9b6c3f95d71fa69496e918dbbb39fd2f149d133c61c8fb47fe974677b13d0e8c SHA512 7cfa47309ea9696805adf419c835fcdcd45e1b4c1f8b4d2c7570eb35245060c411c84ec7db7f86486b84b2ad430f4549eb6dc171553af308d8c445784df54daa WHIRLPOOL 02340aa4b1dbf9dfbb7d5eeffa5a2d60b827fb77cc598bdc53db6a5ed0be41a8d94eecb1aea7d66c19366f496183b3bfada6dc33bf58464e13370705348e5624
+MISC ChangeLog 5906 SHA256 d3fa76a6ce3a115817102cbfc6a7cdf373296f2236e4f1c59f17ccac700dc737 SHA512 19047d8ae22ca28dc3ecc1d94790413cb1ad8fdc572fd88ffeca7ad24018f76fe4174a59a534344822b9182191b0ec305dc3743e29b9773131678a3b69445ce1 WHIRLPOOL c9a995338929d404a3f339133a03fccb96cd4c8a64d652adfc927880f64ebc9fd9c06bfacfacbc10f2f35dacfd2bf03fe483fefab7060cbf759898be268e744b
+MISC ChangeLog-2015 16931 SHA256 bc7e1465ebb99e7cea4ac81cf530b2e7708302c1bca36da6152b717684729603 SHA512 27241d73c6ef3361b0a820749e8c28f14a1633f8ee856c4f4d6ad800efd36dcf260654927a5f4befafeffc828d13b741277981d43373a194fddc98d3b3f5a68d WHIRLPOOL 3985e20db84c410964eba18c23ac5bc52d585153da5362e7a2193f56bcf5ffc7b5a51b1747d1963779f832cfbfc6a32dbd4147f23d8068dda39aebd549be0836
+MISC metadata.xml 1236 SHA256 552cfc9d54ec5a51dd3335c2a71eed34528f6b225dc2ed4337427bbdbca7a6da SHA512 5cffe7297feb05b75be333fac0259655f6992baaa04248ccdb23f82790a0a807ecf328357207507a3b35944b7062d8a1aecb2daf5353d733646bb58d7a151529 WHIRLPOOL f189e094c2b8bfd50e9d96474d0d0e718b7b3c140b0084d1cc44c087038dd2d29fdd46fc592c821bb92c6320df074c47ea5a1734ffd6aa2818b53e9e00414f7b
diff --git a/dev-python/paramiko/files/paramiko-1.16.0-install_requires.patch b/dev-python/paramiko/files/paramiko-1.16.0-install_requires.patch
new file mode 100644
index 000000000000..fde5e11b19e5
--- /dev/null
+++ b/dev-python/paramiko/files/paramiko-1.16.0-install_requires.patch
@@ -0,0 +1,18 @@
+ setup.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 629c28f..e987dc6 100644
+--- a/setup.py
++++ b/setup.py
+@@ -41,8 +41,8 @@ try:
+ from setuptools import setup
+ kw = {
+ 'install_requires': [
+- 'pycrypto >= 2.1, != 2.4',
+- 'ecdsa >= 0.11',
++ 'pycrypto >=2.1,!=2.4',
++ 'ecdsa >=0.11',
+ ],
+ }
+ except ImportError:
diff --git a/dev-python/paramiko/metadata.xml b/dev-python/paramiko/metadata.xml
new file mode 100644
index 000000000000..054a7be7a59b
--- /dev/null
+++ b/dev-python/paramiko/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alicef@gentoo.org</email>
+ <name>Alice Ferrazzi</name>
+ </maintainer>
+ <longdescription>
+This is a library for making SSH2 connections (client or server).
+Emphasis is on using SSH2 as an alternative to SSL for making secure
+connections between python scripts. All major ciphers and hash methods
+are supported. SFTP client mode is now supported too.
+</longdescription>
+ <longdescription lang="ja">
+これはSSH2コネクション(クライアントとサーバー)を作り出すためのライブラリです。注
+目点はPython言語スクリプト間のセキュアなコネクションを作り出すSSLの代用にSSHを利
+用している所です。有名なCipherとHash処理の全てがサポートされています。SFTPクライ
+アントもサポートされています。
+</longdescription>
+ <upstream>
+ <remote-id type="pypi">paramiko</remote-id>
+ <remote-id type="github">paramiko/paramiko</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/paramiko/paramiko-1.16.0.ebuild b/dev-python/paramiko/paramiko-1.16.0.ebuild
new file mode 100644
index 000000000000..d0620934429f
--- /dev/null
+++ b/dev-python/paramiko/paramiko-1.16.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="SSH2 protocol library"
+HOMEPAGE="http://www.paramiko.org/ https://github.com/paramiko/paramiko/ https://pypi.python.org/pypi/paramiko/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris"
+IUSE="doc examples"
+
+RDEPEND="
+ >=dev-python/pycrypto-2.1[${PYTHON_USEDEP}]
+ !=dev-python/pycrypto-2.4[${PYTHON_USEDEP}]
+ >=dev-python/ecdsa-0.11[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# Required for testsuite
+DISTUTILS_IN_SOURCE_BUILD=1
+
+PATCHES=(
+ "${FILESDIR}"/${P}-install_requires.patch
+)
+
+python_test() {
+ "${PYTHON}" test.py --verbose || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/. )
+ use examples && local EXAMPLES=( demos/. )
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/paramiko/paramiko-2.1.2.ebuild b/dev-python/paramiko/paramiko-2.1.2.ebuild
new file mode 100644
index 000000000000..a17535668170
--- /dev/null
+++ b/dev-python/paramiko/paramiko-2.1.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="SSH2 protocol library"
+HOMEPAGE="http://www.paramiko.org/ https://github.com/paramiko/paramiko/ https://pypi.python.org/pypi/paramiko/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris"
+IUSE="doc examples"
+
+RDEPEND="
+ >=dev-python/cryptography-1.1[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# Required for testsuite
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_test() {
+ "${PYTHON}" test.py --verbose || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/. )
+
+ distutils-r1_python_install_all
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins demos/*
+ fi
+}
diff --git a/dev-python/paramiko/paramiko-2.2.1.ebuild b/dev-python/paramiko/paramiko-2.2.1.ebuild
new file mode 100644
index 000000000000..4ed5de22e1e4
--- /dev/null
+++ b/dev-python/paramiko/paramiko-2.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="SSH2 protocol library"
+HOMEPAGE="http://www.paramiko.org/ https://github.com/paramiko/paramiko/ https://pypi.python.org/pypi/paramiko/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ia64 ppc ppc64 x86"
+IUSE="doc examples"
+
+RDEPEND="
+ >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-1.1[${PYTHON_USEDEP}]
+ >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# Required for testsuite
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_test() {
+ "${PYTHON}" test.py --verbose || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/. )
+
+ distutils-r1_python_install_all
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins demos/*
+ fi
+}
diff --git a/dev-python/paramiko/paramiko-2.3.0.ebuild b/dev-python/paramiko/paramiko-2.3.0.ebuild
new file mode 100644
index 000000000000..106bbe8627d3
--- /dev/null
+++ b/dev-python/paramiko/paramiko-2.3.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="SSH2 protocol library"
+HOMEPAGE="http://www.paramiko.org/ https://github.com/paramiko/paramiko/ https://pypi.python.org/pypi/paramiko/"
+# pypi tarballs are missing test data
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="
+ >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-1.5[${PYTHON_USEDEP}]
+ >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# Required for testsuite
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_test() {
+ "${PYTHON}" test.py --verbose || die "Tests fail with ${EPYTHON}"
+}
+
+python_compile_all() {
+ use doc && esetup.py build_sphinx -s sites/docs
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( build/sphinx/html/. )
+
+ distutils-r1_python_install_all
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins demos/*
+ fi
+}
diff --git a/dev-python/paramiko/paramiko-2.3.1.ebuild b/dev-python/paramiko/paramiko-2.3.1.ebuild
new file mode 100644
index 000000000000..106bbe8627d3
--- /dev/null
+++ b/dev-python/paramiko/paramiko-2.3.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="SSH2 protocol library"
+HOMEPAGE="http://www.paramiko.org/ https://github.com/paramiko/paramiko/ https://pypi.python.org/pypi/paramiko/"
+# pypi tarballs are missing test data
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="
+ >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-1.5[${PYTHON_USEDEP}]
+ >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# Required for testsuite
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_test() {
+ "${PYTHON}" test.py --verbose || die "Tests fail with ${EPYTHON}"
+}
+
+python_compile_all() {
+ use doc && esetup.py build_sphinx -s sites/docs
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( build/sphinx/html/. )
+
+ distutils-r1_python_install_all
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins demos/*
+ fi
+}
diff --git a/dev-python/paramiko/paramiko-9999.ebuild b/dev-python/paramiko/paramiko-9999.ebuild
new file mode 100644
index 000000000000..e4db306f700b
--- /dev/null
+++ b/dev-python/paramiko/paramiko-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 git-r3
+
+DESCRIPTION="SSH2 protocol library"
+HOMEPAGE="http://www.paramiko.org/ https://github.com/paramiko/paramiko/ https://pypi.python.org/pypi/paramiko/"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/paramiko/paramiko.git"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc examples"
+
+RDEPEND="
+ >=dev-python/pycrypto-2.1[${PYTHON_USEDEP}]
+ !=dev-python/pycrypto-2.4[${PYTHON_USEDEP}]
+ >=dev-python/ecdsa-0.11[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# Required for testsuite
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_test() {
+ "${PYTHON}" test.py --verbose || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/. )
+ use examples && dodoc -r demos
+
+ distutils-r1_python_install_all
+}