Archived
1
0
Fork 0

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:
Sébastien Lerique 2021-10-15 11:40:35 +09:00 committed by Lars-Dominik Braun
parent fafb7ab1e2
commit 271343d4f5
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -15887,37 +15887,37 @@ parsing UK postcodes.")
(define-public python-faker (define-public python-faker
(package (package
(name "python-faker") (name "python-faker")
(version "9.3.1") (version "9.3.1")
(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")))) "0lpfdc4ndvk7chgqrfd2b1my4n54pccq9b645vp9cp5s5ypyknfd"))))
(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 _ (invoke "python" "-m" "pytest" "-v"))))))
(native-inputs (native-inputs
`(;; For testing `( ;; For testing
("python-freezegun" ,python-freezegun) ("python-freezegun" ,python-freezegun)
("python-pytest" ,python-pytest-6) ("python-pytest" ,python-pytest-6)
("python-random2" ,python-random2) ("python-random2" ,python-random2)
("python-ukpostcodeparser" ,python-ukpostcodeparser) ("python-ukpostcodeparser" ,python-ukpostcodeparser)
("python-validators" ,python-validators))) ("python-validators" ,python-validators)))
(propagated-inputs (propagated-inputs
`(("python-dateutil" ,python-dateutil) `(("python-dateutil" ,python-dateutil)
("python-text-unidecode" ,python-text-unidecode))) ("python-text-unidecode" ,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
"Faker is a Python package that generates fake data such as names, "Faker is a Python package that generates fake data such as names,
addresses, and phone numbers.") addresses, and phone numbers.")
(license license:expat) (license license:expat)
(properties `((python2-variant . ,(delay python2-faker)))))) (properties `((python2-variant . ,(delay python2-faker))))))
;; Faker 4.0 dropped Python 2 support, so we stick with this older version here. ;; Faker 4.0 dropped Python 2 support, so we stick with this older version here.
(define-public python2-faker (define-public python2-faker