From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 18 19:06:53 2024 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-x-wr-timezone. Date: Mon, 18 Mar 2024 17:49:10 -0500 Message-ID: <877chzyx3t.fsf@lambda-y.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Content-Disposition: inline --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-python-x-wr-timezone.patch Content-Transfer-Encoding: quoted-printable >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 =C2=A9 2024 Timothee Mathieu ;;; Copyright =C2=A9 2024 Ian Eure ;;; Copyright =C2=A9 2024 Adriel Dumas--Jondeau +;;; Copyright =C2=A9 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)))) =20 +(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 diff= er from those + which make use of X-WR-TIMEZONE. This module aims to bridge the gap by c= onverting + calendars using X-WR-TIMEZONE to a strict RFC 5545 calendars.") + (license license:lgpl3+))) + (define-public python-icalendar (package (name "python-icalendar") --=20 2.41.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 20 15:21:42 2024 Received: (at 69885) by debbugs.gnu.org; 20 Mar 2024 19:21:42 +0000 Received: from localhost ([127.0.0.1]:58252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn1VO-0006Wh-2m for submit@debbugs.gnu.org; Wed, 20 Mar 2024 15:21:42 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:43611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn1VL-0006W6-9E for 69885@debbugs.gnu.org; Wed, 20 Mar 2024 15:21:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1710962453; x=1711221653; bh=IiIK9d701nZmsDLNWzbzrQgX8GU35nJg8B2rKsBqKnI=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=SW3tjx2/sVUcNAAm9l4G0JNYdfIEMSTO45v4YC7MI1rjEohN5YFaleyfMbgOuwxnL TWBPLAfgj57voiGfZWvM1TxHdK6nBY8LtbrcgUXeq5aEezO8BW8wpTU4swZf7Nhy8M Nu9LTvCBfDIwDhkqz5Yvaq5CJX+Nv1v5ZUnCxh4dhxkwd7hzRSBefboDS7hdhfFL0s F50OHwqu5T+PoVzti/+P75+vACJvsye+XIHmYQWZE6r3Dibd+oS3Cs0lYomxJ9Nd5d 3LISdqlAEhhcVWkps3pTE5B2D+3ayHTuYg34pRzkAMPdV8/ZbAMHLzKvwefO2MidmC 6UjBJhK9Yz9fQ== Date: Wed, 20 Mar 2024 19:20:46 +0000 To: Benjamin Slade , 69885@debbugs.gnu.org From: Skyler Ferris Subject: Re: [bug#69885] [PATCH] gnu: Add python-x-wr-timezone. Message-ID: <12d7b39d-bbe2-493a-842a-10f8b9a71593@protonmail.com> In-Reply-To: <877chzyx3t.fsf@lambda-y.net> References: <877chzyx3t.fsf@lambda-y.net> Feedback-ID: 40635331:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69885 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Benjamin, > +=C2=A0=C2=A0=C2=A0=C2=A0 '(#:phases (modify-phases %standard-phases > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete 'sanity-check)) Could you elaborate on why it is necessary to remove this phase? I tried=20 adding it back in and the package still built. > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:tests? #f)) It looks like this is here because tests require=20 python-icalendar>=3D5.0.11, correct? Could you update the existing package= =20 (note that it has 3 dependents which should be checked for compatibility=20 in this case), or add a second package with the correct version instead=20 of skipping the tests? I also tried the example from the x-wr-timezone=20 README, and the icalendar.from_ical function it uses doesn't seem to=20 exist on the 4.1.0 version of python-icalendar (or at least if it does,=20 it is not provided by the top-level icalendar package, so I expect that=20 this package would break). Note that the python-icalendar update should=20 be in a separate commit that this one is based on. Also a note about submissions: if it would be possible for you to use=20 git send-email as described in the manual, this would make it easier for=20 more reviewer to look at and so make it more likely that your patches=20 are reviewed quickly. It is described in the section "Sending a Patch=20 Series", but the instructions apply to single patches as well.=20 https://guix.gnu.org/manual/en/html_node/Sending-a-Patch-Series.html Regards, Skyler