guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e00aa49ad838b0d06aee89804ef47773182b0475
Author: Laura Kirsch <[email protected]>
AuthorDate: Mon Sep 22 05:25:46 2025 +0200

    gnu: pypy: Update to 7.3.20.
    
    * gnu/packages/pypy.scm (pypy): Update to 7.3.20.
    [inputs]: Remove libffi; add libffi-pic.
    
    Change-Id: I641225f9b0bed44c4717e3ce1846d7b962c6a7f9
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/pypy.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/pypy.scm b/gnu/packages/pypy.scm
index e7662a05bb..dc602d21a9 100644
--- a/gnu/packages/pypy.scm
+++ b/gnu/packages/pypy.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2021 Ludovic Courtès <[email protected]>
 ;;; Copyright © 2021, 2022 Maxim Cournoyer <[email protected]>
 ;;; Copyright © 2021 Leo Famulari <[email protected]>
+;;; Copyright © 2025 Laura Kirsch <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -42,14 +43,14 @@
 (define-public pypy
   (package
     (name "pypy")
-    (version "7.3.17")
+    (version "7.3.20")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://downloads.python.org/pypy/";
-                                  "pypy3.10-v" version "-src.tar.bz2"))
+                                  "pypy3.11-v" version "-src.tar.bz2"))
               (sha256
                (base32
-                "1xsbn9mbxi2kai4gg1nz6n6cbqsq60qh65f5l6ld7ip9g32lpmva"))))
+                "1yq6n888fxfdqid29q3w8bn7ii800bjkf44w82kjwgh0c2kxv1kp"))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -156,22 +157,21 @@
                   (for-each
                    (lambda (x)
                      (delete-file-recursively (string-append
-                                               "lib/pypy3.10/" x)))
+                                               "lib/pypy3.11/" x)))
                    '("tkinter/test"
                      "test"
-                     "sqlite3/test"
                      "lib2to3/tests"
                      "idlelib/idle_test"
                      "distutils/tests"
                      "ctypes/test"
                      "unittest/test"))
                   ;; Patch shebang referencing python.
-                  (substitute* '("lib/pypy3.10/cgi.py"
-                                 "lib/pypy3.10/encodings/rot_13.py")
+                  (substitute* '("lib/pypy3.11/cgi.py"
+                                 "lib/pypy3.11/encodings/rot_13.py")
                     ((shebang-match-python) shebang-pypy3))
                   (with-fluids ((%default-port-encoding "ISO-8859-1"))
-                    (substitute* '("lib/pypy3.10/_md5.py"
-                                   "lib/pypy3.10/_sha1.py")
+                    (substitute* '("lib/pypy3.11/_md5.py"
+                                   "lib/pypy3.11/_sha1.py")
                       ((shebang-match-python) shebang-pypy3))))
                 (copy-recursively dist-dir #$output)))))))
     (native-inputs
@@ -186,7 +186,7 @@
            expat
            gdbm
            glibc
-           libffi
+           libffi-pic
            ncurses
            openssl
            sqlite

Reply via email to