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
This commit is contained in:
Sharlatan Hellseher 2024-12-01 22:35:00 +00:00
parent 261156bac2
commit 8f7accef59
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -22847,28 +22847,25 @@ parsing UK postcodes.")
(define-public python-faker (define-public python-faker
(package (package
(name "python-faker") (name "python-faker")
(version "15.0.0") (version "33.1.0")
(source (origin (source
(origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Faker" version)) (uri (pypi-uri "faker" version))
(sha256 (sha256
(base32 (base32 "1r518fmir10jwz29a9fsl66x834dr1w40l4bci3gqlbax305z4hw"))))
"1yx3gsivisf8ls43v0fgzy4n5q9625xrp9fr9cb5gp3h6k9cfpr4")))) (build-system pyproject-build-system)
(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")))))))
(native-inputs (native-inputs
(list python-freezegun (list python-freezegun
python-pytest python-pytest
python-random2 python-random2
python-ukpostcodeparser python-ukpostcodeparser
python-validators)) python-setuptools
(propagated-inputs (list python-dateutil)) python-validators
python-wheel))
(propagated-inputs
(list python-dateutil
python-typing-extensions))
(home-page "https://github.com/joke2k/faker") (home-page "https://github.com/joke2k/faker")
(synopsis "Python package that generates fake data") (synopsis "Python package that generates fake data")
(description (description