From 165786bb7a4d44303e76b1b6fb7ad1e678d45340 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 7 May 2021 13:56:40 +0200 Subject: gnu: Remove python-ipaddress. This package is part of the Python standard library since CPython 3.3. * gnu/packages/python-xyz.scm (python-ipaddress): Merge with ... (python2-ipaddress): ... this. [name, arguments]: Adjust accordingly. --- gnu/packages/python-xyz.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3a01b74d1d..e4f1a82e8a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10151,9 +10151,9 @@ implementations of ASN.1-based codecs and protocols.") (define-public python2-pyasn1-modules (package-with-python2 python-pyasn1-modules)) -(define-public python-ipaddress +(define-public python2-ipaddress (package - (name "python-ipaddress") + (name "python2-ipaddress") (version "1.0.23") (source (origin (method url-fetch) @@ -10162,6 +10162,8 @@ implementations of ASN.1-based codecs and protocols.") (base32 "1qp743h30s04m3cg3yk3fycad930jv17q7dsslj4mfw0jlvf1y5p")))) (build-system python-build-system) + (arguments + `(#:python ,python-2)) (home-page "https://github.com/phihag/ipaddress") (synopsis "IP address manipulation library") (description @@ -10171,9 +10173,6 @@ implementations of ASN.1-based codecs and protocols.") module to older versions of Python.") (license license:psfl))) -(define-public python2-ipaddress - (package-with-python2 python-ipaddress)) - (define-public python2-ipaddr (package (name "python2-ipaddr") -- cgit 1.4.1