gnu: tailon: Update to 1.4.3.
* gnu/packages/logging.scm (tailon): Update to 1.4.3. [native-inputs]: Add python-tox, python-wheel. [inputs]: Use python-pyyaml-5 instead of python-pyyaml. Relax tornado version requirement. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
		
							parent
							
								
									33366f196e
								
							
						
					
					
						commit
						b47aae7f85
					
				
					 1 changed files with 23 additions and 15 deletions
				
			
		| 
						 | 
					@ -51,6 +51,7 @@
 | 
				
			||||||
  #:use-module (gnu packages perl)
 | 
					  #:use-module (gnu packages perl)
 | 
				
			||||||
  #:use-module (gnu packages pkg-config)
 | 
					  #:use-module (gnu packages pkg-config)
 | 
				
			||||||
  #:use-module (gnu packages python)
 | 
					  #:use-module (gnu packages python)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages python-build)
 | 
				
			||||||
  #:use-module (gnu packages python-web)
 | 
					  #:use-module (gnu packages python-web)
 | 
				
			||||||
  #:use-module (gnu packages python-xyz)
 | 
					  #:use-module (gnu packages python-xyz)
 | 
				
			||||||
  #:use-module (gnu packages tcl)
 | 
					  #:use-module (gnu packages tcl)
 | 
				
			||||||
| 
						 | 
					@ -115,36 +116,43 @@ particular severity level.  It allows logging to be controlled from the
 | 
				
			||||||
command line.")
 | 
					command line.")
 | 
				
			||||||
    (license license:bsd-3)))
 | 
					    (license license:bsd-3)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					;; This is the legacy version of the tailon package.  The new version, written
 | 
				
			||||||
 | 
					;; in Go in available here: https://github.com/gvalkov/tailon.
 | 
				
			||||||
(define-public tailon
 | 
					(define-public tailon
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "tailon")
 | 
					    (name "tailon")
 | 
				
			||||||
    (version "1.3.0")
 | 
					    (version "1.4.3")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (pypi-uri name version))
 | 
					       (uri (pypi-uri name version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
         "0wl2wm6p3pc0vkk33s7rzgcfvs9cwxfmlz997pdfhlw72r00l7s5"))))
 | 
					         "0xkmrivzilsc9wqr8ms67v7399gxnh7pv5687k4rdpdgz4309fwc"))))
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     (list python-tox python-wheel))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     (list python-pyyaml python-sockjs-tornado python-tornado-http-auth
 | 
					     (list python-pyyaml-5 python-sockjs-tornado python-tornado-http-auth
 | 
				
			||||||
           python-tornado))
 | 
					           python-tornado python-deepmerge))
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-after 'unpack 'patch-commands.py
 | 
					         (add-after 'unpack 'patch-commands.py
 | 
				
			||||||
                     (lambda args
 | 
					           (lambda args
 | 
				
			||||||
                       (substitute* "tailon/commands.py"
 | 
					             (substitute* "tailon/commands.py"
 | 
				
			||||||
                         (("self\\.first_in_path\\('grep'\\)")
 | 
					               (("self\\.first_in_path\\('grep'\\)")
 | 
				
			||||||
                          (string-append"'" (which "grep") "'"))
 | 
					                (string-append"'" (which "grep") "'"))
 | 
				
			||||||
                         (("self\\.first_in_path\\('gawk', 'awk'\\)")
 | 
					               (("self\\.first_in_path\\('gawk', 'awk'\\)")
 | 
				
			||||||
                          (string-append"'" (which "gawk") "'"))
 | 
					                (string-append"'" (which "gawk") "'"))
 | 
				
			||||||
                         (("self\\.first_in_path\\('gsed', 'sed'\\)")
 | 
					               (("self\\.first_in_path\\('gsed', 'sed'\\)")
 | 
				
			||||||
                          (string-append"'" (which "sed") "'"))
 | 
					                (string-append"'" (which "sed") "'"))
 | 
				
			||||||
                         (("self\\.first_in_path\\('gtail', 'tail'\\)")
 | 
					               (("self\\.first_in_path\\('gtail', 'tail'\\)")
 | 
				
			||||||
                          (string-append"'" (which "tail") "'")))
 | 
					                (string-append"'" (which "tail") "'")))))
 | 
				
			||||||
                       #t)))))
 | 
					         (add-after 'unpack 'relax-requirements
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "setup.py"
 | 
				
			||||||
 | 
					               ((",<5.0.0") "")))))))
 | 
				
			||||||
    (home-page "https://tailon.readthedocs.io/")
 | 
					    (home-page "https://tailon.readthedocs.io/")
 | 
				
			||||||
    (synopsis
 | 
					    (synopsis
 | 
				
			||||||
     "Webapp for looking at and searching through log files")
 | 
					     "Webapp for looking at and searching through log files")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue