guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python-prometheus-client: Remove duplicate.


From: guix-commits
Subject: 01/01: gnu: python-prometheus-client: Remove duplicate.
Date: Mon, 4 Feb 2019 05:46:22 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 05b4b3ea05b2a9e0c769fe3418c54a2819447a25
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Feb 4 11:45:13 2019 +0100

    gnu: python-prometheus-client: Remove duplicate.
    
    * gnu/packages/monitoring.scm (python-prometheus-client): Update to 0.5.0.
    * gnu/packages/python-xyz.scm (python-prometheus-client,
    python2-prometheus-client): Remove variables.
---
 gnu/packages/monitoring.scm |  8 +++++---
 gnu/packages/python-xyz.scm | 25 -------------------------
 2 files changed, 5 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index a638dd7..4384406 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2018 Sou Bunnbu <address@hidden>
-;;; Copyright © 2017, 2018 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2018 Gábor Boskovits <address@hidden>
 ;;; Copyright © 2018 Oleg Pykhalov <address@hidden>
@@ -371,18 +371,20 @@ demand.")
 (define-public python-prometheus-client
   (package
     (name "python-prometheus-client")
-    (version "0.1.1")
+    (version "0.5.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "prometheus_client" version))
        (sha256
         (base32
-         "164qzzg8q8awqk0angcm87p2sjiibaj1wgjz0xk6j0klvqi5q2mz"))))
+         "0g7rpv1pq2lab1nfqdx98z9d3bqwc400alg1j4ynrpjkrbsizhg8"))))
     (build-system python-build-system)
     (arguments
      '(;; No included tests.
        #:tests? #f))
+    (propagated-inputs
+     `(("python-twisted" ,python-twisted)))
     (home-page
      "https://github.com/prometheus/client_python";)
     (synopsis "Python client for the Prometheus monitoring system")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 992a750..ae3e005 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6732,31 +6732,6 @@ convert an @code{.ipynb} notebook file into various 
static formats including:
 (define-public python2-nbconvert
   (package-with-python2 python-nbconvert))
 
-(define-public python-prometheus-client
-  (package
-    (name "python-prometheus-client")
-    (version "0.5.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "prometheus_client" version))
-       (sha256
-        (base32
-         "0g7rpv1pq2lab1nfqdx98z9d3bqwc400alg1j4ynrpjkrbsizhg8"))))
-    (build-system python-build-system)
-    (arguments '(#:tests? #f)) ; tests are not included
-    (propagated-inputs
-     `(("python-twisted" ,python-twisted)))
-    (home-page "https://github.com/prometheus/client_python";)
-    (synopsis "Python client for the Prometheus monitoring system")
-    (description
-     "This package provides a Python client for the Prometheus monitoring
-system.")
-    (license license:asl2.0)))
-
-(define-public python2-prometheus-client
-  (package-with-python2 python-prometheus-client))
-
 (define-public python-notebook
   (package
     (name "python-notebook")



reply via email to

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