From patchwork Tue Nov 17 12:36:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 25169 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 7505D27BBF6; Tue, 17 Nov 2020 12:37:09 +0000 (GMT) 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_H4,RCVD_IN_MSPIKE_WL,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 D9EE327BBF5 for ; Tue, 17 Nov 2020 12:37:08 +0000 (GMT) Received: from localhost ([::1]:56852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kf0EO-0005zR-3C for patchwork@mira.cbaines.net; Tue, 17 Nov 2020 07:37:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf0EI-0005xj-B9 for guix-patches@gnu.org; Tue, 17 Nov 2020 07:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kf0EI-0001Hr-1j for guix-patches@gnu.org; Tue, 17 Nov 2020 07:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kf0EH-0003rd-Ua for guix-patches@gnu.org; Tue, 17 Nov 2020 07:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44640] [PATCH 3/3] gnu: Add python-git-hammer. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Nov 2020 12:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44640 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 44640@debbugs.gnu.org Received: via spool by 44640-submit@debbugs.gnu.org id=B44640.160561658714810 (code B ref 44640); Tue, 17 Nov 2020 12:37:01 +0000 Received: (at 44640) by debbugs.gnu.org; 17 Nov 2020 12:36:27 +0000 Received: from localhost ([127.0.0.1]:58642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf0Dj-0003qo-4U for submit@debbugs.gnu.org; Tue, 17 Nov 2020 07:36:27 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:2978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf0Dg-0003qe-NJ for 44640@debbugs.gnu.org; Tue, 17 Nov 2020 07:36:26 -0500 Received: from nijino.local (217-149-162-128.nat.highway.telekom.at [217.149.162.128]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Cb55w3WfCz1LLyb; Tue, 17 Nov 2020 13:36:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Cb55w3WfCz1LLyb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1605616580; bh=2idRloV2eilagI3oIAtEnc65Gptg53+jAVnThEaQ4AY=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=DuF26rpLmt+F4pY1lHMTRvEkBNtGheca6qLwT3/KxZgBLyBiiKNMGqu4O2B2oR+dd S77Fxen7/XbE8579oayN2VK7FSMTb1pZGvpAFAF7/quzs7MCEajJ98orgt6MJJr2d3 Sspch8QwAGQVezuaoK77WaPZQuTxpJAZVxx9WdFE= Message-ID: From: Leo Prikler Date: Tue, 17 Nov 2020 13:36:19 +0100 In-Reply-To: <12e66a141b28fcc6c4151b48928b25de1c8988a1.camel@student.tugraz.at> References: <20201114170047.949-1-leo.prikler@student.tugraz.at> <20201114170047.949-3-leo.prikler@student.tugraz.at> <20201117105051.GV987@E5400> <12e66a141b28fcc6c4151b48928b25de1c8988a1.camel@student.tugraz.at> User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches Attached are the revised patches 0002 and 0003. From c4f64923fafab6585ab7d6858d9e44dc59fb31e7 Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Tue, 17 Nov 2020 13:22:22 +0100 Subject: [PATCH 3/3] gnu: Add python-git-hammer. * gnu/packages/python-xyz.scm (python-git-hammer): New variable. --- gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 02ec4aec64..11e0570253 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18298,6 +18298,46 @@ supports the globstar @code{**} operator to match an arbitrary number of path components.") (license license:asl2.0))) +(define-public python-git-hammer + (package + (name "python-git-hammer") + (version "0.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/asharov/git-hammer") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0f9xlk86ijzpdj25hr1q4wcy8k72v3w470ngwm9mpdkfj8ng84wr")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-setup.py + (lambda _ + (substitute* "setup.py" + (("setup\\(") + "setup(\n test_suite=\"test\","))))))) + (propagated-inputs + `(("python-beautifultable" ,python-beautifultable) + ("python-dateutil" ,python-dateutil) + ("python-gitpython" ,python-gitpython) + ("python-globber" ,python-globber) + ("python-matplotlib" ,python-matplotlib) + ("python-sqlalchemy" ,python-sqlalchemy) + ("python-sqlalchemy-utils" + ,python-sqlalchemy-utils))) + (home-page "https://github.com/asharov/git-hammer") + (synopsis "Provide statistics for git repositories") + (description + "Git Hammer is a statistics tool for projects in git repositories. +Its major feature is tracking the number of lines authored by each person for every +commit, but it also includes some other useful statistics.") + (license license:asl2.0))) + (define-public python-fusepy (package (name "python-fusepy") -- 2.29.2