guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit b7fc7b8083d094fdcdf3e81f93442bbbfbce5b62
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Mon Aug 4 22:38:23 2025 +0100

    gnu: python-flex: Switch to pyproject-build-system.
    
    * gnu/packages/python-xyz.scm (python-flex): Add a maintenance note to
      remove the packages in the future.
      [build-system]: Use pyproject.
      [arguments] <tests?>: No tests in PyPI archive provided.
      [native-inputs]: Add python-seuptools.
    
    Change-Id: I61cb165c089a97514ead78317158f21591003c32
---
 gnu/packages/python-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b60ead3e18..3d6dfa99f0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27319,6 +27319,9 @@ input.")
      address is valid and really exists.")
     (license license:lgpl3+)))
 
+;; XXX: Project has no updates since 2019, consider to remove when nothing
+;; depends on it in the next refresh cycle.
+;; See: <https://github.com/pipermerriam/flex/issues/237>.
 (define-public python-flex
   (package
     (name "python-flex")
@@ -27330,7 +27333,10 @@ input.")
       (sha256
        (base32
         "1sr91f5sqywj4040jm3cq4333fp8hbmmr7v6v05a3h0sgyixcbi9"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f)) ;no tests in PyPI archive
+    (native-inputs
+     (list python-setuptools))
     (propagated-inputs
      (list python-click
            python-jsonpointer

Reply via email to