guix-commits
[Top][All Lists]
Advanced

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

57/150: gnu: python-argon2-cffi: Do not override 'build.


From: guix-commits
Subject: 57/150: gnu: python-argon2-cffi: Do not override 'build.
Date: Sun, 24 Apr 2022 05:12:22 -0400 (EDT)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit 6f52afa25873f0926f06f46d9a838a44b6192dea
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Dec 30 09:57:00 2021 +0100

    gnu: python-argon2-cffi: Do not override 'build.
    
    Instead set required variables before that phase.
    
    * gnu/packages/python-crypto.scm (python-argon2-cffi)[#:phases]: Rename
    'build to 'use-system-cffi and remove setup.py invokation.
---
 gnu/packages/python-crypto.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 2e16392c9d..33f0c06807 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1634,10 +1634,9 @@ I/O-free core, and integration modules for different 
event loops.")
     (arguments
      '(#:phases
        (modify-phases %standard-phases
-         (replace 'build
+         (add-before 'build 'use-system-cffi
            (lambda _
-             (setenv "ARGON2_CFFI_USE_SYSTEM" "1")
-             (invoke "python" "setup.py" "build")))
+             (setenv "ARGON2_CFFI_USE_SYSTEM" "1")))
          (replace 'check
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (add-installed-pythonpath inputs outputs)



reply via email to

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