~ruther/guix-local

8f7accef59f39a45301a29052c8be9e4ea1e5802 — Sharlatan Hellseher 1 year, 6 months ago 261156ba
gnu: python-faker: Update to 33.1.0.

* gnu/packages/python-xyz.scm (python-faker): Update to 33.1.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use defualt 'check.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I3c1d49743d2dcfb434e81349cc1046dd707c07c6
1 files changed, 14 insertions(+), 17 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +14 -17
@@ 22847,28 22847,25 @@ parsing UK postcodes.")
(define-public python-faker
  (package
    (name "python-faker")
    (version "15.0.0")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "Faker" version))
              (sha256
               (base32
                "1yx3gsivisf8ls43v0fgzy4n5q9625xrp9fr9cb5gp3h6k9cfpr4"))))
    (build-system python-build-system)
    (arguments
     '(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               (invoke "python" "-m" "pytest" "-v")))))))
    (version "33.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "faker" version))
       (sha256
        (base32 "1r518fmir10jwz29a9fsl66x834dr1w40l4bci3gqlbax305z4hw"))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-freezegun
           python-pytest
           python-random2
           python-ukpostcodeparser
           python-validators))
    (propagated-inputs (list python-dateutil))
           python-setuptools
           python-validators
           python-wheel))
    (propagated-inputs
     (list python-dateutil
           python-typing-extensions))
    (home-page "https://github.com/joke2k/faker")
    (synopsis "Python package that generates fake data")
    (description