~ruther/guix-local

15d269010469375d4c18772bb80264c3faa790e4 — Liliana Marie Prikler 10 months ago ecfda5f
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>
1 files changed, 5 insertions(+), 10 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +5 -10
@@ 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