[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)
- 146/150: gnu: meson: Match shebang instead of setuptools-specific line., (continued)
- 146/150: gnu: meson: Match shebang instead of setuptools-specific line., guix-commits, 2022/04/24
- 148/150: gnu: python-parsedatetime: Explicit test-backend., guix-commits, 2022/04/24
- 03/150: python-build-system: Use PEP 517-compatible builds., guix-commits, 2022/04/24
- 17/150: gnu: python-testpath: Remove custom build phases., guix-commits, 2022/04/24
- 09/150: gnu: python-flit: Inherit from python-flit-core., guix-commits, 2022/04/24
- 35/150: gnu: python-urwidtrees: Remove dependency on mock., guix-commits, 2022/04/24
- 52/150: gnu: python-pytest-xvfb: Remove obsolete test target., guix-commits, 2022/04/24
- 50/150: gnu: python-pytest-benchmark: Disable tests., guix-commits, 2022/04/24
- 53/150: gnu: python-pytest-qt: Remove obsolete test target., guix-commits, 2022/04/24
- 51/150: gnu: python-entrypoint2: Remove obsolete test target., guix-commits, 2022/04/24
- 57/150: gnu: python-argon2-cffi: Do not override 'build.,
guix-commits <=
- 69/150: gnu: python-three-merge: Remove obsolete argument., guix-commits, 2022/04/24
- 64/150: gnu: python-pyls-black: Remove obsolete argument., guix-commits, 2022/04/24
- 85/150: gnu: python-libxml2: Fix build., guix-commits, 2022/04/24
- 83/150: gnu: python-gssapi: Disable tests., guix-commits, 2022/04/24
- 76/150: gnu: python-pytest-catchlog: Disable tests., guix-commits, 2022/04/24
- 68/150: gnu: python-backcall: Add missing build inputs., guix-commits, 2022/04/24
- 70/150: gnu: python-pep8: Disable tests., guix-commits, 2022/04/24
- 90/150: gnu: tuir: Disable failing tests., guix-commits, 2022/04/24
- 96/150: gnu: python-webob: Disable tests., guix-commits, 2022/04/24
- 95/150: gnu: python-docker-pycreds: Disable tests., guix-commits, 2022/04/24