From: Vinicius Monego <monego@posteo.net>
To: 75032@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#75032] [PATCH 05/13] gnu: Add python-pytz-deprecation-shim.
Date: Sun, 22 Dec 2024 17:26:49 +0000 [thread overview]
Message-ID: <e47a4a7c0445f5755d801871c8bb74c0686f20ec.1734887844.git.monego@posteo.net> (raw)
In-Reply-To: <cover.1734887844.git.monego@posteo.net>
* 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@gmail.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2024 Vinicius Monego <monego@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
next prev parent reply other threads:[~2024-12-22 17:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-22 17:25 [bug#75032] [PATCH 00/13] Add more SageMath packages Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 01/13] gnu: Add sagemath-data-conway-polynomials Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 02/13] gnu: Add sagemath-data-polytopes-db Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 03/13] gnu: Add sagemath-data-graphs Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 04/13] gnu: Add sagemath-data-combinatorial-designs Vinicius Monego
2024-12-22 17:26 ` Vinicius Monego [this message]
2024-12-22 17:26 ` [bug#75032] [PATCH 06/13] gnu: Add python-lrcalc Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 07/13] gnu: Add sympow Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 08/13] gnu: Add gfan Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 09/13] gnu: Add palp Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 10/13] gnu: Add tachyon Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 11/13] gnu: pari-gp: Use G-Expressions Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 12/13] gnu: pari-gp: Install galdata Vinicius Monego
2024-12-22 17:26 ` [bug#75032] [PATCH 13/13] gnu: Add python-sphinx-inline-tabs Vinicius Monego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e47a4a7c0445f5755d801871c8bb74c0686f20ec.1734887844.git.monego@posteo.net \
--to=monego@posteo.net \
--cc=75032@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).