mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
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.
This commit is contained in:
parent
1a2eb983cb
commit
c77d5eaaf5
1 changed files with 2 additions and 16 deletions
|
@ -4994,22 +4994,8 @@ (define-public python-markdown-it-py
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue