mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-readability-lxml: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-readability-lxml): Switch to pyproject-build-system. Drop arguments. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Ia85fb8c34af377f9c7d0caf70cfe7c18f473bcf9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
ecfda5ffd3
commit
15d2690104
1 changed files with 5 additions and 10 deletions
|
@ -35908,20 +35908,15 @@ number of words, syllables, and sentences.")
|
|||
"13nfy2v0pbbf62jn9qwgi489gg97hbb22q6w3f78mnvjxd2m19rh"))
|
||||
(snippet
|
||||
#~(begin (delete-file "readability/compat/two.py")))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "-m" "pytest" "-v" "tests/")))))))
|
||||
(build-system pyproject-build-system)
|
||||
(propagated-inputs (list python-chardet
|
||||
python-cssselect
|
||||
python-lxml
|
||||
python-lxml-html-clean))
|
||||
(native-inputs (list python-timeout-decorator python-pytest))
|
||||
(native-inputs (list python-timeout-decorator
|
||||
python-setuptools
|
||||
python-pytest
|
||||
python-wheel))
|
||||
(home-page "http://github.com/buriy/python-readability")
|
||||
(synopsis "HTML to text parser")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue