From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAO2b-0006q3-HF for guix-patches@gnu.org; Sun, 22 Apr 2018 19:05:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAO2Z-0006XC-GA for guix-patches@gnu.org; Sun, 22 Apr 2018 19:05:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56589) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAO2Z-0006Wk-Ce for guix-patches@gnu.org; Sun, 22 Apr 2018 19:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fAO2Z-00021a-43 for guix-patches@gnu.org; Sun, 22 Apr 2018 19:05:03 -0400 Subject: [bug#31241] [PATCH 03/13] gnu: Add python-pycares. Resent-Message-ID: From: Nicolas Goaziou Date: Mon, 23 Apr 2018 01:04:10 +0200 Message-Id: <20180422230420.30818-3-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-pycares): New variable. --- gnu/packages/python-web.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7ec9bbb31..94c470985 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2528,3 +2528,23 @@ protocols, it supports features like HTTP keep-alive, reget, throttling and more.") (license license:lgpl2.1+))) +(define-public python-pycares + (package + (name "python-pycares") + (version "2.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pycares" version)) + (sha256 + (base32 + "0h4fxw5drrhfyslzmfpljk0qnnpbhhb20hnnndzahhbwylyw1x1n")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ;tests require internet access + (home-page "http://github.com/saghul/pycares") + (synopsis "Python interface for @code{c-ares}") + (description "@code{pycares} is a Python module which provides an +interface to @code{c-ares}, a C library that performs DNS requests and +name resolutions asynchronously.") + (license license:expat))) -- 2.17.0