From patchwork Thu Jun 23 15:20:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5a6L5paH5q2m?= X-Patchwork-Id: 13331 Received: (qmail 107518 invoked by uid 89); 23 Jun 2016 15:20:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=kits, xxx, authenticated X-Spam-Status: No, score=-3.3 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 23 Jun 2016 15:20:42 +0000 Received: from localhost ([::1]:37322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Qq-0007He-6T for patchwork@sourceware.org; Thu, 23 Jun 2016 11:20:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Qi-0007FE-BU for guix-devel@gnu.org; Thu, 23 Jun 2016 11:20:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6Qf-0005pX-UK for guix-devel@gnu.org; Thu, 23 Jun 2016 11:20:31 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:44078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Qf-0005pR-Nw for guix-devel@gnu.org; Thu, 23 Jun 2016 11:20:29 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 4A082205D0D; Thu, 23 Jun 2016 17:20:29 +0200 (CEST) From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= To: guix-devel@gnu.org Subject: [PATCH 07/10] gnu: Add python-dnspython and python2-dnspython. Date: Thu, 23 Jun 2016 23:20:01 +0800 Message-Id: <20160623152004.24065-3-iyzsong@gmail.com> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20160623152004.24065-1-iyzsong@gmail.com> References: <20160623152004.24065-1-iyzsong@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 62.4.1.34 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/python.scm (python-dnspython, python2-dnspython): New variables. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index dc9879a..ff3cb99 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9442,3 +9442,29 @@ until the object is actually required, and caches the result of said call.") (define-public python2-lazy-object-proxy (package-with-python2 python-lazy-object-proxy)) +(define-public python-dnspython + (package + (name "python-dnspython") + (version "1.14.0") + (source (origin + (method url-fetch) + (uri (string-append "http://www.dnspython.org/kits/" + version "/dnspython-" version ".tar.gz")) + (sha256 + (base32 + "1z472r63gdqsxhsxj3plr5vs478yf4303vrqxxpsccc940g441hl")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; XXX: requires internet access + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://www.dnspython.org") + (synopsis "DNS toolkit for Python") + (description + "dnspython is a DNS toolkit for Python. It supports almost all record +types. It can be used for queries, zone transfers, and dynamic updates. +It supports TSIG authenticated messages and EDNS0.") + (license license:expat))) + +(define-public python2-dnspython + (package-with-python2 python-dnspython)) +