From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 991B4158086 for ; Sun, 10 Oct 2021 06:45:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB0AFE0827; Sun, 10 Oct 2021 06:45:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1039E0827 for ; Sun, 10 Oct 2021 06:45:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 67D35342EF6 for ; Sun, 10 Oct 2021 06:45:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7D73145 for ; Sun, 10 Oct 2021 06:45:25 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1633848316.9bd8a54206df1dc6fd844fd0f1678f835748dc09.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/paramiko/, dev-python/paramiko/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/paramiko/Manifest dev-python/paramiko/files/paramiko-2.7.1-tests.patch dev-python/paramiko/paramiko-2.8.0.ebuild X-VCS-Directories: dev-python/paramiko/files/ dev-python/paramiko/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9bd8a54206df1dc6fd844fd0f1678f835748dc09 X-VCS-Branch: master Date: Sun, 10 Oct 2021 06:45:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 73d9ba9a-a24b-43ee-a05e-4ee6d7f036ed X-Archives-Hash: a5f0890a07bce818a45833e8cee2266d commit: 9bd8a54206df1dc6fd844fd0f1678f835748dc09 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 10 06:30:01 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 10 06:45:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd8a542 dev-python/paramiko: Bump to 2.8.0 Signed-off-by: Michał Górny gentoo.org> dev-python/paramiko/Manifest | 1 + .../paramiko/files/paramiko-2.7.1-tests.patch | 14 ------ dev-python/paramiko/paramiko-2.8.0.ebuild | 54 ++++++++++++++++++++++ 3 files changed, 55 insertions(+), 14 deletions(-) diff --git a/dev-python/paramiko/Manifest b/dev-python/paramiko/Manifest index a9a727eeb4c..5f64b23a04d 100644 --- a/dev-python/paramiko/Manifest +++ b/dev-python/paramiko/Manifest @@ -1 +1,2 @@ DIST paramiko-2.7.2.tar.gz 331678 BLAKE2B ff96dfd7b114255c15282f4f73e1f9425ccf77106426ccf3ad3f833b56bd5abfde867cf2d322448dc7b3777af6ab080b4e37ff8871ce17f0db17634b7f101747 SHA512 c9bc569428a0a61814cb73941356de5bae7fea7891ba4fd3f5c00ff1ee5083454bfde7e969fb4aaf5254b909f7f0132f590d67803eda8a67503e5c02ec2bf01a +DIST paramiko-2.8.0.tar.gz 332217 BLAKE2B fcd691159b0306204064806881f8a42e7310fe23daf22c5de5ce8124d1496d48606247ab03c7657ff01560f801121a35011e0e615c5e142c41d191568f5b2300 SHA512 15f6e1cab9afdf3285804ce09b3af6c20ffc1f8e50d2549272f0ea545d1fdc858e72c7cba085db85c69aad2033655ae2f025e8ed2bd0dff574bcc03156bdb6ed diff --git a/dev-python/paramiko/files/paramiko-2.7.1-tests.patch b/dev-python/paramiko/files/paramiko-2.7.1-tests.patch index 5791afd044a..a25b7c24ef2 100644 --- a/dev-python/paramiko/files/paramiko-2.7.1-tests.patch +++ b/dev-python/paramiko/files/paramiko-2.7.1-tests.patch @@ -27,20 +27,6 @@ index f4f84748..b1b0cdf5 100644 # pytest-xdist for test dir watching and the inv guard task pytest-xdist==1.28.0 mock==2.0.0 -diff --git a/setup.cfg b/setup.cfg -index 44d029c4..99159096 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -17,9 +17,6 @@ ignore = E124,E125,E128,E261,E301,E302,E303,E402,E721,W503,E203,E722 - max-line-length = 79 - - [tool:pytest] --# We use pytest-relaxed just for its utils at the moment, so disable it at the --# plugin level until we adapt test organization to really use it. --addopts = -p no:relaxed - # Loop on failure - looponfailroots = tests paramiko - # Ignore some warnings we cannot easily handle. diff --git a/tests/test_client.py b/tests/test_client.py index 60ad310c..88fd1d53 100644 --- a/tests/test_client.py diff --git a/dev-python/paramiko/paramiko-2.8.0.ebuild b/dev-python/paramiko/paramiko-2.8.0.ebuild new file mode 100644 index 00000000000..85abef97830 --- /dev/null +++ b/dev-python/paramiko/paramiko-2.8.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="SSH2 protocol library" +HOMEPAGE="https://www.paramiko.org/ https://github.com/paramiko/paramiko/ https://pypi.org/project/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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" +IUSE="examples server" + +RDEPEND=" + >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.5[${PYTHON_USEDEP}] + >=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx sites/docs +distutils_enable_tests pytest + +src_prepare() { + eapply "${FILESDIR}/${PN}-2.7.1-tests.patch" + + if ! use server; then + eapply "${FILESDIR}/${PN}-2.4.2-disable-server.patch" + fi + + eapply_user +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + docinto examples + dodoc -r demos/* + fi +}