Mercurial > hgrepos > FreeBSD > ports > PyPy
diff lang/pypy2/Makefile @ 123:b907e948fed9
Remove support for building PyPy for Python versions 3.7 and 3.8
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 13 Jan 2024 11:45:03 +0100 |
| parents | 9e9df3f25e7d |
| children | e11577711968 |
line wrap: on
line diff
--- a/lang/pypy2/Makefile Sat Jan 13 11:44:10 2024 +0100 +++ b/lang/pypy2/Makefile Sat Jan 13 11:45:03 2024 +0100 @@ -120,100 +120,7 @@ lib_pypy/_cffi_ssl/tools/make_ssl_data.py .else -.if ${PORT_OPTIONS:MFORPYIMPL37} -SHEBANG_FILES= \ - lib-python/3/base64.py \ - lib-python/3/cProfile.py \ - lib-python/3/cgi.py \ - lib-python/3/encodings/rot_13.py \ - lib-python/3/keyword.py \ - lib-python/3/idlelib/pyshell.py \ - lib-python/3/lib2to3/pgen2/token.py \ - lib-python/3/lib2to3/tests/data/different_encoding.py \ - lib-python/3/lib2to3/tests/data/false_encoding.py \ - lib-python/3/lib2to3/tests/pytree_idempotency.py \ - lib-python/3/pdb.py \ - lib-python/3/platform.py \ - lib-python/3/profile.py \ - lib-python/3/pydoc.py \ - lib-python/3/quopri.py \ - lib-python/3/smtpd.py \ - lib-python/3/smtplib.py \ - lib-python/3/symbol.py \ - lib-python/3/tabnanny.py \ - lib-python/3/tarfile.py \ - lib-python/3/test/bisect_cmd.py \ - lib-python/3/test/crashers/recursive_call.py \ - lib-python/3/test/curses_tests.py \ - lib-python/3/test/pystone.py \ - lib-python/3/test/re_tests.py \ - lib-python/3/test/regrtest.py \ - lib-python/3/timeit.py \ - lib-python/3/trace.py \ - lib-python/3/turtledemo/bytedesign.py \ - lib-python/3/turtledemo/clock.py \ - lib-python/3/turtledemo/forest.py \ - lib-python/3/turtledemo/fractalcurves.py \ - lib-python/3/turtledemo/lindenmayer.py \ - lib-python/3/turtledemo/minimal_hanoi.py \ - lib-python/3/turtledemo/paint.py \ - lib-python/3/turtledemo/peace.py \ - lib-python/3/turtledemo/penrose.py \ - lib-python/3/turtledemo/planet_and_moon.py \ - lib-python/3/turtledemo/tree.py \ - lib-python/3/turtledemo/yinyang.py \ - lib-python/3/uu.py \ - lib-python/3/webbrowser.py \ - lib_pypy/_cffi_ssl/tools/make_ssl_data.py -.elif ${PORT_OPTIONS:MFORPYIMPL38} -SHEBANG_FILES= \ - lib-python/3/base64.py \ - lib-python/3/cProfile.py \ - lib-python/3/cgi.py \ - lib-python/3/encodings/rot_13.py \ - lib-python/3/keyword.py \ - lib-python/3/idlelib/pyshell.py \ - lib-python/3/lib2to3/pgen2/token.py \ - lib-python/3/lib2to3/tests/data/different_encoding.py \ - lib-python/3/lib2to3/tests/data/false_encoding.py \ - lib-python/3/lib2to3/tests/pytree_idempotency.py \ - lib-python/3/pdb.py \ - lib-python/3/platform.py \ - lib-python/3/profile.py \ - lib-python/3/pydoc.py \ - lib-python/3/quopri.py \ - lib-python/3/smtpd.py \ - lib-python/3/smtplib.py \ - lib-python/3/symbol.py \ - lib-python/3/tabnanny.py \ - lib-python/3/tarfile.py \ - lib-python/3/test/bisect_cmd.py \ - lib-python/3/test/crashers/recursive_call.py \ - lib-python/3/test/curses_tests.py \ - lib-python/3/test/pystone.py \ - lib-python/3/test/re_tests.py \ - lib-python/3/test/regrtest.py \ - lib-python/3/timeit.py \ - lib-python/3/trace.py \ - lib-python/3/turtledemo/bytedesign.py \ - lib-python/3/turtledemo/clock.py \ - lib-python/3/turtledemo/forest.py \ - lib-python/3/turtledemo/fractalcurves.py \ - lib-python/3/turtledemo/lindenmayer.py \ - lib-python/3/turtledemo/minimal_hanoi.py \ - lib-python/3/turtledemo/paint.py \ - lib-python/3/turtledemo/peace.py \ - lib-python/3/turtledemo/penrose.py \ - lib-python/3/turtledemo/planet_and_moon.py \ - lib-python/3/turtledemo/tree.py \ - lib-python/3/turtledemo/yinyang.py \ - lib-python/3/uu.py \ - lib-python/3/webbrowser.py \ - lib-python/3/test/ziptestdata/header.sh \ - lib-python/3/test/ziptestdata/exe_with_z64 \ - lib-python/3/test/ziptestdata/exe_with_zip \ - lib_pypy/_cffi_ssl/tools/make_ssl_data.py -.elif ${PORT_OPTIONS:MFORPYIMPL39} +. if ${PORT_OPTIONS:MFORPYIMPL39} SHEBANG_FILES= \ lib-python/3/base64.py \ lib-python/3/cProfile.py \ @@ -263,7 +170,7 @@ lib-python/3/test/ziptestdata/header.sh \ lib-python/3/test/ziptestdata/exe_with_z64 \ lib-python/3/test/ziptestdata/exe_with_zip -.elif ${PORT_OPTIONS:MFORPYIMPL310} +. elif ${PORT_OPTIONS:MFORPYIMPL310} SHEBANG_FILES= \ lib-python/3/base64.py \ lib-python/3/cProfile.py \ @@ -312,7 +219,7 @@ lib-python/3/test/ziptestdata/header.sh \ lib-python/3/test/ziptestdata/exe_with_z64 \ lib-python/3/test/ziptestdata/exe_with_zip -.endif +. endif .endif pre-build: @@ -334,19 +241,19 @@ ${PACKAGE_ARGS}) ${EXTRACT_CMD} -C ${STAGEDIR}${PREFIX} -xf ${WRKDIR}/build/${PYPY_DIR}.tar.bz2 ${LN} -fs ../${PYPY_DIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} -.if ${PORT_OPTIONS:MFORPYIMPL38} || ${PORT_OPTIONS:MFORPYIMPL39} || ${PORT_OPTIONS:MFORPYIMPL310} +.if ${PORT_OPTIONS:MFORPYIMPL39} || ${PORT_OPTIONS:MFORPYIMPL310} ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib/${PYTHON_IMPL_MINOR} -name '*.so' | ${XARGS} ${STRIP_CMD} .else ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy/ -name '*.so' | ${XARGS} ${STRIP_CMD} .endif .if ${PORT_OPTIONS:MFORPYIMPL39} || ${PORT_OPTIONS:MFORPYIMPL310} -.if ${PORT_OPTIONS:MBYTECOMPILE} +. if ${PORT_OPTIONS:MBYTECOMPILE} @echo Byte-compile the Python standard library for optimization levels 0, 1 and 2 with invalidation mode ${COMPILEALL_INVALIDATIONMODE} (cd ${STAGEDIR}${PREFIX}/${PYPY_DIR} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/pypy/goal \ ${WRKSRC}/pypy/goal/${PYPY_EXECUTABLE} -B -I -m compileall --invalidation-mode=${COMPILEALL_INVALIDATIONMODE} -q -x '/tests?/' -o 0 -o 1 -o 2 -d "${PREFIX}/${PYPY_DIR}/lib" lib) -.else +. else @echo Distribution of byte-compiled standard library files is deactivated -.endif +. endif .else @echo Byte-compilation of standard library files is not yet supported .endif
