From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 07/11] gnu: Add python-ipaddress. Date: Mon, 11 Sep 2017 20:22:38 +0200 Message-ID: <20170911182242.7422-8-tipecaml@gmail.com> References: <20170911182242.7422-1-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drTMO-0007Vu-3B for guix-devel@gnu.org; Mon, 11 Sep 2017 14:23:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drTMN-0003dl-4U for guix-devel@gnu.org; Mon, 11 Sep 2017 14:23:04 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:38485) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drTMM-0003cr-Tb for guix-devel@gnu.org; Mon, 11 Sep 2017 14:23:03 -0400 Received: by mail-wr0-x22f.google.com with SMTP id 108so16324513wra.5 for ; Mon, 11 Sep 2017 11:23:02 -0700 (PDT) In-Reply-To: <20170911182242.7422-1-tipecaml@gmail.com> 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 * gnu/packages/python.scm (python-ipaddress, python2-ipaddress): New variables. --- gnu/packages/python.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e0b577afe..e565d3683 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -16332,3 +16332,23 @@ ignoring formatting changes.") (define-public python2-nose-timer (package-with-python2 python-nose-timer)) + +(define-public python-ipaddress + (package + (name "python-ipaddress") + (version "1.0.18") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ipaddress" version)) + (sha256 + (base32 + "1q8klj9d84cmxgz66073x1j35cplr3r77vx1znhxiwl5w74391ax")))) + (build-system python-build-system) + (home-page "https://github.com/phihag/ipaddress") + (synopsis "IPv4/IPv6 manipulation library") + (description "Port of the 3.3+ ipaddress module to 2.6, 2.7, 3.2.") + (license license:psfl))) + +(define-public python2-ipaddress + (package-with-python2 python-ipaddress)) -- 2.14.1