unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Benjamin Slade <slade@lambda-y.net>
To: 69887@debbugs.gnu.org
Subject: [bug#69887] [PATCH] gnu: Add python-ical2orgpy.
Date: Mon, 18 Mar 2024 17:53:28 -0500	[thread overview]
Message-ID: <87plvrxic7.fsf@lambda-y.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-ical2orgpy.patch --]
[-- Type: text/x-patch, Size: 2140 bytes --]

From edfc5be31a37f0c9ae0c5e7297a237645ab92e32 Mon Sep 17 00:00:00 2001
From: Benjamin Slade <slade@lambda-y.net>
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


             reply	other threads:[~2024-03-18 23:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18 22:53 Benjamin Slade [this message]
2024-03-20 19:38 ` [bug#69887] [PATCH] gnu: Add python-ical2orgpy Skyler Ferris via Guix-patches via

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=87plvrxic7.fsf@lambda-y.net \
    --to=slade@lambda-y.net \
    --cc=69887@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).