~ruther/guix-local

271343d4f57455bb696d760d7244c6b36700cdc6 — Sébastien Lerique 5 years ago fafb7ab
gnu: python-faker: Fix indentation.

* gnu/packages/python-xyz.scm (python-faker): Fix indentation.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
1 files changed, 30 insertions(+), 30 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +30 -30
@@ 15887,37 15887,37 @@ parsing UK postcodes.")

(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