emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45247: closed ([PATCH] gnu: httpstat: Update to 1.3.0.)


From: GNU bug Tracking System
Subject: bug#45247: closed ([PATCH] gnu: httpstat: Update to 1.3.0.)
Date: Mon, 21 Dec 2020 16:45:03 +0000

Your message dated Mon, 21 Dec 2020 17:44:27 +0100
with message-id <87blen5ct0.fsf@gnu.org>
and subject line Re: [bug#45247] [PATCH] gnu: httpstat: Update to 1.3.0.
has caused the debbugs.gnu.org bug report #45247,
regarding [PATCH] gnu: httpstat: Update to 1.3.0.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
45247: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45247
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: httpstat: Update to 1.3.0. Date: Tue, 15 Dec 2020 00:45:33 +0100
* 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 <kuba@kadziolka.net>
 ;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com>
 ;;; Copyright © 2020 Hamzeh Nasajpour <h.nasajpour@pantherx.org>
+;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
 ;;;
 ;;; 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#45247] [PATCH] gnu: httpstat: Update to 1.3.0. Date: Mon, 21 Dec 2020 17:44:27 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Hi,

Michael Rohleder <mike@rohleder.de> skribis:

> * 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.

Applied, thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]