Subject: [bug#59190] [PATCH] gnu: Add python-pytest-parawtf.

From: Efraim Flashner <[email-masked]>
Date: Tue, 15 Nov 2022 11:16:06 +0200

After enabling the test suite I found there were some failed tests.
Also, the bitbucket source is gone, and it seems to have moved to
GitHub.

On Fri, Nov 11, 2022 at 12:37:18AM -0600, jgart via Guix-patches via wrote:
> * gnu/packages/python-check.scm (python-pytest-parawtf): New variable.
> ---
>  gnu/packages/python-check.scm | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
> index 749902271b..ca6c2eaca8 100644
> --- a/gnu/packages/python-check.scm
> +++ b/gnu/packages/python-check.scm
> @@ -16,6 +16,7 @@
>  ;;; Copyright © 2022 Malte Frank Gerdes <[email-masked]>
>  ;;; Copyright © 2022 Felix Gruber <[email-masked]>
>  ;;; Copyright © 2022 Tomasz Jeneralczyk <[email-masked]>
> +;;; Copyright © 2022 jgart <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -2439,6 +2440,25 @@ (define-public python-sybil
>  provided for the main Python test runners.")
>      (license license:expat)))
>  
> +(define-public python-pytest-parawtf
> +  (package
> +    (name "python-pytest-parawtf")
> +    (version "1.0.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "pytest-parawtf" version))
> +              (sha256
> +               (base32
> +                "08s86hy58lvrd90cnayzydvac4slaflj0ph9yknakcc42anrm023"))))
> +    (build-system python-build-system)
    (arguments
     (list
       #:phases
       #~(modify-phases %standard-phases
           (replace 'check
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
                 (invoke "pytest")))))))
> +    (propagated-inputs (list python-pytest))
> +    (home-page "https://bitbucket.org/flub/pytest-parawtf")
> +    (synopsis "Finally spell paramete?ri[sz]e correctly")
> +    (description 
> +"@code{python-pytest} uses one of four different spellings of
> +parametrize.  This plugin allows you to use all four.")
> +    (license license:expat)))
> +
>  (define-public python-pytest-httpx
>    (package
>      (name "python-pytest-httpx")
> -- 
> 2.38.1
> 
> 
> 
> 

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted