Mercurial > hgrepos > FreeBSD > ports > PyPy
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 122:cff826a2d6bf | 123:b907e948fed9 |
|---|---|
| 118 lib-python/2.7/timeit.py \ | 118 lib-python/2.7/timeit.py \ |
| 119 lib-python/2.7/smtplib.py \ | 119 lib-python/2.7/smtplib.py \ |
| 120 lib_pypy/_cffi_ssl/tools/make_ssl_data.py | 120 lib_pypy/_cffi_ssl/tools/make_ssl_data.py |
| 121 | 121 |
| 122 .else | 122 .else |
| 123 .if ${PORT_OPTIONS:MFORPYIMPL37} | 123 . if ${PORT_OPTIONS:MFORPYIMPL39} |
| 124 SHEBANG_FILES= \ | |
| 125 lib-python/3/base64.py \ | |
| 126 lib-python/3/cProfile.py \ | |
| 127 lib-python/3/cgi.py \ | |
| 128 lib-python/3/encodings/rot_13.py \ | |
| 129 lib-python/3/keyword.py \ | |
| 130 lib-python/3/idlelib/pyshell.py \ | |
| 131 lib-python/3/lib2to3/pgen2/token.py \ | |
| 132 lib-python/3/lib2to3/tests/data/different_encoding.py \ | |
| 133 lib-python/3/lib2to3/tests/data/false_encoding.py \ | |
| 134 lib-python/3/lib2to3/tests/pytree_idempotency.py \ | |
| 135 lib-python/3/pdb.py \ | |
| 136 lib-python/3/platform.py \ | |
| 137 lib-python/3/profile.py \ | |
| 138 lib-python/3/pydoc.py \ | |
| 139 lib-python/3/quopri.py \ | |
| 140 lib-python/3/smtpd.py \ | |
| 141 lib-python/3/smtplib.py \ | |
| 142 lib-python/3/symbol.py \ | |
| 143 lib-python/3/tabnanny.py \ | |
| 144 lib-python/3/tarfile.py \ | |
| 145 lib-python/3/test/bisect_cmd.py \ | |
| 146 lib-python/3/test/crashers/recursive_call.py \ | |
| 147 lib-python/3/test/curses_tests.py \ | |
| 148 lib-python/3/test/pystone.py \ | |
| 149 lib-python/3/test/re_tests.py \ | |
| 150 lib-python/3/test/regrtest.py \ | |
| 151 lib-python/3/timeit.py \ | |
| 152 lib-python/3/trace.py \ | |
| 153 lib-python/3/turtledemo/bytedesign.py \ | |
| 154 lib-python/3/turtledemo/clock.py \ | |
| 155 lib-python/3/turtledemo/forest.py \ | |
| 156 lib-python/3/turtledemo/fractalcurves.py \ | |
| 157 lib-python/3/turtledemo/lindenmayer.py \ | |
| 158 lib-python/3/turtledemo/minimal_hanoi.py \ | |
| 159 lib-python/3/turtledemo/paint.py \ | |
| 160 lib-python/3/turtledemo/peace.py \ | |
| 161 lib-python/3/turtledemo/penrose.py \ | |
| 162 lib-python/3/turtledemo/planet_and_moon.py \ | |
| 163 lib-python/3/turtledemo/tree.py \ | |
| 164 lib-python/3/turtledemo/yinyang.py \ | |
| 165 lib-python/3/uu.py \ | |
| 166 lib-python/3/webbrowser.py \ | |
| 167 lib_pypy/_cffi_ssl/tools/make_ssl_data.py | |
| 168 .elif ${PORT_OPTIONS:MFORPYIMPL38} | |
| 169 SHEBANG_FILES= \ | |
| 170 lib-python/3/base64.py \ | |
| 171 lib-python/3/cProfile.py \ | |
| 172 lib-python/3/cgi.py \ | |
| 173 lib-python/3/encodings/rot_13.py \ | |
| 174 lib-python/3/keyword.py \ | |
| 175 lib-python/3/idlelib/pyshell.py \ | |
| 176 lib-python/3/lib2to3/pgen2/token.py \ | |
| 177 lib-python/3/lib2to3/tests/data/different_encoding.py \ | |
| 178 lib-python/3/lib2to3/tests/data/false_encoding.py \ | |
| 179 lib-python/3/lib2to3/tests/pytree_idempotency.py \ | |
| 180 lib-python/3/pdb.py \ | |
| 181 lib-python/3/platform.py \ | |
| 182 lib-python/3/profile.py \ | |
| 183 lib-python/3/pydoc.py \ | |
| 184 lib-python/3/quopri.py \ | |
| 185 lib-python/3/smtpd.py \ | |
| 186 lib-python/3/smtplib.py \ | |
| 187 lib-python/3/symbol.py \ | |
| 188 lib-python/3/tabnanny.py \ | |
| 189 lib-python/3/tarfile.py \ | |
| 190 lib-python/3/test/bisect_cmd.py \ | |
| 191 lib-python/3/test/crashers/recursive_call.py \ | |
| 192 lib-python/3/test/curses_tests.py \ | |
| 193 lib-python/3/test/pystone.py \ | |
| 194 lib-python/3/test/re_tests.py \ | |
| 195 lib-python/3/test/regrtest.py \ | |
| 196 lib-python/3/timeit.py \ | |
| 197 lib-python/3/trace.py \ | |
| 198 lib-python/3/turtledemo/bytedesign.py \ | |
| 199 lib-python/3/turtledemo/clock.py \ | |
| 200 lib-python/3/turtledemo/forest.py \ | |
| 201 lib-python/3/turtledemo/fractalcurves.py \ | |
| 202 lib-python/3/turtledemo/lindenmayer.py \ | |
| 203 lib-python/3/turtledemo/minimal_hanoi.py \ | |
| 204 lib-python/3/turtledemo/paint.py \ | |
| 205 lib-python/3/turtledemo/peace.py \ | |
| 206 lib-python/3/turtledemo/penrose.py \ | |
| 207 lib-python/3/turtledemo/planet_and_moon.py \ | |
| 208 lib-python/3/turtledemo/tree.py \ | |
| 209 lib-python/3/turtledemo/yinyang.py \ | |
| 210 lib-python/3/uu.py \ | |
| 211 lib-python/3/webbrowser.py \ | |
| 212 lib-python/3/test/ziptestdata/header.sh \ | |
| 213 lib-python/3/test/ziptestdata/exe_with_z64 \ | |
| 214 lib-python/3/test/ziptestdata/exe_with_zip \ | |
| 215 lib_pypy/_cffi_ssl/tools/make_ssl_data.py | |
| 216 .elif ${PORT_OPTIONS:MFORPYIMPL39} | |
| 217 SHEBANG_FILES= \ | 124 SHEBANG_FILES= \ |
| 218 lib-python/3/base64.py \ | 125 lib-python/3/base64.py \ |
| 219 lib-python/3/cProfile.py \ | 126 lib-python/3/cProfile.py \ |
| 220 lib-python/3/cgi.py \ | 127 lib-python/3/cgi.py \ |
| 221 lib-python/3/encodings/rot_13.py \ | 128 lib-python/3/encodings/rot_13.py \ |
| 261 lib-python/3/webbrowser.py \ | 168 lib-python/3/webbrowser.py \ |
| 262 lib_pypy/_cffi_ssl/tools/make_ssl_data.py \ | 169 lib_pypy/_cffi_ssl/tools/make_ssl_data.py \ |
| 263 lib-python/3/test/ziptestdata/header.sh \ | 170 lib-python/3/test/ziptestdata/header.sh \ |
| 264 lib-python/3/test/ziptestdata/exe_with_z64 \ | 171 lib-python/3/test/ziptestdata/exe_with_z64 \ |
| 265 lib-python/3/test/ziptestdata/exe_with_zip | 172 lib-python/3/test/ziptestdata/exe_with_zip |
| 266 .elif ${PORT_OPTIONS:MFORPYIMPL310} | 173 . elif ${PORT_OPTIONS:MFORPYIMPL310} |
| 267 SHEBANG_FILES= \ | 174 SHEBANG_FILES= \ |
| 268 lib-python/3/base64.py \ | 175 lib-python/3/base64.py \ |
| 269 lib-python/3/cProfile.py \ | 176 lib-python/3/cProfile.py \ |
| 270 lib-python/3/cgi.py \ | 177 lib-python/3/cgi.py \ |
| 271 lib-python/3/encodings/rot_13.py \ | 178 lib-python/3/encodings/rot_13.py \ |
| 310 lib-python/3/webbrowser.py \ | 217 lib-python/3/webbrowser.py \ |
| 311 lib_pypy/_cffi_ssl/tools/make_ssl_data.py \ | 218 lib_pypy/_cffi_ssl/tools/make_ssl_data.py \ |
| 312 lib-python/3/test/ziptestdata/header.sh \ | 219 lib-python/3/test/ziptestdata/header.sh \ |
| 313 lib-python/3/test/ziptestdata/exe_with_z64 \ | 220 lib-python/3/test/ziptestdata/exe_with_z64 \ |
| 314 lib-python/3/test/ziptestdata/exe_with_zip | 221 lib-python/3/test/ziptestdata/exe_with_zip |
| 315 .endif | 222 . endif |
| 316 .endif | 223 .endif |
| 317 | 224 |
| 318 pre-build: | 225 pre-build: |
| 319 if [ ! -f ${BUILD_WRKSRC}/Makefile ]; then \ | 226 if [ ! -f ${BUILD_WRKSRC}/Makefile ]; then \ |
| 320 ${RM} -r ${WRKDIR}/build; \ | 227 ${RM} -r ${WRKDIR}/build; \ |
| 332 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build \ | 239 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build \ |
| 333 ${PYTHON_CMD} ${WRKSRC}/pypy/tool/release/package.py --builddir ${WRKDIR}/build --archive-name ${PYPY_DIR} \ | 240 ${PYTHON_CMD} ${WRKSRC}/pypy/tool/release/package.py --builddir ${WRKDIR}/build --archive-name ${PYPY_DIR} \ |
| 334 ${PACKAGE_ARGS}) | 241 ${PACKAGE_ARGS}) |
| 335 ${EXTRACT_CMD} -C ${STAGEDIR}${PREFIX} -xf ${WRKDIR}/build/${PYPY_DIR}.tar.bz2 | 242 ${EXTRACT_CMD} -C ${STAGEDIR}${PREFIX} -xf ${WRKDIR}/build/${PYPY_DIR}.tar.bz2 |
| 336 ${LN} -fs ../${PYPY_DIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} | 243 ${LN} -fs ../${PYPY_DIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |
| 337 .if ${PORT_OPTIONS:MFORPYIMPL38} || ${PORT_OPTIONS:MFORPYIMPL39} || ${PORT_OPTIONS:MFORPYIMPL310} | 244 .if ${PORT_OPTIONS:MFORPYIMPL39} || ${PORT_OPTIONS:MFORPYIMPL310} |
| 338 ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib/${PYTHON_IMPL_MINOR} -name '*.so' | ${XARGS} ${STRIP_CMD} | 245 ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib/${PYTHON_IMPL_MINOR} -name '*.so' | ${XARGS} ${STRIP_CMD} |
| 339 .else | 246 .else |
| 340 ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy/ -name '*.so' | ${XARGS} ${STRIP_CMD} | 247 ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy/ -name '*.so' | ${XARGS} ${STRIP_CMD} |
| 341 .endif | 248 .endif |
| 342 .if ${PORT_OPTIONS:MFORPYIMPL39} || ${PORT_OPTIONS:MFORPYIMPL310} | 249 .if ${PORT_OPTIONS:MFORPYIMPL39} || ${PORT_OPTIONS:MFORPYIMPL310} |
| 343 .if ${PORT_OPTIONS:MBYTECOMPILE} | 250 . if ${PORT_OPTIONS:MBYTECOMPILE} |
| 344 @echo Byte-compile the Python standard library for optimization levels 0, 1 and 2 with invalidation mode ${COMPILEALL_INVALIDATIONMODE} | 251 @echo Byte-compile the Python standard library for optimization levels 0, 1 and 2 with invalidation mode ${COMPILEALL_INVALIDATIONMODE} |
| 345 (cd ${STAGEDIR}${PREFIX}/${PYPY_DIR} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/pypy/goal \ | 252 (cd ${STAGEDIR}${PREFIX}/${PYPY_DIR} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/pypy/goal \ |
| 346 ${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) | 253 ${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) |
| 347 .else | 254 . else |
| 348 @echo Distribution of byte-compiled standard library files is deactivated | 255 @echo Distribution of byte-compiled standard library files is deactivated |
| 349 .endif | 256 . endif |
| 350 .else | 257 .else |
| 351 @echo Byte-compilation of standard library files is not yet supported | 258 @echo Byte-compilation of standard library files is not yet supported |
| 352 .endif | 259 .endif |
| 353 | 260 |
| 354 do-test: | 261 do-test: |
