From patchwork Mon Mar 18 22:49:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Benjamin Slade X-Patchwork-Id: 61934 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E8E5427BBEA; Mon, 18 Mar 2024 23:06:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 54A8727BBEB for ; Mon, 18 Mar 2024 23:06:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmM3p-0006Cy-Vm; Mon, 18 Mar 2024 19:06:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmM3l-0006CD-55 for guix-patches@gnu.org; Mon, 18 Mar 2024 19:06:26 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmM3k-00025T-Tf for guix-patches@gnu.org; Mon, 18 Mar 2024 19:06:24 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmM4N-00079A-4i for guix-patches@gnu.org; Mon, 18 Mar 2024 19:07:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69885] [PATCH] gnu: Add python-x-wr-timezone. Resent-From: Benjamin Slade Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Mar 2024 23:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69885 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69885@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171080321327429 (code B ref -1); Mon, 18 Mar 2024 23:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2024 23:06:53 +0000 Received: from localhost ([127.0.0.1]:49044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmM4C-00078D-Rg for submit@debbugs.gnu.org; Mon, 18 Mar 2024 19:06:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:42188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmM48-00077a-Iu for submit@debbugs.gnu.org; Mon, 18 Mar 2024 19:06:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmLnj-00038J-2X for guix-patches@gnu.org; Mon, 18 Mar 2024 18:49:51 -0400 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rmLnd-00080t-6Y for guix-patches@gnu.org; Mon, 18 Mar 2024 18:49:48 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Tz95n21nxz9scd for ; Mon, 18 Mar 2024 23:49:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lambda-y.net; s=MBO0001; t=1710802173; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=iYFGM/lW8fXJ//Ok/dgHyf/wEfUpyQMBy0qeM6IID18=; b=NXDrkXKociSaMgR3frcOk1UjxsMBdXKsLFgMxZ5C66y3jgmW691PyRYb47pM6XCV/1j2Ec R/O7D4vmJjzwDvz7U9IaaOdUrqjffWfY84ODL76wmX4L5IKYF+TsBlY3+/yl2AYJBsmE+3 eVaNAIS25R5ixmztyMQziPGmzw1Eeba8+07IAGpYUjF6CmCnBe/PzXbj8ErU8RJkxTK/33 h3vAL0Hi8XweA/othQZvQ+GNnuK6rN+cWsXWnKcaFBH5V/F9aF/CLwzmtkrjYJj7cLJHqd NqcLYS3xLl9LQIuvzMeYDZWTVTGdprO7Q4H9vp6KkG234X/qqQKAi3rflyL08Q== From: Benjamin Slade Date: Mon, 18 Mar 2024 17:49:10 -0500 Message-ID: <877chzyx3t.fsf@lambda-y.net> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Tz95n21nxz9scd Received-SPF: none client-ip=2001:67c:2050:0:465::101; envelope-from=slade@lambda-y.net; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From f93366cb785f4783efe3c5e4027ae2062f0f87a3 Mon Sep 17 00:00:00 2001 From: Benjamin Slade Date: Mon, 18 Mar 2024 17:47:03 -0500 Subject: [PATCH] gnu: Add python-x-wr-timezone. * gnu/packages/.scm (python-x-wr-timezone): New variable --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7ed8c94..17ce6ef 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -149,6 +149,7 @@ ;;; Copyright © 2024 Timothee Mathieu ;;; Copyright © 2024 Ian Eure ;;; Copyright © 2024 Adriel Dumas--Jondeau +;;; Copyright © 2024 Benjamin Slade ;;; ;;; This file is part of GNU Guix. ;;; @@ -17622,6 +17623,33 @@ (define-public python-execnet (home-page "https://codespeak.net/execnet/") (license license:expat)))) +(define-public python-x-wr-timezone + (package + (name "python-x-wr-timezone") + (version "0.0.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "x_wr_timezone" version)) + (sha256 + (base32 "0j5zjvrshn7smq6cgbh7l66dl64wqs18cfyfnq1np1y00g320pha")))) + (build-system python-build-system) + (arguments + ;; Broken tests or cyclic dependecies with other packages. + '(#:phases (modify-phases %standard-phases + (delete 'sanity-check)) + #:tests? #f)) + (propagated-inputs (list python-icalendar python-pytz)) + (home-page "https://github.com/niccokunzmann/x-wr-timezone") + (synopsis "Handling of non-standard X-WR-TIMEZONE icalendar property") + (description + "Some calendar providers introduce the non-standard X-WR-TIMEZONE +parameter to ICS calendar files. Strict interpretations according to RFC 5545 ignore + the X-WR-TIMEZONE parameter. This causes the times of the events to differ from those + which make use of X-WR-TIMEZONE. This module aims to bridge the gap by converting + calendars using X-WR-TIMEZONE to a strict RFC 5545 calendars.") + (license license:lgpl3+))) + (define-public python-icalendar (package (name "python-icalendar") -- 2.41.0