~ruther/guix-local

6f66ff8adb75de81497f627a01276436dbad906f — Sergey Trofimov 1 year, 3 months ago ae63ff8
gnu: python-babel: Update to 2.16.0.

* gnu/packages/python-xyz.scm (python-babel): Update to 2.16.0.
[source]: Adjust uri as it's changed in PyPI archive.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Use default 'check.
[native-inputs]: Add python-setuptools and python-wheel.

Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I32b7c5613e7db2c676745d6621f04b52a1cdf0ba
1 files changed, 10 insertions(+), 11 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +10 -11
@@ 3003,24 3003,23 @@ by @code{binstar}, @code{binstar-build}, and @code{chalmers}.")
(define-public python-babel
  (package
    (name "python-babel")
    (version "2.10.3")
    (version "2.16.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "Babel" version))
       (uri (pypi-uri "babel" version))
       (sha256
        (base32
         "0l9cvfmsz0hlvcinxaf6xf2f02ldgw3xq9i1fc7lk5zf24vma53n"))))
    (build-system python-build-system)
        (base32 "05p3k0i5h8v4vqsg36s94kwl4nhgfmgwdq1x7wbzw1b6l965bwyi"))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-freezegun python-pytest tzdata-for-tests))
     (list python-freezegun
           python-pytest
           python-pytest-cov
           python-setuptools
           python-wheel
           tzdata-for-tests))
    (propagated-inputs
     (list python-pytz))
    (arguments
     `(#:phases (modify-phases %standard-phases
                  (replace 'check
                    (lambda _
                      (invoke "pytest" "-vv"))))))
    (home-page "https://babel.pocoo.org/")
    (synopsis
     "Tools for internationalizing Python applications")