[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)
- 102/103: gnu: tensorflow: Add missing module., (continued)
- 102/103: gnu: tensorflow: Add missing module., guix-commits, 2022/01/05
- 101/103: gnu: Add missing module import., guix-commits, 2022/01/05
- 32/103: gnu: python-urwidtrees: Remove dependency on mock., guix-commits, 2022/01/05
- 34/103: gnu: python-pycosat: Run tests., guix-commits, 2022/01/05
- 41/103: gnu: calibre: Remove old build flag., guix-commits, 2022/01/05
- 43/103: gnu: openmolar: Remove old build flag., guix-commits, 2022/01/05
- 42/103: gnu: epour: Remove old build flag., guix-commits, 2022/01/05
- 49/103: gnu: python-pytest-xvfb: Remove obsolete test target., guix-commits, 2022/01/05
- 52/103: gnu: Add python-pytest-expect., guix-commits, 2022/01/05
- 53/103: gnu: python-lzo: Remove deprecated argument and add test input., guix-commits, 2022/01/05
- 54/103: gnu: python-argon2-cffi: Do not override 'build.,
guix-commits <=
- 58/103: gnu: python-httptools: Disable tests., guix-commits, 2022/01/05
- 59/103: gnu: python-venusian: Remove obsolete argument., guix-commits, 2022/01/05
- 65/103: gnu: python-backcall: Add missing build inputs., guix-commits, 2022/01/05
- 67/103: gnu: python-pep8: Disable tests., guix-commits, 2022/01/05
- 69/103: gnu: python-pep517: Reset timestamps and add missing build input., guix-commits, 2022/01/05
- 103/103: tests: Remove obsolete flag and import missing module., guix-commits, 2022/01/05
- 70/103: gnu: Add python-pyftpdlib., guix-commits, 2022/01/05
- 72/103: gnu: python-fonttools: Fix tests and add missing inputs., guix-commits, 2022/01/05
- 73/103: gnu: python-curio: Disable failing tests., guix-commits, 2022/01/05
- 75/103: gnu: python-bleach: Selectively disable tests., guix-commits, 2022/01/05