From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0F4pFqUIcmWZMwEAG6o9tA:P1 (envelope-from ) for ; Thu, 07 Dec 2023 19:02:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0F4pFqUIcmWZMwEAG6o9tA (envelope-from ) for ; Thu, 07 Dec 2023 19:02:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2785E250A1 for ; Thu, 7 Dec 2023 19:02:13 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lambda-y.net header.s=MBO0001 header.b=b2gPx8x1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lambda-y.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701972133; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=3vFchvefzTSyrUhUixpisdXTO51Mn20/QANYwaxI0Vw=; b=RAhsLp2wAhcmGZF6+hPW6KhjAxBtNM9H0aBtgzzcmmJBo1cUmSPEgDCU/0BemX6037yqFY PsRg/qEp213fXhUfWvRkmGPn9Fvh9FnC7ckXnrDeh5tXA1iuXt7VA4Rmo7ryLU7IZ2a6D3 GNdVg0HavIzjwUzhF+NgNDykUd5ozMTmY77yHnvn/jqr7fxw3RqegB08SpR0Xqy2+13tin x2SA19fbV/tJlUMen4yNNt7e/hLKHWNZFTNIcZGYJYTZXdmCVGFQb2LCvBYwNTlJQwfLZu YVbUGxL/eP7sqEW87Cw8n3BcSvE0cLQh5drvgSgVyN9k21X6jp52rwVf2N5yyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lambda-y.net header.s=MBO0001 header.b=b2gPx8x1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lambda-y.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701972133; a=rsa-sha256; cv=none; b=Phslv7Bt8v8ZpMYMd3PQBp+iBW4QVG3xuUWw1wDeVdIQmPYljML4abj5UYpg2VWEvmFcmW gfvBF8bEdu2OXNqIyADAMvBkraBJiQM98rbTZN75Uv+HkjpZbikEsC3NEJ44/GEisntqBG CsZUQiOwy18ZCI18JspYwohCq+CfiLEBUlxV/N0IYn9WywdYEWJCYxGwr8KMpvlfwXiPc+ LBSxbZ+Hao3jKSMqEFqPRZtvXsoKVcV0VKPhjo+aB4J5tWllkCvxzsyRIocsEz6+NBCXBC /Nr3tYMlRH2XHULGF8MVI46Bof75x1LR57BrOhYClm1yoeFDkX+jPRqGxDBGsQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBIh7-00049T-7b; Thu, 07 Dec 2023 13:01:53 -0500 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 1rBIh4-000491-JV for guix-patches@gnu.org; Thu, 07 Dec 2023 13:01:50 -0500 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 1rBIh4-0004UB-9i for guix-patches@gnu.org; Thu, 07 Dec 2023 13:01:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBIhG-0002Wb-Mh for guix-patches@gnu.org; Thu, 07 Dec 2023 13:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67698] [PATCH] add python-ical2orgpy and dependencies Resent-From: Benjamin Slade Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Dec 2023 18:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67698 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67698@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17019720719601 (code B ref -1); Thu, 07 Dec 2023 18:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Dec 2023 18:01:11 +0000 Received: from localhost ([127.0.0.1]:43099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBIgQ-0002Un-Ny for submit@debbugs.gnu.org; Thu, 07 Dec 2023 13:01:11 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBIgL-0002U4-Tx for submit@debbugs.gnu.org; Thu, 07 Dec 2023 13:01:09 -0500 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 1rBIg3-0003xr-TK for guix-patches@gnu.org; Thu, 07 Dec 2023 13:00:48 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rBIg1-0004HX-JQ for guix-patches@gnu.org; Thu, 07 Dec 2023 13:00:47 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (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-103.mailbox.org (Postfix) with ESMTPS id 4SmMWN2pcsz9skc for ; Thu, 7 Dec 2023 19:00:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lambda-y.net; s=MBO0001; t=1701972032; 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=3vFchvefzTSyrUhUixpisdXTO51Mn20/QANYwaxI0Vw=; b=b2gPx8x1BkYT1ilOcE9aLiZF9YQCZ6NTAE8KEyekyugRtqZrdKXEzBeZEEnRyWXTXS3Nok gbVoF/MsalmBTtN/vrhmeu4XQ01fL956zRxh/pUoNFQ7HwPARQrgzgH9bAzhnZbTYbGKZQ 8b9FAzkJJZb1/9rVhqoyxSqiTsFAe1PgXesHB2bXUZJmYH3LZKVQcYSFy0BTDpEVDDokMi kE5PHIdTU7bajw8vhrnjF9pOZGW2xTAX+3lLOIWiDrn9nfNvEVTfT0woqv1+G9JgQ7dwyK 6W019i/BjYvNaENYhqKQVwsMEdXHHK+D+vpZ29cXg3g4NVsls9sjdAJPQguw8A== From: Benjamin Slade Date: Thu, 07 Dec 2023 11:56:57 -0600 Message-ID: <87wmtpnb9e.fsf@lambda-y.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=80.241.56.161; envelope-from=slade@lambda-y.net; helo=mout-p-103.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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 2785E250A1 X-Spam-Score: -5.15 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.15 X-TUID: K8ZoRuzOuLtm --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable -- '(Dr Benjamin Slade (he/him) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(website . )=20=20=20= =20=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0`(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A32= 0 BBE8 2B52 EE19)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"sent by mu4e 1.10.8 in Emacs 30.= 0.50 with org-msg on GNU Guix (Linux)") --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-add-python-ical2orgpy-and-dependencies.patch Content-Transfer-Encoding: quoted-printable >From 695b50a3744a8bd31a7e4578aaf7e5bb0fc4a36e Mon Sep 17 00:00:00 2001 From: Benjamin Slade Date: Thu, 7 Dec 2023 11:55:03 -0600 Subject: [PATCH] add python-ical2orgpy and dependencies --- gnu/packages/python-xyz.scm | 84 +++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 86f8d81..67345d8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -146,6 +146,7 @@ ;;; Copyright =C2=A9 2023 Janneke Nieuwenhuizen ;;; Copyright =C2=A9 2023 Attila Lendvai ;;; Copyright =C2=A9 2023 Troy Figiel +;;; Copyright =C2=A9 2023 Benjamin Slade ;;; ;;; This file is part of GNU Guix. ;;; @@ -34377,6 +34378,89 @@ (define-public python-zeroc-ice-3.6 (base32 "0mikjfvq26kh8asnn9v55z41pap4c5ypymqnwwi4xkavc3mzyda2"))))= )) =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-recurring-ical-events + (package + (name "python-recurring-ical-events") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "recurring_ical_events" version)) + (sha256 + (base32 "00k4l800j2d3zfqhxjlzjk0b6493wqhmg4r58xsp12sx2ia2sxla")))) + (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-x-wr-timezone python-icalendar python-= pytz)) + (home-page "https://github.com/niccokunzmann/python-recurring-ical-eve= nts") + (synopsis + "Python library for recurrence of ical events based on icalendar") + (description + "ICal has some complexity to it: Events, TODOs and Journal entries can + be repeated, removed from the feed and edited later on. +This tool takes care of these circumstances.") + (license license:lgpl3+))) + +(define-public python-ical2orgpy + (package + (name "python-ical2orgpy") + (version "0.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ical2orgpy" version)) + (sha256 + (base32 "0a2ai78jzn250s1dlsimsfp6035421nrabj08xdlgsh7mb82gkap")))) + (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-click python-icalendar python-pytz + python-tzlocal python-recurring-ical-events)) + (home-page "https://github.com/ical2org-py/ical2org.py") + (synopsis "Convert ical .ics file to org-mode") + (description + "This python script converts an ical calendar (for instance, as expor= ted + from google calendar) into an org-mode document. It is conceived as a re= placement of + the awk script located at +@url{https://orgmode.org/worg/org-tutorials/org-google-sync.html}. + The main difference is that ical2orgpy correctly manages recurring event= s of + @dfn{yearly}, @dfn{daily} and @dfn{weekly} types. ical2orgpy duplicates = all recurring + events falling into a specified time-frame into the exported org-document= .") + (license license:gpl3+))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chanc= es ;;; of a merge conflict, place them above by existing packages with similar --=20 2.41.0 --=-=-=--