~ruther/guix-local

e00aa49ad838b0d06aee89804ef47773182b0475 — Laura Kirsch 7 months ago 8393b45
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 <sharlatanus@gmail.com>
1 files changed, 10 insertions(+), 10 deletions(-)

M gnu/packages/pypy.scm
M gnu/packages/pypy.scm => gnu/packages/pypy.scm +10 -10
@@ 3,6 3,7 @@
;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2025 Laura Kirsch <laurakirsch240406@gmail.com>
;;;
;;; 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