~ruther/guix-local

ac16e0611e8ab2f15cf767cca47a24dcecd84dfb — Nicolas Graves 1 year, 2 months ago 7f64ee9
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>
1 files changed, 5 insertions(+), 12 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +5 -12
@@ 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+)))