From patchwork Sun Sep 5 07:57:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pradana Adrinusa AUMARS X-Patchwork-Id: 32635 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 122E727BBE3; Sun, 5 Sep 2021 08:58:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BD95127BBE1 for ; Sun, 5 Sep 2021 08:58:10 +0100 (BST) Received: from localhost ([::1]:50666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMn2X-0001x1-Oq for patchwork@mira.cbaines.net; Sun, 05 Sep 2021 03:58:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMn2Q-0001wr-Cx for guix-patches@gnu.org; Sun, 05 Sep 2021 03:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMn2Q-0008Sj-0j for guix-patches@gnu.org; Sun, 05 Sep 2021 03:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMn2P-0006zR-UC for guix-patches@gnu.org; Sun, 05 Sep 2021 03:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50397] [PATCH] gnu: Add python-crontab Resent-From: Pradana Adrinusa AUMARS Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Sep 2021 07:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50397 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50397@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163082867926858 (code B ref -1); Sun, 05 Sep 2021 07:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2021 07:57:59 +0000 Received: from localhost ([127.0.0.1]:49099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMn2I-0006z4-UY for submit@debbugs.gnu.org; Sun, 05 Sep 2021 03:57:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:54074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMn2H-0006yx-H6 for submit@debbugs.gnu.org; Sun, 05 Sep 2021 03:57:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMn2H-0001wh-7l for guix-patches@gnu.org; Sun, 05 Sep 2021 03:57:53 -0400 Received: from mail.42l.fr ([185.216.27.142]:45616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMn2E-00088Y-ID for guix-patches@gnu.org; Sun, 05 Sep 2021 03:57:52 -0400 Message-ID: <5113d945191397a32d6b004e70a41e43189b0bc5.camel@courrier.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=courrier.dev; s=mail; t=1630828657; bh=vui6JVEdqswt/gfHh3GQLh2Igc++3+GbepQtSnXq/P4=; h=Subject:From:To; b=jarq3KahyeWcxVgA0PGK4Cx/Q7PlMLdYTZRK3gLbsZsww6vk15GqNbXFxsbDPCdDU Y3ZAAevcRvX8+1zgSu7m1IyabOvDdTS2dPxm4ObIA9SvrMbbi54B1W3R3ytvWNSU6+ dYgjIVhe4ebjpxgnwfIrtIugIQfrrzhnVzrSBtSV0uZ12m3EQ5Kiy97V3pxcje97lU zuj+X89SZGGrNBva/L7w4PtWBUl2dNXwyhkaESd9a6SpsdopFcASs5W/njqemIvrcg QMgG9Ue8Hh9H7Z6/LDK3P2vgk7xO4SHJamsJmZVvAg71p+6UjIKyMXjHBtpBavlKPw EIxyyyGX6BFLw== Date: Sun, 05 Sep 2021 09:57:36 +0200 Mime-Version: 1.0 Received-SPF: pass client-ip=185.216.27.142; envelope-from=SRS0=RMsD=N3=courrier.dev=paumars@42l.fr; helo=mail.42l.fr X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" Reply-to: Pradana Adrinusa AUMARS X-ACL-Warn: , Pradana Adrinusa AUMARS via Guix-patches X-Patchwork-Original-From: Pradana Adrinusa AUMARS via Guix-patches via From: Pradana Adrinusa AUMARS X-getmail-retrieved-from-mailbox: Patches From 1a41d362dd97eae4c236c689bea871d0512c2f4d Mon Sep 17 00:00:00 2001 From: Pradana AUMARS Date: Sun, 5 Sep 2021 09:46:58 +0200 Subject: [PATCH] gnu: Add python-crontab * gnu/packages/python-xyz.scm (python-crontab): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7c70829de9..bbc5bad51c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -108,6 +108,7 @@ ;;; Copyright © 2021 Franck Pérignon ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2021 Simon Streit +;;; Copyright © 2021 Pradana Aumars ;;; ;;; This file is part of GNU Guix. ;;; @@ -26556,3 +26557,25 @@ 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 + `(#:tests? #f)) + (native-inputs + `(("python-dateutil" ,python-dateutil))) + (synopsis "Module for reading and writing crontab files") + (description "Crontab module for reading and writing crontab files and accessing the +system cron automatically and simply using a direct API.") + (home-page "https://gitlab.com/doctormo/python-crontab/") + (license license:lgpl3+)))