guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 43a62cda3b09cf0e5f73f03aa7b385c85beff214
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 28 10:51:51 2025 +0000

    gnu: packages/python-xyz: Sort python2-* variables.
    
    * gnu/packages/python-xyz.scm (python2-dbus, python2-pycparser): Sort
    variables alphabetically.
    
    Change-Id: Ie77bbc9564069787cb204467b4faa8eb0691d7ba
---
 gnu/packages/python-xyz.scm | 62 ++++++++++++++++++++++-----------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ae954a6157..da6d9ff9b7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12977,27 +12977,6 @@ using the PLY parsing library.  It parses C code into 
an AST and can serve as
 a front-end for C compilers or analysis tools.")
     (license license:bsd-3)))
 
-(define-public python2-pycparser
-  (let ((base (package
-                (inherit python-pycparser)
-                (version "2.18")
-                (source
-                 (origin
-                   (method url-fetch)
-                   (uri (pypi-uri "pycparser" version))
-                   (sha256
-                    (base32
-                     "09mjyw82ibqzl449g7swy8bfxnfpmas0815d2rkdjlcqw81wma4r"))))
-                ;; FIXME: package-with-python2 needs to be updated to accept
-                ;; pyproject-build-system packages.
-                (build-system python-build-system)
-                (arguments
-                 (cons* #:tests? #f
-                        (strip-keyword-arguments
-                         '(#:test-backend)
-                         (package-arguments python-pycparser)))))))
-    (package-with-python2 base)))
-
 (define-public python-pywavelets
   (package
     (name "python-pywavelets")
@@ -15002,16 +14981,6 @@ implementation of D-Bus.")
     (properties `((python2-variant . ,(delay python2-dbus))))
     (license license:expat)))
 
-(define-public python2-dbus
-  (package/inherit python-dbus
-    (name "python2-dbus")
-    (inputs `(("python" ,python-2)
-              ("libxcrypt" ,libxcrypt)  ;required by Python.h
-              ,@(alist-delete "python"
-                              (package-inputs python-dbus))))
-    (arguments
-     `(#:configure-flags '("PYTHON_VERSION=2")))))
-
 (define-public python-notify2
   (package
     (name "python-notify2")
@@ -41029,6 +40998,37 @@ you do not want to store entirely on disk or on 
memory.")
     ;; No copyright headers in the source.  The LICENSE file indicates GPL3.
     (license license:gpl3)))
 
+(define-public python2-dbus
+  (package/inherit python-dbus
+    (name "python2-dbus")
+    (inputs `(("python" ,python-2)
+              ("libxcrypt" ,libxcrypt)  ;required by Python.h
+              ,@(alist-delete "python"
+                              (package-inputs python-dbus))))
+    (arguments
+     `(#:configure-flags '("PYTHON_VERSION=2")))))
+
+(define-public python2-pycparser
+  (let ((base (package
+                (inherit python-pycparser)
+                (version "2.18")
+                (source
+                 (origin
+                   (method url-fetch)
+                   (uri (pypi-uri "pycparser" version))
+                   (sha256
+                    (base32
+                     "09mjyw82ibqzl449g7swy8bfxnfpmas0815d2rkdjlcqw81wma4r"))))
+                ;; FIXME: package-with-python2 needs to be updated to accept
+                ;; pyproject-build-system packages.
+                (build-system python-build-system)
+                (arguments
+                 (cons* #:tests? #f
+                        (strip-keyword-arguments
+                         '(#:test-backend)
+                         (package-arguments python-pycparser)))))))
+    (package-with-python2 base)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar

Reply via email to