gnu: python-faker: Update to 13.3.4 and honor TESTS?.
* gnu/packages/python-xyz.scm (python-faker): Update to 13.3.4. [phases]{check}: Honor TESTS?. [native-inputs]: Replace python-pytest-6 by python-pytest. Remove comment. [propagated-inputs]: Remove python-text-unidecode.master
parent
b391578a24
commit
a749fbea4e
|
@ -17506,28 +17506,28 @@ parsing UK postcodes.")
|
||||||
(define-public python-faker
|
(define-public python-faker
|
||||||
(package
|
(package
|
||||||
(name "python-faker")
|
(name "python-faker")
|
||||||
(version "9.3.1")
|
(version "13.3.4")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "Faker" version))
|
(uri (pypi-uri "Faker" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0lpfdc4ndvk7chgqrfd2b1my4n54pccq9b645vp9cp5s5ypyknfd"))))
|
"04855dqvvi2mr739l5x3qf82rxq0a7spc8gl76k8xixmbw36328q"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _ (invoke "python" "-m" "pytest" "-v"))))))
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "python" "-m" "pytest" "-v")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ;; For testing
|
(list python-freezegun
|
||||||
python-freezegun
|
python-pytest
|
||||||
python-pytest-6
|
|
||||||
python-random2
|
python-random2
|
||||||
python-ukpostcodeparser
|
python-ukpostcodeparser
|
||||||
python-validators))
|
python-validators))
|
||||||
(propagated-inputs
|
(propagated-inputs (list python-dateutil))
|
||||||
(list python-dateutil python-text-unidecode))
|
|
||||||
(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
|
||||||
|
|
Reference in New Issue