gnu: packages/python-xyz: Sort python2-* variables.

* gnu/packages/python-xyz.scm (python2-dbus, python2-pycparser): Sort
variables alphabetically.

Change-Id: Ie77bbc9564069787cb204467b4faa8eb0691d7ba
This commit is contained in:
Sharlatan Hellseher 2025-10-28 10:51:51 +00:00
parent 1895834da9
commit 43a62cda3b
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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