diff options
author | Tim Harder <radhermit@gentoo.org> | 2018-02-08 00:06:12 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2018-02-08 00:08:59 -0500 |
commit | da9aedee72496cb3d43f47bf1103c85aa190306b (patch) | |
tree | 1fe322eb67579a348b92b7cd763a4d1f1e91850c /dev-python/paramiko | |
parent | dev-python/pytest-relaxed: initial import, new test dep for paramiko (diff) | |
download | gentoo-da9aedee72496cb3d43f47bf1103c85aa190306b.tar.gz gentoo-da9aedee72496cb3d43f47bf1103c85aa190306b.tar.bz2 gentoo-da9aedee72496cb3d43f47bf1103c85aa190306b.zip |
dev-python/paramiko: version bump to 2.4.0
Diffstat (limited to 'dev-python/paramiko')
-rw-r--r-- | dev-python/paramiko/Manifest | 1 | ||||
-rw-r--r-- | dev-python/paramiko/paramiko-2.4.0.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/paramiko/Manifest b/dev-python/paramiko/Manifest index cd96fa8ffe16..6ad7679c6739 100644 --- a/dev-python/paramiko/Manifest +++ b/dev-python/paramiko/Manifest @@ -1,3 +1,4 @@ DIST paramiko-2.1.2.tar.gz 1196746 BLAKE2B c184e171fe550fc231d67473867db283b706a93aebbd13ffb2503e10d69e43b9ab712237e6698fccae13472f0cb8135b6c015381ac687c4c20d4d1cb1620ae00 SHA512 465c5381b1b0a472d2ad8e690f0916a5f51713880486c7b94cadcf85ea0a52569e18337ccfee5440869e4a0c76bd2b1bc15c414128c07326b40ecd36ea021466 DIST paramiko-2.2.1.tar.gz 1205818 BLAKE2B 6b9007c2f653d6e640de4051bb16e5b9a4d039b59b38cb3500d6b2935e4e9e4acddecb0b1eb404f8bc6c5ea94a90cbc9a405ae5189efa0b9026d0550fcd9f259 SHA512 6aa2cce301f32c15d66e2137bc8a5c10ea4a667c599b24047a1e176b10636fe3abd28c7b2974befdde432a86c924acceace056c0572ea3006d3e4a8160b725c3 DIST paramiko-2.3.1.tar.gz 282553 BLAKE2B 298bf73d2ecbb47506a7e3b7a03ddd650c8f126ef21b0e443602327a7011ee55c146aa3b6e4d160b47680b50dab3fcf04843597a290ccb166f88fc129bd85a67 SHA512 b63a177f1f03937d5650d6f2a3ca4c00e0c3ffb0080e5e5a8141aab435c3ad415f5af8c61cb2894d176544b854ff26ee510eaa41081b452dfa6213cdc0566665 +DIST paramiko-2.4.0.tar.gz 283484 BLAKE2B b0f7c99d8083aae5f70605cead265c060af29937fd5b97e3606fe9319e5b982dea4efce8e5e823c584ea9a046a08e29cbabe2304d069ba07b435acbf6c3224e4 SHA512 9c8deec2041c3756206b03c932be102383ad35077513f51f3d85573d4081a81c110e483375eb28b174b89c8703b38123d7e74f5b784b697ab0046dae083b9f41 diff --git a/dev-python/paramiko/paramiko-2.4.0.ebuild b/dev-python/paramiko/paramiko-2.4.0.ebuild new file mode 100644 index 000000000000..bc73323f0c6d --- /dev/null +++ b/dev-python/paramiko/paramiko-2.4.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 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 test" + +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} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-relaxed[${PYTHON_USEDEP}] + ) +" + +python_test() { + py.test -v || 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 +} |