From patchwork Wed May 29 00:33:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hamzeh Nasajpour X-Patchwork-Id: 14122 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 4754417052; Wed, 29 May 2019 01:35:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CDA4517050 for ; Wed, 29 May 2019 01:35:07 +0100 (BST) Received: from localhost ([127.0.0.1]:44755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmYc-0007Iv-MB for patchwork@mira.cbaines.net; Tue, 28 May 2019 20:35:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmYZ-0007Hb-Ue for guix-patches@gnu.org; Tue, 28 May 2019 20:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVmYZ-0000T8-05 for guix-patches@gnu.org; Tue, 28 May 2019 20:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44190) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVmYY-0000T0-Sd for guix-patches@gnu.org; Tue, 28 May 2019 20:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVmYY-00064s-Og for guix-patches@gnu.org; Tue, 28 May 2019 20:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35971] [PATCH 39/47] gnu: Add python-relativetimebuilder. Resent-From: "h.nasajpour" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 May 2019 00:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35971 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35971@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155909004923239 (code B ref -1); Wed, 29 May 2019 00:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 May 2019 00:34:09 +0000 Received: from localhost ([127.0.0.1]:57724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVmXg-00062l-L8 for submit@debbugs.gnu.org; Tue, 28 May 2019 20:34:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVmXf-00062N-Ad for submit@debbugs.gnu.org; Tue, 28 May 2019 20:34:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:60649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVmXa-0007IW-6x for submit@debbugs.gnu.org; Tue, 28 May 2019 20:34:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmXY-0006yw-Vg for guix-patches@gnu.org; Tue, 28 May 2019 20:34:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVmXX-0007Ei-Uz for guix-patches@gnu.org; Tue, 28 May 2019 20:34:00 -0400 Received: from 37.59.236.227.rdns.hasaserver.com ([37.59.236.227]:55879 helo=hamzeh-VirtualBox.Home) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmXX-0007DQ-DY for guix-patches@gnu.org; Tue, 28 May 2019 20:33:59 -0400 Received: by hamzeh-VirtualBox.Home (Postfix, from userid 0) id 626591A154B; Wed, 29 May 2019 05:03:57 +0430 (+0430) From: "h.nasajpour" Date: Wed, 29 May 2019 05:03:55 +0430 Message-Id: <20190529003355.2951-1-h.nasajpour@pantherx.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "h.nasajpour" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/time.scm (python-relativetimebuilder): New variable --- gnu/packages/time.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 9bbfe07803..1363843b31 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -381,6 +381,28 @@ datetime type.") (define-public python2-aniso8601 (package-with-python2 python-aniso8601)) +(define-public python-relativetimebuilder + (package + (name "python-relativetimebuilder") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "relativetimebuilder" version)) + (sha256 (base32 "0dxj2jci4jsqv0w4alhj9lbrw9qdxkdl2y7mnk0xns7i2ps0i1jn")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (propagated-inputs + `( + ("python-aniso8601",python-aniso8601) + ("python-dateutil",python-dateutil) + )) + (home-page "https://bitbucket.org/nielsenb/relativetimebuilder/src/master/") + (synopsis "aniso8601 builder for dateutil relativedeltas") + (description + "A library for using the dateutil relativedeltas for calendar precision with aniso8601") + (license license:expat))) + (define-public datefudge (package (name "datefudge")