~ruther/guix-local

2bd64e9a94d4d9a71fd06df40d9ccfed9910fd1b — Nicolas Graves 5 months ago d187189
gnu: python-clyent: Update to 1.2.2.

* gnu/packages/python-xyz.scm (python-clyent): Update to 1.2.2.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend>: Set it.
<phases>: Add versioneer.
[native-inputs]: Add python-setuptools, python-versioneer.
[description]: Improve style.

Change-Id: I5d305bb058fdc927092ee81c7f8553584a4cce6a
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 27 insertions(+), 9 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +27 -9
@@ 4596,21 4596,39 @@ and function call return values in a human-readable way.")
(define-public python-clyent
  (package
    (name "python-clyent")
    (version "1.2.1")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "clyent" version))
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/Anaconda-Platform/clyent")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "1r9987qmy1pz3hq54160bapqsywpq14waw4w9x3ly8hmq7kpgfbj"))))
    (build-system python-build-system)
        (base32 "0vi9nkd4hnvycwwpz9xip1drc5zn7bdwff1pz3azmyvh8v4hsias"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-backend #~'unittest
      #:phases
      #~(modify-phases %standard-phases
          ;; Replace version manually because clyent uses
          ;; versioneer, which requires git metadata.
          (add-after 'unpack 'versioneer
            (lambda _
              (invoke "versioneer" "install")
              (substitute* "setup.py"
                (("version=versioneer.get_version\\(),")
                 (string-append "version='" #$version "',"))))))))
    (native-inputs
     (list python-mock))
     (list python-mock
           python-setuptools
           python-versioneer))
    (home-page "https://github.com/Anaconda-Platform/clyent")
    (synopsis "Command line client library")
    (description "Clyent is a Python command line utility library.  It is used
by @code{binstar}, @code{binstar-build}, and @code{chalmers}.")
    (description
     "Clyent is a Python command line utility library.  It is used by
@code{binstar}, @code{binstar-build}, and @code{chalmers}.")
    (license license:bsd-3)))

(define-public python-babel