unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 50033@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#50033] [PATCH 2/4] gnu: python-bleach: Enable tests.
Date: Thu, 12 Aug 2021 23:58:05 +0000	[thread overview]
Message-ID: <20210812235807.26857-2-monego@posteo.net> (raw)
In-Reply-To: <20210812235807.26857-1-monego@posteo.net>

* gnu/packages/python-xyz.scm (python-bleach)[arguments]: Override 'check
phase.
---
 gnu/packages/python-xyz.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 26fee98644..edfc945369 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11053,6 +11053,14 @@ Jupyter Notebook format and Python APIs for working with notebooks.")
        (sha256
         (base32 "0jqa8f1ni10cyf4h7sjpf8mbqlcbkyvmsnli77qrxdcxvc7m4k1w"))))
     (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-packaging" ,python-packaging)
        ("python-six" ,python-six)
-- 
2.30.2





  reply	other threads:[~2021-08-13  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-12 23:55 [bug#50033] [PATCH 0/4] Add Isso Vinicius Monego
2021-08-12 23:58 ` [bug#50033] [PATCH 1/4] gnu: python-bleach: Add dependency on python-packaging Vinicius Monego
2021-08-12 23:58   ` Vinicius Monego [this message]
2021-08-12 23:58   ` [bug#50033] [PATCH 3/4] gnu: Add python-flask-caching Vinicius Monego
2021-08-12 23:58   ` [bug#50033] [PATCH 4/4] gnu: Add isso Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210812235807.26857-2-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=50033@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).