From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54190) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iquSG-0005e3-I5 for guix-patches@gnu.org; Mon, 13 Jan 2020 02:48:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iquSF-0008Rg-75 for guix-patches@gnu.org; Mon, 13 Jan 2020 02:48:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52615) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iquSC-0008ML-Tb for guix-patches@gnu.org; Mon, 13 Jan 2020 02:48:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iquSC-0008FR-Sb for guix-patches@gnu.org; Mon, 13 Jan 2020 02:48:04 -0500 Subject: [bug#39028] [PATCH 7/7] gnu: Add python-asyncssh Resent-Message-ID: From: Lars-Dominik Braun Date: Mon, 13 Jan 2020 08:46:55 +0100 Message-Id: <20200113074655.11012-7-ldb@leibniz-psychology.org> In-Reply-To: <20200113074655.11012-1-ldb@leibniz-psychology.org> References: <20200113074655.11012-1-ldb@leibniz-psychology.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39028@debbugs.gnu.org Cc: zimon.toutoune@gmail.com * gnu/packages/python-xyz.scm (python-asyncssh): New variable --- gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e12f15fac8..9736bfa3fa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17240,3 +17240,43 @@ unit tests.") around the GSSAPI C libraries. While it focuses on the Kerberos mechanism, it should also be useable with other GSSAPI mechanisms.") (license license:isc))) + +(define-public python-asyncssh + (package + (name "python-asyncssh") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "asyncssh" version)) + (sha256 + (base32 + "101kxyydrps9lc716vjs0nrvzfjp8644iir1xm19pl0ma73b9l0r")))) + (build-system python-build-system) + (propagated-inputs + `(("python-cryptography" ,python-cryptography) + ("python-pyopenssl" ,python-pyopenssl) + ("python-gssapi" ,python-gssapi) + ("python-bcrypt" ,python-bcrypt))) + ;; required for test suite + (native-inputs + `(("openssh" ,openssh) + ("openssl" ,openssl))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-tests + (lambda* _ + (substitute* "tests/test_agent.py" + ;; Test fails for unknown reason + (("async def test_confirm") + "@unittest.skip('disabled by guix')\n async def test_confirm"))))))) + (home-page "https://asyncssh.readthedocs.io/") + (synopsis + "Asynchronous SSHv2 client and server library") + (description + "AsyncSSH is a Python package which provides an asynchronous client and +server implementation of the SSHv2 protocol on top of the Python 3.6+ asyncio +framework") + (license license:epl2.0))) + -- 2.20.1