From ac16e0611e8ab2f15cf767cca47a24dcecd84dfb Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 13 Aug 2025 19:46:24 +0200 Subject: [PATCH] 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 --- gnu/packages/python-web.scm | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1b8a7184530..c4f56d7d7c0 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+)))