~ruther/guix-local

2d1199c815b05153a8d82e227f1f1bb9da6fc3d4 — Nicolas Graves 5 months ago 7cab497
gnu: python-pyfiglet: Update to 1.0.4.

* gnu/packages/python-xyz.scm (python-pyfiglet): Update to 1.0.4.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phase 'fallback-on-default-build.
[native-inputs]: Add python-pytest, python-setuptools.
[description]: Improve style.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +21 -8
@@ 21051,19 21051,32 @@ Amazon Web Services (AWS) API.")
(define-public python-pyfiglet
  (package
    (name "python-pyfiglet")
    (version "0.8.post1")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pyfiglet" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/pwaller/pyfiglet")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "0f9n2076ga2ccsg174k2d7n0z4d44ml96yzc72s6g4nhalbk5hn6"))))
    (build-system python-build-system)
        (base32 "1r1fyphz99jar2xfk761cl740zxk4b0gygajgjfx6i1kf0dxdv40"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fallback-on-default-build
            (lambda _
              ;; This pyproject has little value and fails because of the
              ;; :__legacy__ suffix.  Removing it to rely on defaults.
              (delete-file "pyproject.toml"))))))
    (native-inputs (list python-pytest python-setuptools))
    (home-page "https://github.com/pwaller/pyfiglet")
    (synopsis "Draw ASCII art big letters in Python")
    (description "This module lets you draw large letter from ordinary characters
in pure Python.")
    (description
     "This module lets you draw large letter from ordinary characters in pure
 Python.")
    (license license:expat)))

(define-public python-mako