From patchwork Mon Mar 18 22:53:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Slade X-Patchwork-Id: 61936 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 1C4C027BBEB; Mon, 18 Mar 2024 23:10:44 +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=ham 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 30D7827BBE2 for ; Mon, 18 Mar 2024 23:10:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmM7e-0006ma-Jr; Mon, 18 Mar 2024 19:10:26 -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 1rmM7d-0006mM-2f for guix-patches@gnu.org; Mon, 18 Mar 2024 19:10:25 -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 1rmM7c-0002gA-Dv for guix-patches@gnu.org; Mon, 18 Mar 2024 19:10:24 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmM8E-0007Il-Oi for guix-patches@gnu.org; Mon, 18 Mar 2024 19:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69887] [PATCH] gnu: Add python-ical2orgpy. Resent-From: Benjamin Slade Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Mar 2024 23:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69887 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69887@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171080341827961 (code B ref -1); Mon, 18 Mar 2024 23:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2024 23:10:18 +0000 Received: from localhost ([127.0.0.1]:49204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmM7V-0007Gn-4y for submit@debbugs.gnu.org; Mon, 18 Mar 2024 19:10:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:42188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmM47-00077a-3U for submit@debbugs.gnu.org; Mon, 18 Mar 2024 19:06:47 -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 1rmLrM-0003ih-KO for guix-patches@gnu.org; Mon, 18 Mar 2024 18:53:36 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rmLrK-00006W-94 for guix-patches@gnu.org; Mon, 18 Mar 2024 18:53:36 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::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-202.mailbox.org (Postfix) with ESMTPS id 4Tz9BL64Mvz9sb6 for ; Mon, 18 Mar 2024 23:53:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lambda-y.net; s=MBO0001; t=1710802410; 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=Hcn+6ioFeqJmgbDRsjdmz5Pc9ByUhcAHY28zSBqeQtw=; b=wiu4TuLXGDIxx7Rx8/tECpy/uF6hpPDz64HIkMzeA+qV8Mv101YXH0cpPnRO6kPbbP6KLS iOHya6JPOqZSZgnicVh7ILK0PxEt1yxavk7mnK++XHchUigty/mwHknjGYtr9G6pe1l5lk NVviDNhYCF8T094xFa/z1do3ByWPc6is9zggwXQYtUIlgc9ihHnKjs6NUqhyvV9KTvSpBz DrJkOGDHoiUHxhl2SXw4skojQMq5IwrXlV/NlfGAf4VA+YwLoLLw9mkJ1b/gyEGCQO2s/d LYLw0Sh3E7VGHqYa5sFopaIKuvY8ZXyNaDIjV2bZcCzuBVgwADTLaN3Hcwrc9w== From: Benjamin Slade Date: Mon, 18 Mar 2024 17:53:28 -0500 Message-ID: <87plvrxic7.fsf@lambda-y.net> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Tz9BL64Mvz9sb6 Received-SPF: none client-ip=80.241.56.172; envelope-from=slade@lambda-y.net; helo=mout-p-202.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, RCVD_IN_MSPIKE_H2=-0.001, 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 edfc5be31a37f0c9ae0c5e7297a237645ab92e32 Mon Sep 17 00:00:00 2001 From: Benjamin Slade Date: Mon, 18 Mar 2024 17:52:06 -0500 Subject: [PATCH] gnu: Add python-ical2orgpy. * gnu/packages/python-xyz.scm (python-ical2orgpy): New variable --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1f3272e..20ead67 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17623,6 +17623,36 @@ (define-public python-execnet (home-page "https://codespeak.net/execnet/") (license license:expat)))) +(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 exported + from google calendar) into an org-mode document. It is conceived as a replacement 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 events 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+))) + (define-public python-recurring-ical-events (package (name "python-recurring-ical-events") -- 2.41.0