From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WHVgLA/pNGEqUAEAgWs5BA (envelope-from ) for ; Sun, 05 Sep 2021 17:58:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KJbiJw/pNGGbRQAAbx9fmQ (envelope-from ) for ; Sun, 05 Sep 2021 15:58:07 +0000 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 F1DA81DE04 for ; Sun, 5 Sep 2021 17:58:06 +0200 (CEST) Received: from localhost ([::1]:38718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMuX0-0002Ed-5y for larch@yhetil.org; Sun, 05 Sep 2021 11:58:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMuWw-0002EU-5z for guix-patches@gnu.org; Sun, 05 Sep 2021 11:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMuWv-0004e9-Un for guix-patches@gnu.org; Sun, 05 Sep 2021 11:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMuWv-0004xM-Tj for guix-patches@gnu.org; Sun, 05 Sep 2021 11: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 15:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50397 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50397@debbugs.gnu.org Received: via spool by 50397-submit@debbugs.gnu.org id=B50397.163085747519040 (code B ref 50397); Sun, 05 Sep 2021 15:58:01 +0000 Received: (at 50397) by debbugs.gnu.org; 5 Sep 2021 15:57:55 +0000 Received: from localhost ([127.0.0.1]:50805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMuWp-0004x1-Em for submit@debbugs.gnu.org; Sun, 05 Sep 2021 11:57:55 -0400 Received: from mail.42l.fr ([185.216.27.142]:42382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMuWm-0004ws-Vm for 50397@debbugs.gnu.org; Sun, 05 Sep 2021 11:57:53 -0400 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=courrier.dev; s=mail; t=1630857468; bh=wFzgjRtaQ8ghAYZc6GPRHFEeFcfqZYyJM8dmBwXgTag=; h=Subject:From:To:In-Reply-To:References; b=t7n9SpcB2FvVs0/JUHGrvhHuEk0wsOjGxAk3X9ZVbJbAK2FwMKNauuQS8P5ydKDoZ NIeFUcSouKK/NxR2rrbrpNcHA+ccY1aP9oyN1VKXl5cqZg/eU9ZFeLfGTbTExw8T16 ScUJFvlc206u5voyxIDBVk7cS6bWMOLFmx0GNyfKPgQsYy+RIXOv17OlRBCSXpP4he 8r9m8dFyRTNH/s3JNa28ZrSxAnSUb5iLLRa0EiSCIM6ZGn6V0vJmPRGpJaM6nGM5sT w01q8FTqi4dUWlGWPxttSh/zVe4L/Rmj2TGArW4F1aJxuSR36AdMR8A2ix3rOz+qtm sC1CYOvYD0ylA== Date: Sun, 05 Sep 2021 17:57:48 +0200 In-Reply-To: <87a6kr40cf.fsf@yoctocell.xyz> References: <5113d945191397a32d6b004e70a41e43189b0bc5.camel@courrier.dev> <87a6kr40cf.fsf@yoctocell.xyz> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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" Reply-to: Pradana Adrinusa AUMARS X-ACL-Warn: , Pradana Adrinusa AUMARS via Guix-patches From: Pradana Adrinusa AUMARS via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630857487; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=W/w5NkW4XgmRI2PI4uZV+hkhfueRt+FsLtInYEIeDvg=; b=gsbAcvSSsvPyEwSKwkpx7KwIFy6WMWfdJj8pPFnqqapxelOgGqXGjO8O+XvzcbNICBA0pL 9COZdPQjn4PPbErK5ybx764C2Wi6tl8DnKjMNH0RuB23rjUwAvk+S1j6X3r5vU+dO3cqIL Psf5mTOxmHAVcmr6jS7y/UMpqArR8yAn5pW6AywGdAl+97UgHgLIOHirFuQk2/sOpG6n/O p7K9/0PGhoBKOYcXscG0JXpyplbYN1u/uAxJVmMquGjyJ4S6C8DT4z8G5qMxlbSOjaKL4w wJVmIItOUkY1Yemy+A/bZBpLKaz8nkljJYeRuPNhshl8H5/zDO3WM6bgd9K5rg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630857487; a=rsa-sha256; cv=none; b=ezzcEMmAxvReRDBCZ1JkYt9esj7Z12a+BFvbF+WIJQ+U6lM4utr9IAGnxGReriwSXS3J+K q7bcqetAZmbceHSZGAkDUOVSHXbtWfbp0qi8mbbZksnhS13tz9tX6C0D+CtPJLlistr52g Bz3IIjfHQdaX7rwSmxlQn/ZbdMeTI81NHTMt70l0S8BOWZGbxBIWS5lQWwjSy8nPXH9axP RDBXEjZU9+CqZgAY84Um7Wg84VGhjAy2AZoceC3q6wFQdeSQOhBDQAquUXPah9EKm0CES2 T5zyqlrIMp0lu6en0tOXAiDfw52PAIDzEjYowFpd3iWI1dleURutnD1d5evs4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=courrier.dev header.s=mail header.b=t7n9SpcB; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=courrier.dev header.s=mail header.b=t7n9SpcB; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: F1DA81DE04 X-Spam-Score: -2.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: bzBzItwM5bkF Le dimanche 05 septembre 2021 à 15:29 +0200, Xinglu Chen a écrit : > On Sun, Sep 05 2021, Pradana Adrinusa AUMARS via Guix-patches via > wrote: > > > 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 < > > franck.perignon@univ-grenoble-alpes.fr> > > ;;; 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)) > > What’s the reason for disabling tests? There is a test directory in > the > Git repo; maybe test tests aren’t included in the PyPi tarball? If > so, > I would suggest using the Git repo instead. Compatibility tests fail so they are disabled, they are also disabled in the AUR so I assumed they are unnecessary. > > > + (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.") > > The description should consists of one or more complete sentences, > see > “16.4.4 Synopses and Descriptions” in the manual. Maybe prefix the > description with “This Python package provides a …”? > > This Python package provides a crontab module for reading and > writing > crontab files and accessing the system cron automatically and simply > using a direct API. > > Also, wrap lines at 80 characters. Applied. > > > + (home-page "https://gitlab.com/doctormo/python-crontab/") > > + (license license:lgpl3+))) > > -- > > 2.33.0 > > I am having some trouble applying the patch. > > --8<---------------cut here---------------start------------->8--- > Applying: gnu: Add python-crontab > error: sha1 information is lacking or useless (gnu/packages/python- > xyz.scm). > error: could not build fake ancestor > hint: Use 'git am --show-current-patch=diff' to see the failed patch > Patch failed at 0001 gnu: Add python-crontab > When you have resolved this problem, run "git am --continue". > If you prefer to skip this patch, run "git am --skip" instead. > To restore the original branch and stop patching, run "git am -- > abort". > --8<---------------cut here---------------end--------------->8--- > > Are you able to apply it to the ‘master’ branch, or is it just me? My mistake. There was a trailing whitespace. This has been fixed. I will send a new fixed patch.