Mercurial > hgrepos > FreeBSD > ports > PyPy
diff lang/pypy2/README @ 199:8b567a874360
Upgrade to PyPy v7.3.19.
BUGS:
- pypy311 not yet supported.
- pypy39 not yet deleted.
- Tests for pypy3 not yet runnable.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 12 Mar 2025 13:45:29 +0100 |
| parents | 9e9df3f25e7d |
| children | fccf5077df78 |
line wrap: on
line diff
--- a/lang/pypy2/README Sat Jan 20 07:37:03 2024 +0100 +++ b/lang/pypy2/README Wed Mar 12 13:45:29 2025 +0100 @@ -158,3 +158,69 @@ Deswegen in :file:`rpython/rlib/rposix.py` den Header :file:`termios.h` in die Platform-Konfigurations-Includes mit aufnehmen unter FreeBSD. + + +Build von PyPy v7.3.19 auf FreeBSD-14.1 +======================================= + +Voraussetzungen +--------------- + +py-pycparser +~~~~~~~~~~~~ + +ACHTUNG: Ports-Tree auf alten Zeitpunkt stellen: + "hg update -r 377386a46a6b" (as-of 2021-01-08) + +Build py27-pycparser (Origin: devel/py-pycparser): + + Dessen Voraussetzung ist py27-setuptools. + + Entweder: + + pkg install py27-setuptools44 + + pkg set -n py27-setuptools44:py27-setuptools + + Oder: + + Für dem Bau von py-pycparser Mk/Uses/distutils patchen, so daß als + dessen Dependency py27-setuptools44 statt py27-setuptools benutzt wird. + + Dann: + + cd devel/py-pycparser + make FLAVOR=py27 package + +Install this package: pkg install py27-pycparser + +Ports-Umgebung wieder restaurieren + + +Weitere Pakete +~~~~~~~~~~~~~~ + +Install gmake, binutils, expat, libffi, libunwind, pkgconf + +NOTE: libz ist bereits im Basis-OS dabei. + + +PyPy2 +----- + +In der aktuellen Version wird ein Linken mit "libffi.a" bevorzugt for dem +Linken mit "libffi.so". Das ist aber nicht möglich, da "libffi.a" nicht mit +"-fPIC" übersetzt ist, das aber nötig ist. Deswegen "rpython/rlib/clibffi.py" +entsprechend patchen, daß dafür wieder "libffi.so" bevorzugt wird. + +Mit Python2.7 übersetzen: + + make rmconfig + make package + +Installation -- auch aller optionalen Pakete pypy2-sqlite3, pypy3-gdbm und +pypy2-tkinter + +Test mit + + make test
