guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: Remove python-ipaddress.


From: guix-commits
Subject: 03/03: gnu: Remove python-ipaddress.
Date: Fri, 7 May 2021 10:03:19 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 165786bb7a4d44303e76b1b6fb7ad1e678d45340
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri May 7 13:56:40 2021 +0200

    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 3a01b74..e4f1a82 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]