From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +HFVHXH5118MegAA0tVLHw (envelope-from ) for ; Mon, 14 Dec 2020 23:46:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8AwIGXH511/WVQAAbx9fmQ (envelope-from ) for ; Mon, 14 Dec 2020 23:46:57 +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 3F63694042F for ; Mon, 14 Dec 2020 23:46:57 +0000 (UTC) Received: from localhost ([::1]:52180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koxYN-0001Sa-1E for larch@yhetil.org; Mon, 14 Dec 2020 18:46:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koxXW-0000wy-47 for guix-patches@gnu.org; Mon, 14 Dec 2020 18:46:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koxXV-00008S-SM for guix-patches@gnu.org; Mon, 14 Dec 2020 18:46:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koxXV-0001Ek-Pv for guix-patches@gnu.org; Mon, 14 Dec 2020 18:46:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45247] [PATCH] gnu: httpstat: Update to 1.3.0. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Dec 2020 23:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45247 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45247@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16079895574739 (code B ref -1); Mon, 14 Dec 2020 23:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Dec 2020 23:45:57 +0000 Received: from localhost ([127.0.0.1]:54864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koxXQ-0001EN-KI for submit@debbugs.gnu.org; Mon, 14 Dec 2020 18:45:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:45000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koxXP-0001EF-1I for submit@debbugs.gnu.org; Mon, 14 Dec 2020 18:45:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koxXO-0000sF-Oa for guix-patches@gnu.org; Mon, 14 Dec 2020 18:45:54 -0500 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:48620) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koxXM-0008Us-7K for guix-patches@gnu.org; Mon, 14 Dec 2020 18:45:54 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1koxXH-00078w-Gj; Tue, 15 Dec 2020 00:45:47 +0100 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1koxXA-0007RN-Ie; Tue, 15 Dec 2020 00:45:47 +0100 From: Michael Rohleder Date: Tue, 15 Dec 2020 00:45:33 +0100 Message-Id: <20201214234533.18458-1-mike@rohleder.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1607989552;4ae11e46; X-HE-SMSGID: 1koxXH-00078w-Gj Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.19 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 3F63694042F X-Spam-Score: 0.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: 50O+/0zG1Jra * gnu/packages/networking.scm (httpstat): Update to 1.3.0. [source]: Changed uri from pypi-uri to git-reference. [arguments]: Add substitution for changed time units of curl. --- gnu/packages/networking.scm | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 1226b8606f..4fcdaeef05 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -41,6 +41,7 @@ ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Jesse Dowell ;;; Copyright © 2020 Hamzeh Nasajpour +;;; Copyright © 2020 Michael Rohleder ;;; ;;; This file is part of GNU Guix. ;;; @@ -1555,14 +1556,17 @@ application stack itself.") (define-public httpstat (package (name "httpstat") - (version "1.2.1") + (version "1.3.0") (source (origin - (method url-fetch) - (uri (pypi-uri "httpstat" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/reorx/httpstat") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1chw2nk56vaq87aba012a270k9na06hfx1pfbsrc3jfvlc2kb9hb")))) + "18k2glnyzxlmry19ijmndim2vqqn3c86smd7xc3haw6k7qafifx1")))) (build-system python-build-system) (inputs `(("curl" ,curl))) (arguments @@ -1574,7 +1578,10 @@ application stack itself.") (("ENV_CURL_BIN.get\\('curl'\\)") (string-append "ENV_CURL_BIN.get('" (assoc-ref inputs "curl") - "/bin/curl')"))) + "/bin/curl')")) + ;; "curl -w time_*" units seems to have + ;; changed from seconds to nanoseconds. + (("d\\[k\\] \\* 1000") "d[k] / 1000")) #t))))) (home-page "https://github.com/reorx/httpstat") (synopsis "Visualize curl statistics") -- 2.29.2