guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9afef640708213bf0f0ef5051b8030444c776224
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 5 13:59:42 2025 +0200

    gnu: python-readability: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-readability):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:tests?>: Disable them.
    [native-inputs]: Add python-setuptools.
    [home-page, synopsis, description]: Improve style.
    
    Change-Id: I2bf08a5fce38ea426e1708d1b64547a56aa7dd22
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6f54d0db0b..3cbbaa06ee 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35203,22 +35203,23 @@ template engine.")
     (version "0.3.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "readability" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/andreasvc/readability/";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1b8gq3g2zwvx0aivvdg56cc0bn7xw6f2v6psmxdx9aiipkw0s0zr"))))
-    (build-system python-build-system)
-    (home-page
-     "https://github.com/andreasvc/readability/";)
-    (synopsis
-     "Measure the readability of a given text using surface
-characteristics")
+        (base32 "0m2v4ysy2a7k6j9d85i4n9z6k48rmgmbj1v7r6l2cb5qpa3pwrj5"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f)) ; No tests.
+    (native-inputs (list python-setuptools))
+    (home-page "https://github.com/andreasvc/readability/";)
+    (synopsis "Measure text readability using surface characteristics")
     (description
      "This package provides a Python library that is an implementation of
-traditional readability measures based on simple surface
-characteristics. These measures are basically linear regressions based on the
-number of words, syllables, and sentences.")
+traditional readability measures based on simple surface characteristics.
+These measures are basically linear regressions based on the number of words,
+syllables, and sentences.")
     (license license:asl2.0)))
 
 (define-public python-readability-lxml

Reply via email to