guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python-semver: Fix build, again.


From: guix-commits
Subject: branch master updated: gnu: python-semver: Fix build, again.
Date: Wed, 18 Nov 2020 09:58:51 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 613e1ee  gnu: python-semver: Fix build, again.
613e1ee is described below

commit 613e1ee5a8cebc2a67136f4669436b12439be363
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Nov 18 09:52:19 2020 -0500

    gnu: python-semver: Fix build, again.
    
    This reverts "gnu: python-semver: Fix build." (commit
    b4e1ca0675571f3cda2a00afb3a2f0f01ff500f9) and overrides the check phase.
    
    * gnu/packages/python-xyz.scm (python-semver)[phases]: Override the 'check
    phase.
    [native-inputs]: Remove all existing native-inputs.  Add python-pytest.
---
 gnu/packages/python-xyz.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8e57936..629826c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17190,14 +17190,14 @@ such as figshare or Zenodo.")
         (base32
          "183kg1rhzz3hqizvphkd8hlbf1zxfx8737zhfkmqzxi71jmdw7pd"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _
+                      (delete-file "setup.cfg")
+                      (invoke "py.test"))))))
     (native-inputs
-     `(("python-appdirs" ,python-appdirs)
-       ("python-distlib" ,python-distlib)
-       ("python-importlib-metadata" ,python-importlib-metadata)
-       ("python-filelock" ,python-filelock)
-       ("python-six" ,python-six)
-       ("python-tox" ,python-tox)
-       ("python-virtualenv" ,python-virtualenv)))
+     `(("python-pytest" ,python-pytest)))
     (home-page "https://github.com/k-bx/python-semver";)
     (synopsis "Python helper for Semantic Versioning")
     (description "This package provides a Python library for



reply via email to

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