mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-html2text: Switch to pyproject.
* gnu/packages/python-web.scm (python-html2text): [build-system]: Switch to pyproject-build-system. [arguments]: Remove them. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: Ic4b6a46d36fd1346379898f6041bc587c1ba606b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
7f64ee93ef
commit
ac16e0611e
1 changed files with 5 additions and 12 deletions
|
@ -2663,20 +2663,13 @@ API, but uses asyncio to parallelise downloading the files.")
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "html2text" version))
|
(uri (pypi-uri "html2text" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1fvv4z6dblii2wk1x82981ag8yhxbim1v2ksgywxsndh2s7335p2"))))
|
||||||
"1fvv4z6dblii2wk1x82981ag8yhxbim1v2ksgywxsndh2s7335p2"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(native-inputs (list python-pytest python-setuptools python-wheel))
|
||||||
(arguments
|
|
||||||
'(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda _
|
|
||||||
(invoke "pytest" "test/"))))))
|
|
||||||
(native-inputs
|
|
||||||
(list python-pytest))
|
|
||||||
(home-page "https://github.com/Alir3z4/html2text")
|
(home-page "https://github.com/Alir3z4/html2text")
|
||||||
(synopsis "Convert HTML into plain text")
|
(synopsis "Convert HTML into plain text")
|
||||||
(description "html2text takes HTML and converts it into plain ASCII text
|
(description
|
||||||
|
"html2text takes HTML and converts it into plain ASCII text
|
||||||
which is also valid markdown. html2text was originally written by Aaron
|
which is also valid markdown. html2text was originally written by Aaron
|
||||||
Swartz.")
|
Swartz.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue