From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAO2e-0006uA-7s for guix-patches@gnu.org; Sun, 22 Apr 2018 19:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAO2c-0006av-QU for guix-patches@gnu.org; Sun, 22 Apr 2018 19:05:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56595) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAO2c-0006aV-L8 for guix-patches@gnu.org; Sun, 22 Apr 2018 19:05:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fAO2c-00022J-Bs for guix-patches@gnu.org; Sun, 22 Apr 2018 19:05:06 -0400 Subject: [bug#31241] [PATCH 09/13] gnu: Add python-aiodns. Resent-Message-ID: From: Nicolas Goaziou Date: Mon, 23 Apr 2018 01:04:16 +0200 Message-Id: <20180422230420.30818-9-mail@nicolasgoaziou.fr> In-Reply-To: <20180422230420.30818-1-mail@nicolasgoaziou.fr> References: <20180422230420.30818-1-mail@nicolasgoaziou.fr> 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: 31241@debbugs.gnu.org * gnu/packages/python-web.scm (python-aiodns): New variable. --- gnu/packages/python-web.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b0a98173d..c366e4f99 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -60,6 +60,29 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (srfi srfi-1)) +(define-public python-aiodns + (package + (name "python-aiodns") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "aiodns" version)) + (sha256 + (base32 + "1snr5paql8dgvc676n8xq460wypjsb1xj53cf3px1s4wczf7lryq")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pycares" ,python-pycares))) + (arguments + `(#:tests? #f)) ;tests require internet access + (home-page "http://github.com/saghul/aiodns") + (synopsis "Simple DNS resolver for asyncio") + (description "@code{aiodns} provides a simple way for doing +asynchronous DNS resolutions with a synchronous looking interface by +using @url{https://github.com/saghul/pycares,pycares}.") + (license license:expat))) + (define-public python-async-generator (package (name "python-async-generator") -- 2.17.0