summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-13 19:46:24 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-14 13:15:26 +0100
commitac16e0611e8ab2f15cf767cca47a24dcecd84dfb (patch)
treecd22be006bc515e43ff1230524270342d766339a /gnu/packages/python-web.scm
parent7f64ee93eff8e306673c63a9d6a42e8c37de0f0a (diff)
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>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm17
1 files changed, 5 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1b8a718453..c4f56d7d7c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2663,20 +2663,13 @@ API, but uses asyncio to parallelise downloading the files.")
(method url-fetch)
(uri (pypi-uri "html2text" version))
(sha256
- (base32
- "1fvv4z6dblii2wk1x82981ag8yhxbim1v2ksgywxsndh2s7335p2"))))
- (build-system python-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest" "test/"))))))
- (native-inputs
- (list python-pytest))
+ (base32 "1fvv4z6dblii2wk1x82981ag8yhxbim1v2ksgywxsndh2s7335p2"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/Alir3z4/html2text")
(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
Swartz.")
(license license:gpl3+)))