guix-commits
[Top][All Lists]
Advanced

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

54/103: gnu: python-argon2-cffi: Do not override 'build.


From: guix-commits
Subject: 54/103: gnu: python-argon2-cffi: Do not override 'build.
Date: Wed, 5 Jan 2022 09:44:35 -0500 (EST)

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

commit 7d187232ba9e25f2c0db6ed92f86e3b8d454d15a
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 2072e4e164..9fb1d8f1d9 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1499,10 +1499,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]