~ruther/guix-local

32d69c2943b02ecad941c2b522b9886a4119c34e — Sharlatan Hellseher 2 months ago 2e7ff3c
gnu: awslogs: Update to 0.15.0.

* gnu/packages/web.scm (awslogs): Update to 0.15.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Drop all.
[native-inputs]: Add python-pytest and python-setuptools.
[description]: Mention availability of the same functionality in
official AWS CLI tool.

Change-Id: I850ac706c40d731212143c608fec44afe0b0d300
1 files changed, 12 insertions(+), 24 deletions(-)

M gnu/packages/web.scm
M gnu/packages/web.scm => gnu/packages/web.scm +12 -24
@@ 9965,40 9965,28 @@ the Fediring.")
(define-public awslogs
  (package
    (name "awslogs")
    (version "0.14.0")
    (version "0.15.0")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "awslogs" version))
              (sha256
               (base32
                "0zpp72ixxz18mf1kay7l07sbmf80mik30zw6p4wsxpraza3ry90v"))))
    ;; XXX: doesn't work with pyproject-build-system
    (build-system python-build-system)
    (arguments
     (list
      #:phases
      '(modify-phases %standard-phases
         (add-after 'unpack 'relax-requirements
           (lambda _
             (substitute* "setup.py"
               (("'jmespath>=0.7.1.*',")
                "'jmespath>=0.7.1',"))))
         (add-after 'unpack 'patch-tests
           (lambda _
             ;; XXX These tests fail for unknown reasons, and we can't easily
             ;; figure out why, because stdout is redirected to a string.
             (substitute* "tests/test_it.py"
               (("test_main_get_with_color")
                "_skip_test_main_get_with_color")
               (("test_main_get_query")
                "_skip_test_main_get_query")))))))
                "1maxahp9la2jdcgrgf3abq4jjr80jg9b354xd2hcw0q73jxj7whr"))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-pytest
           python-setuptools))
    (propagated-inputs
     (list python-boto3 python-jmespath python-dateutil python-termcolor))
     (list python-boto3
           python-jmespath
           python-dateutil
           python-termcolor))
    (home-page "https://github.com/jorgebastida/awslogs")
    (synopsis "Command line tool to read AWS CloudWatch logs")
    (description
     "This package provides awslogs, a simple command line tool to download
and read AWS CloudWatch logs.")
and read AWS CloudWatch logs.  The same functionality is available from
@code{aws logs tail}.")
    (license license:bsd-3)))

(define-public orcania