[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/15: gnu: python-idna: Update to 3.3.
From: |
guix-commits |
Subject: |
02/15: gnu: python-idna: Update to 3.3. |
Date: |
Sun, 13 Feb 2022 09:18:11 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit f3803b7c201f42c8508b1b2ea3dd90463e06d75a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jan 22 15:42:18 2022 +0100
gnu: python-idna: Update to 3.3.
* gnu/packages/python-xyz.scm (python-idna): Update to 3.3.
[properties]: New field.
(python2-idna): Stick with version 2.10.
---
gnu/packages/python-xyz.scm | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 41b60325d2..b002b60e3b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12038,14 +12038,14 @@ versions of Python.")
(define-public python-idna
(package
(name "python-idna")
- (version "2.10")
+ (version "3.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "idna" version))
(sha256
(base32
- "1xmk3s92d2vq42684p61wixfmh3qpr2mw762w0n6662vhlpqf1xk"))))
+ "0v8f6qjfi5i7qc5icsbv2pi24qy6k6m8wjqjvdf2sxjvlpq3yr4x"))))
(build-system python-build-system)
(home-page "https://github.com/kjd/idna")
(synopsis "Internationalized domain names in applications")
@@ -12057,10 +12057,20 @@ from the earlier standard from 2003. The library is
also intended to act as a
suitable drop-in replacement for the “encodings.idna” module that comes with
the Python standard library but currently only supports the older 2003
specification.")
+ (properties `((python2-variant . ,(delay python2-idna))))
(license license:bsd-4)))
(define-public python2-idna
- (package-with-python2 python-idna))
+ (let ((base (package-with-python2 (strip-python2-variant python-idna))))
+ (package
+ (inherit base)
+ (version "2.10")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "idna" version))
+ (sha256
+ (base32
+ "1xmk3s92d2vq42684p61wixfmh3qpr2mw762w0n6662vhlpqf1xk")))))))
(define-public python-libsass
(package
- branch staging updated (76b6bbdf23 -> 6f22596b1c), guix-commits, 2022/02/13
- 04/15: gnu: python-requests: Update to 2.27.1., guix-commits, 2022/02/13
- 02/15: gnu: python-idna: Update to 3.3.,
guix-commits <=
- 07/15: gnu: python-charset-normalizer: Update to 2.0.11., guix-commits, 2022/02/13
- 03/15: gnu: python-certifi: Update to 2021.10.8., guix-commits, 2022/02/13
- 10/15: gnu: python-charset-normalizer: Trim closure size., guix-commits, 2022/02/13
- 11/15: gnu: python-chardet: Update to 4.0.0., guix-commits, 2022/02/13
- 12/15: gnu: python-iso8601: Update to 1.0.2., guix-commits, 2022/02/13
- 15/15: gnu: python-pyopenssl: Update to 22.0.0., guix-commits, 2022/02/13
- 08/15: gnu: python-cryptography: Remove 3.3.1., guix-commits, 2022/02/13
- 09/15: gnu: python-chardet: Trim closure size., guix-commits, 2022/02/13
- 01/15: gnu: python-flaky: Update to 3.7.0., guix-commits, 2022/02/13
- 14/15: gnu: librsvg: Remove unused inputs., guix-commits, 2022/02/13