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

commit b138e79b27d56af521a715d83a218faf0d756829
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Mon Mar 31 08:18:30 2025 +0200

    gnu: python-cchardet: Update to 2.2.0a2.
    
    * gnu/packages/freedesktop.scm (python-cchardet): Update to 2.2.0a2.
    
    Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com>
---
 gnu/packages/freedesktop.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 34dfe20229..0618fdc6f4 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -68,6 +68,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system perl)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system qt)
@@ -128,6 +129,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages polkit)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
@@ -2842,17 +2844,19 @@ encoding names are iconv-compatible.")
 (define-public python-cchardet
   (package
   (name "python-cchardet")
-  (version "2.1.7")
+  (version "2.2.0a2")
   (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "cchardet" version))
       (sha256
         (base32
-          "1bqfz85cd51sw0bvhvdq9ikccxi2ld7g5jpni4jkq1a5clrvca64"))))
-  (build-system python-build-system)
+          "08wq5yfaafbjipabfc6kpyvivkk2394w7isv0mwx5agcf8cbnwnx"))))
+  (build-system pyproject-build-system)
   (inputs
    (list uchardet))
+  (native-inputs
+   (list python-setuptools python-wheel))
   (home-page "https://github.com/PyYoshi/cChardet";)
   (synopsis "High-performance character encoding detection for Python")
   (description "cChardet is a character encoding detector, written in

Reply via email to