[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/15: gnu: python-iso8601: Update to 1.0.2.
From: |
guix-commits |
Subject: |
12/15: gnu: python-iso8601: Update to 1.0.2. |
Date: |
Sun, 13 Feb 2022 09:18:13 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit cc8d4fa5abd40ed4465dd6173924802d7c81bb26
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Feb 4 11:02:23 2022 +0100
gnu: python-iso8601: Update to 1.0.2.
* gnu/packages/time.scm (python-iso8601): Update to 1.0.2.
[native-inputs]: Add PYTHON-PYTZ.
[home-page]: Update to current.
[properties]: New field.
* gnu/packages/time.scm (python2-iso8601): Update to 0.1.16.
---
gnu/packages/time.scm | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 9b57fe41fb..1b94632c09 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -353,14 +353,14 @@ ISO 8601 dates, time and duration.")
(define-public python-iso8601
(package
(name "python-iso8601")
- (version "0.1.13")
+ (version "1.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "iso8601" version))
(sha256
(base32
- "1cgfj91khil4ii5gb8s6nxwm73vx7hqc2k79dd9d8990ylmc5ppp"))))
+ "1ccl6plks706hxm35cn1wsvxhqh3bfwi5cjgjpdxjib81qi07x97"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
@@ -368,16 +368,27 @@ ISO 8601 dates, time and duration.")
(lambda _
(invoke "pytest" "-vv" "iso8601"))))))
(native-inputs
- (list python-pytest))
- (home-page "https://bitbucket.org/micktwomey/pyiso8601")
+ (list python-pytest python-pytz))
+ (home-page "https://github.com/micktwomey/pyiso8601")
(synopsis "Module to parse ISO 8601 dates")
(description
"This module parses the most common forms of ISO 8601 date strings (e.g.
@code{2007-01-14T20:34:22+00:00}) into @code{datetime} objects.")
+ (properties `((python2-variant . ,(delay python2-iso8601))))
(license expat)))
(define-public python2-iso8601
- (package-with-python2 python-iso8601))
+ (let ((base (package-with-python2 (strip-python2-variant python-iso8601))))
+ (package
+ (inherit base)
+ (version "0.1.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "iso8601" version))
+ (sha256
+ (base32
+ "0ny8dlycapxr8n2m13jxy0r7kbqvgypfshb6y7l981c0rivjylrn")))))))
(define-public python-monotonic
(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, 2022/02/13
- 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 <=
- 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
- 06/15: gnu: python-requests: Remove unnecessary input., guix-commits, 2022/02/13
- 05/15: gnu: python-urllib3: Update to 1.26.8., guix-commits, 2022/02/13
- 13/15: gnu: python-pycparser: Update to 2.21., guix-commits, 2022/02/13