gnu: python-faker: Fix indentation.
* gnu/packages/python-xyz.scm (python-faker): Fix indentation. Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
This commit is contained in:
parent
fafb7ab1e2
commit
271343d4f5
|
@ -15887,37 +15887,37 @@ (define-public python2-ukpostcodeparser
|
|||
|
||||
(define-public python-faker
|
||||
(package
|
||||
(name "python-faker")
|
||||
(version "9.3.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "Faker" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0lpfdc4ndvk7chgqrfd2b1my4n54pccq9b645vp9cp5s5ypyknfd"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _ (invoke "python" "-m" "pytest" "-v"))))))
|
||||
(native-inputs
|
||||
`(;; For testing
|
||||
("python-freezegun" ,python-freezegun)
|
||||
("python-pytest" ,python-pytest-6)
|
||||
("python-random2" ,python-random2)
|
||||
("python-ukpostcodeparser" ,python-ukpostcodeparser)
|
||||
("python-validators" ,python-validators)))
|
||||
(propagated-inputs
|
||||
`(("python-dateutil" ,python-dateutil)
|
||||
("python-text-unidecode" ,python-text-unidecode)))
|
||||
(home-page "https://github.com/joke2k/faker")
|
||||
(synopsis "Python package that generates fake data")
|
||||
(description
|
||||
"Faker is a Python package that generates fake data such as names,
|
||||
(name "python-faker")
|
||||
(version "9.3.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "Faker" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0lpfdc4ndvk7chgqrfd2b1my4n54pccq9b645vp9cp5s5ypyknfd"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _ (invoke "python" "-m" "pytest" "-v"))))))
|
||||
(native-inputs
|
||||
`( ;; For testing
|
||||
("python-freezegun" ,python-freezegun)
|
||||
("python-pytest" ,python-pytest-6)
|
||||
("python-random2" ,python-random2)
|
||||
("python-ukpostcodeparser" ,python-ukpostcodeparser)
|
||||
("python-validators" ,python-validators)))
|
||||
(propagated-inputs
|
||||
`(("python-dateutil" ,python-dateutil)
|
||||
("python-text-unidecode" ,python-text-unidecode)))
|
||||
(home-page "https://github.com/joke2k/faker")
|
||||
(synopsis "Python package that generates fake data")
|
||||
(description
|
||||
"Faker is a Python package that generates fake data such as names,
|
||||
addresses, and phone numbers.")
|
||||
(license license:expat)
|
||||
(properties `((python2-variant . ,(delay python2-faker))))))
|
||||
(license license:expat)
|
||||
(properties `((python2-variant . ,(delay python2-faker))))))
|
||||
|
||||
;; Faker 4.0 dropped Python 2 support, so we stick with this older version here.
|
||||
(define-public python2-faker
|
||||
|
|
Loading…
Reference in a new issue