~ruther/guix-local

faf995643075b2dfb0b9d64bf5db9b0bd9e71f7c — Nicolas Graves 4 months ago 4befed0
gnu: python-jinxed: Update to 1.3.0.

* gnu/packages/python-xyz.scm (python-jinxed): Update to 1.3.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
[native-inputs]: Add python-setuptools.

Change-Id: Ic4d9e4d07181df904d37f903ce0e49f430e62f67
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 20 insertions(+), 19 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +20 -19
@@ 30644,27 30644,28 @@ For the most part it's transliterated from C, the major differences are:
(define-public python-jinxed
  (package
    (name "python-jinxed")
    (version "1.0.0")
    (version "1.3.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "jinxed" version))
        (sha256
         (base32
          "1n7vl03rhjd0xhjgbjlh8x9f8yfbhamcwkgvs4jg7g5qj8f0wk89"))))
    (build-system python-build-system)
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/Rockhopper-Technologies/jinxed")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1cssqc5fvy3nx0q94ia79vhldfi0r2pq5nkagdvnkhmlnz26a3n8"))))
    (build-system pyproject-build-system)
    (arguments
     '(#:phases
       (modify-phases %standard-phases
         (add-before 'check 'set-environment-variables
           (lambda* (#:key inputs #:allow-other-keys)
             (let ((ncurses (assoc-ref inputs "ncurses")))
               (setenv "TERM" "LINUX")
               (setenv "TERMINFO" (string-append ncurses "/share/terminfo"))
               #t))))
       #:tests? #f)) ; _curses.error: setupterm: could not find terminal
    (native-inputs
     (list ncurses))
     (list
      #:tests? #f ;_curses.error: setupterm: could not find terminal
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'set-environment-variables
            (lambda* (#:key inputs #:allow-other-keys)
              (setenv "TERM" "LINUX")
              (setenv "TERMINFO"
                      (search-input-directory inputs "share/terminfo")))))))
    (native-inputs (list ncurses python-setuptools))
    (home-page "https://github.com/Rockhopper-Technologies/jinxed")
    (synopsis "Jinxed Terminal Library")
    (description