all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pradana Adrinusa AUMARS via Guix-patches via <guix-patches@gnu.org>
To: 50397@debbugs.gnu.org
Subject: [bug#50397] [PATCH] Add python-crontab
Date: Sun, 05 Sep 2021 17:58:30 +0200	[thread overview]
Message-ID: <89eb017be5ce1671ac0bf72867ad60c1a227da63.camel@courrier.dev> (raw)
In-Reply-To: <5113d945191397a32d6b004e70a41e43189b0bc5.camel@courrier.dev>

From ff85b76d2f3b70887dfed17e3d8470c0761a7a28 Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <paumars@courrier.dev>
Date: Sun, 5 Sep 2021 17:56:31 +0200
Subject: [PATCH] Add python-crontab

---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c70829de9..625415bb90 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,6 +108,7 @@
 ;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr>
 ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
 ;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
+;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26556,3 +26557,26 @@ files and directories and adds a datestamp in standard ISO 8601+ format
 YYYY-MM-DD at the beginning of the file or directory name.")
       (home-page "https://github.com/novoid/date2name")
       (license license:gpl3+))))
+
+(define-public python-crontab
+  (package
+   (name "python-crontab")
+   (version "2.5.1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri name version))
+     (sha256
+      (base32
+       "0cccrqc10r8781ba81x8r2frs3pl2m4hkm599k5358ak0xr7xgjb"))))
+   (build-system python-build-system)
+   (arguments
+    ;; Comptability tests fail so they are disabled.
+    `(#:tests? #f))
+   (inputs
+    `(("python-dateutil" ,python-dateutil)))
+   (synopsis "Module for reading and writing crontab files")
+   (description "This Python module can read, write crontab files, and
+access the system cron automatically and simply using a direct API.")
+   (home-page "https://gitlab.com/doctormo/python-crontab/")
+   (license license:lgpl3+)))
-- 
2.33.0






  parent reply	other threads:[~2021-09-05 15:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05  7:57 [bug#50397] [PATCH] gnu: Add python-crontab Pradana Adrinusa AUMARS via Guix-patches via
2021-09-05 13:29 ` Xinglu Chen
2021-09-05 15:57   ` Pradana Adrinusa AUMARS via Guix-patches via
2021-09-05 15:58 ` Pradana Adrinusa AUMARS via Guix-patches via [this message]
2021-09-06 10:59   ` [bug#50397] [PATCH] " Xinglu Chen
2021-09-14  6:56   ` Nicolas Goaziou

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89eb017be5ce1671ac0bf72867ad60c1a227da63.camel@courrier.dev \
    --to=guix-patches@gnu.org \
    --cc=50397@debbugs.gnu.org \
    --cc=paumars@courrier.dev \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.