Mercurial > hgrepos > FreeBSD > ports > PyPy
changeset 57:b0ce0cf90f22
Update to build PyPy3 on FreeBSD 13.2 with dist version 7.3.14
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 08 Jan 2024 09:35:41 +0100 |
| parents | 585cf5a218ad |
| children | 4d4875f64305 |
| files | bsd.pypy.cffi.mk bsd.pypy.mk |
| diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/bsd.pypy.cffi.mk Sun Jan 07 22:27:41 2024 +0100 +++ b/bsd.pypy.cffi.mk Mon Jan 08 09:35:41 2024 +0100 @@ -19,7 +19,7 @@ .include "${.CURDIR}/../../lang/pypy/bsd.pypy.mk" # -# Check that this port's build selected option FORPYIMPL37, FORPYIMPL38 or FORPYIMPL39 +# Check that this port's build selected option FORPYIMPL37, FORPYIMPL38, FORPYIMPL39 or FORPYIMPL310 # is compatible to the corresponding build option of the installed pypy3. # .if ${FLAVOR} == pypy3 && exists(${LOCALBASE}/bin/pypy3)
--- a/bsd.pypy.mk Sun Jan 07 22:27:41 2024 +0100 +++ b/bsd.pypy.mk Mon Jan 08 09:35:41 2024 +0100 @@ -24,19 +24,20 @@ .else # ${PYTHON_IMPL} == pypy3 -DISTVERSION= 7.3.11 +DISTVERSION= 7.3.14 PYPY_CFFI_VER= ${PYTHON_IMPL_NODOT}-pp${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||} PLIST_SUB+= PYTHON_IMPL_MINOR=${PYTHON_IMPL_MINOR} \ PY_VERSION_SHORT=${PY_VERSION_SHORT} OPTIONS_SINGLE+= FORPYIMPL -OPTIONS_SINGLE_FORPYIMPL= FORPYIMPL37 FORPYIMPL38 FORPYIMPL39 +OPTIONS_SINGLE_FORPYIMPL= FORPYIMPL37 FORPYIMPL38 FORPYIMPL39 FORPYIMPL310 FORPYIMPL_DESC= Required Python compatibility FORPYIMPL37_DESC= Build for compat to Python 3.7 FORPYIMPL38_DESC= Build for compat to Python 3.8 FORPYIMPL39_DESC= Build for compat to Python 3.9 +FORPYIMPL310_DESC= Build for compat to Python 3.10 OPTIONS_SUB= yes OPTIONS_DEFAULT+= FORPYIMPL39 @@ -66,5 +67,10 @@ PYPY_LDLIBRARY= libpypy3.9-c.so PYPY_EXECUTABLE= pypy3.9-c .endif +.if ${PORT_OPTIONS:MFORPYIMPL310} +PY_VERSION_SHORT= 3.10 +PYPY_LDLIBRARY= libpypy3.10-c.so +PYPY_EXECUTABLE= pypy3.10-c +.endif .include <bsd.port.pre.mk>
