[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: python-markdown-it-py: Simplify by using pyproject-build-sys
From: |
guix-commits |
Subject: |
02/03: gnu: python-markdown-it-py: Simplify by using pyproject-build-system. |
Date: |
Sat, 13 May 2023 05:06:07 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit c77d5eaaf5ecdfdf8a8444f7cee18f8971338b68
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat May 13 10:01:51 2023 +0200
gnu: python-markdown-it-py: Simplify by using pyproject-build-system.
* gnu/packages/python-xyz.scm (python-markdown-it-py)[arguments]: Remove
custom 'build and 'install phases.
[build-system]: Use pyproject-build-system.
---
gnu/packages/python-xyz.scm | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 850bfc06ab..ac3a3f683b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4994,22 +4994,8 @@ recognition library with full Unicode support. It has
features like:
(sha256
(base32
"1nh75i72584r70alhqc479gys04s5m5g3vq601yf2njbs7z5jzng"))))
- (build-system python-build-system)
- (arguments
- (list
- #:tests? #f ;pypi source does not contains tests
- #:phases
- #~(modify-phases %standard-phases
- (replace 'build
- (lambda _ (invoke "flit" "build")))
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (for-each
- (lambda (wheel)
- (invoke "python" "-m" "pip" "install"
- wheel (string-append "--prefix=" #$output)))
- (find-files "dist" "\\.whl$")))))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ;pypi source does not contains tests
(native-inputs (list python-flit))
(propagated-inputs
(list python-mdurl