GNU bug report logs - #75032
[PATCH 00/13] Add more SageMath packages

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Sun, 22 Dec 2024 17:26:01 UTC

Severity: normal

Tags: patch

Done: dannym <at> friendly-machines.com

Bug is archived. No further changes may be made.

Full log


Message #20 received at 75032 <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: 75032 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 05/13] gnu: Add python-pytz-deprecation-shim.
Date: Sun, 22 Dec 2024 17:26:49 +0000
* gnu/packages/time.scm (python-pytz-deprecation-shim): New variable.

Change-Id: I481ea9818444d9a14efcf7b11d44c68a5f2fec3f
---
 gnu/packages/time.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index f1aeae7340..0d84dee178 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2024 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
 ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2024 Vinicius Monego <monego <at> posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -169,6 +170,31 @@ (define-public python-tzdata
     (description "This package provides a thin Python wrapper around tzdata.")
     (license asl2.0)))
 
+(define-public python-pytz-deprecation-shim
+  (package
+    (name "python-pytz-deprecation-shim")
+    (version "0.1.0.post0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytz_deprecation_shim" version))
+       (sha256
+        (base32 "17d58msbi18dc4lk29hcrgylvrv9vhniwi24axfdwvb13fp7n2dg"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-dateutil python-tzdata))
+    (native-inputs (list python-pytest
+                         python-pytz
+                         python-setuptools
+                         python-wheel))
+    (home-page "https://github.com/pganssle/pytz-deprecation-shim")
+    (synopsis "Shims to make deprecation of pytz easier")
+    (description
+     "This package aims to make the transition away from @code{pytz} easier.
+It is intended for temporary usage only, and should allow you to drop your
+dependency on @code{pytz} while also giving your users notice that eventually
+you will remove support for the pytz-specific interface.")
+    (license asl2.0)))
+
 (define-public python-pytz
   (package
     (name "python-pytz")
-- 
2.39.5





This bug report was last modified 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.