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
(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