Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages /
pypy3
Commits:
6a3d752b by Sven-Hendrik Haase at 2025-02-07T17:35:04+01:00
upgpkg: 7.3.18-1
Also switch over to Python 3.11.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = pypy3
pkgdesc = A Python3 implementation written in Python, JIT enabled
- pkgver = 7.3.17
+ pkgver = 7.3.18
pkgrel = 1
url = https://pypy.org
arch = x86_64
@@ -17,8 +17,7 @@ pkgbase = pypy3
depends = ncurses
optdepends = sqlite: sqlite module
optdepends = tk: tk module
- options = !buildflags
- source = https://downloads.python.org/pypy/pypy3.10-v7.3.17-src.zip
- sha512sums =
ed718d9a2f842f0793bf94797ba3f47b7a8adee569bbe90b4d82a779178925fe97462fff37889e30d250e2931a50ffcaa73864a5a4232b7cd07b1dbbb8e854ad
+ source = https://downloads.python.org/pypy/pypy3.11-v7.3.18-src.tar.bz2
+ sha512sums =
d4337a69c46c86594ae3eae09b8ab83db073eb4955f4e04bb8168ac412e8e55698938c2045f3e5d3c6a459a19cdf45a08af63e7587922a5d879fba373c6c9faf
pkgname = pypy3
=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
# Maintainer: Sven-Hendrik Haase <[email protected]>
pkgname=pypy3
-_pyversion=3.10
-pkgver=7.3.17
+_pyversion=3.11
+pkgver=7.3.18
pkgrel=1
pkgdesc="A Python3 implementation written in Python, JIT enabled"
url="https://pypy.org"
@@ -11,21 +11,20 @@ depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib'
'ncurses')
makedepends=('pypy' 'sqlite' 'tk')
optdepends=('sqlite: sqlite module'
'tk: tk module')
-options=(!buildflags)
license=('MIT')
-source=("https://downloads.python.org/pypy/pypy${_pyversion}-v${pkgver}-src.zip")
-sha512sums=('ed718d9a2f842f0793bf94797ba3f47b7a8adee569bbe90b4d82a779178925fe97462fff37889e30d250e2931a50ffcaa73864a5a4232b7cd07b1dbbb8e854ad')
+source=("https://downloads.python.org/pypy/pypy${_pyversion}-v${pkgver}-src.tar.bz2")
+sha512sums=('d4337a69c46c86594ae3eae09b8ab83db073eb4955f4e04bb8168ac412e8e55698938c2045f3e5d3c6a459a19cdf45a08af63e7587922a5d879fba373c6c9faf')
build() {
cd pypy${_pyversion}-v${pkgver}-src/pypy/goal
- # For some reason, PyPy wants to use their vendored dependencies when
detecting linux.
- # Weird, we'll patch it out.
- sed -i "s/, 'linux', 'linux2'//" targetpypystandalone.py
+ # Workaround for https://github.com/pypy/pypy/issues/5194
+ export CFLAGS+=" -Wno-error=incompatible-pointer-types"
+
pypy ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
# Compile binary modules
- PYTHONPATH=../.. ./pypy3.10-c ../../lib_pypy/pypy_tools/build_cffi_imports.py
+ PYTHONPATH=../.. ./pypy${_pyversion}-c
../../lib_pypy/pypy_tools/build_cffi_imports.py
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/pypy3/-/commit/6a3d752b7ba4aef95c91c1ae2fa4c899cc4da7bc
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/pypy3/-/commit/6a3d752b7ba4aef95c91c1ae2fa4c899cc4da7bc
You're receiving this email because of your account on gitlab.archlinux.org.