From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 12/12] gnu: python: Add python-ipaddress. Date: Fri, 5 Aug 2016 20:37:30 +0200 Message-ID: <20160805183730.19049-12-david@craven.ch> References: <20160805183730.19049-2-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVk1E-0001uU-ME for guix-devel@gnu.org; Fri, 05 Aug 2016 14:38:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVk1C-0000C4-Ml for guix-devel@gnu.org; Fri, 05 Aug 2016 14:38:51 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:43983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVk1B-0008Om-Fb for guix-devel@gnu.org; Fri, 05 Aug 2016 14:38:50 -0400 In-Reply-To: <20160805183730.19049-2-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: David Craven * gnu/packages/python.scm (python-ipaddress): New package. (python2-ipaddress): New package. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4f2eba2..c8d169a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10007,3 +10007,24 @@ List. Forked from and using the same API as the publicsuffix package.") (define-public python2-url (package-with-python2 python-url)) + +(define-public python-ipaddress + (package + (name "python-ipaddress") + (version "1.0.16") + (source (origin + (method url-fetch) + (uri (pypi-uri "ipaddress" version)) + (sha256 + (base32 + "1c3imabdrw8nfksgjjflzg7h4ynjckqacb188rf541m74arq4cas")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/phihag/ipaddress") + (synopsis "IPv4/IPv6 manipulation library") + (description "IPv4/IPv6 manipulation library.") + (license license:psfl))) + +(define-public python2-ipaddress + (package-with-python2 python-ipaddress)) -- 2.9.0