guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#48842] [PATCH 1/6] gnu: Add python-pytest-datadir.


From: Xinglu Chen
Subject: [bug#48842] [PATCH 1/6] gnu: Add python-pytest-datadir.
Date: Sat, 05 Jun 2021 15:24:53 +0200

On Sat, Jun 05 2021, Vinicius Monego wrote:

> +(define-public python-pytest-datadir
> +  (package
> +    (name "python-pytest-datadir")
> +    (version "1.3.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "pytest-datadir" version))
> +       (sha256
> +        (base32 "066bg6wlzgq2pqnjp73dfrcmk8951xw3aqcxa3p1axgqimrixbyk"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (replace 'check
> +           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
> +             (when tests?
> +               (add-installed-pythonpath inputs outputs)
> +               (invoke "python" "-m" "pytest")))))))
> +    (propagated-inputs
> +     `(("python-pathlib2" ,python-pathlib2)))
> +    (native-inputs
> +     `(("python-pytest" ,python-pytest)
> +       ("python-setuptools-scm" ,python-setuptools-scm)))
> +    (home-page "https://github.com/gabrielcnr/pytest-datadir";)
> +    (synopsis "Pytest plugin for test data directories and files")
> +    (description
> +     "Pytest plugin for test data directories and files.")

The description should consist of one or more full sentences.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]