diff options
author | Marius Bakke <marius@gnu.org> | 2021-05-07 13:56:40 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-05-07 16:01:58 +0200 |
commit | 165786bb7a4d44303e76b1b6fb7ad1e678d45340 (patch) | |
tree | e3ecd19aabbdfc3bf6fd3448384c6898112dacbb | |
parent | f387523c6214fa276cf38fc9f9dd2fc68b21e75c (diff) | |
download | guix-165786bb7a4d44303e76b1b6fb7ad1e678d45340.tar guix-165786bb7a4d44303e76b1b6fb7ad1e678d45340.tar.gz |
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.
-rw-r--r-- | gnu/packages/python-xyz.scm | 9 |
1 files 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") |