[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: python-tinycss2: Simplify.
From: |
guix-commits |
Subject: |
02/02: gnu: python-tinycss2: Simplify. |
Date: |
Thu, 27 Apr 2023 03:11:51 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit f196b3b7a53b94fb855cb2e5365468feedda750c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Apr 27 09:11:05 2023 +0200
gnu: python-tinycss2: Simplify.
* gnu/packages/python-web.scm (python-tinycss2)[build-system]: Use
pyproject-build-system.
[arguments]: Remove.
---
gnu/packages/python-web.scm | 26 +-------------------------
1 file changed, 1 insertion(+), 25 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0111d5508f..d7ad051007 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5291,31 +5291,7 @@ modules:
(file-name (git-file-name name version))
(sha256
(base32 "0zyc48vbmczpqj7f3f0d7zb3bz29fyj50dg0m6bbwbr5i88kq3sq"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'build
- (lambda _
- ;; A ZIP archive should be generated, but it fails with "ZIP does
- ;; not support timestamps before 1980". Luckily,
- ;; SOURCE_DATE_EPOCH is respected, which we set to some time in
- ;; 1980.
- (setenv "SOURCE_DATE_EPOCH" "315532800")
- (invoke "flit" "build")))
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (let ((out (assoc-ref outputs "out")))
- (for-each (lambda (wheel)
- (format #true wheel)
- (invoke "python" "-m" "pip" "install"
- wheel (string-append "--prefix=" out)))
- (find-files "dist" "\\.whl$")))))
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv"))))))
+ (build-system pyproject-build-system)
(propagated-inputs
(list python-webencodings))
(native-inputs