annotate Makefile @ 63:87850df999db

Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 11 Jan 2024 01:14:40 +0100
parents 4a2bf3c9eb24
children 4f846c664620
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 # Created by: David Naylor <naylor.b.david@gmail.com>
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
3 PORTNAME?= pypy
49
fbd13af3b578 Update to build PyPy on FreeBSD 13.1 with dist version 7.3.11
Franz Glasner <fzglas.hg@dom66.de>
parents: 46
diff changeset
4 PORTREVISION?= 0
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5 CATEGORIES= lang python
10
c269f1e91387 Update to build PyPy on FreeBSD 13.1 with dist versilon 7.3.9
Franz Glasner <fzglas.hg@dom66.de>
parents: 2
diff changeset
6 MASTER_SITES= https://downloads.python.org/pypy/
21
27f6cd24b808 More centralized Python version management
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 20
diff changeset
7 DISTNAME?= ${PYTHON_IMPL_MINOR}-v${DISTVERSION}-src
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
8
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
9 MAINTAINER= python@FreeBSD.org
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
10 COMMENT= Fast, compliant implementation of the Python language
12
a92355d5c173 Put the "WWW" info into the Makefile now
Franz Glasner <fzglas.hg@dom66.de>
parents: 10
diff changeset
11 WWW= http://pypy.org
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
12
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
13 LICENSE= MIT PSFL
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14 LICENSE_COMB= multi
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
15 LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
16
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
17 BROKEN_armv6= fails to package: pypy_objspace_std.c: Crash in JIT!
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
18 BROKEN_armv7= fails to package: pypy_objspace_std.c: Crash in JIT!
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
19 BROKEN_powerpc64= fails to compile: platcheck_109.c: fatal error: linux/auxvec.h: No such file or directory
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
20 ONLY_FOR_ARCHS?= amd64 armv6 armv7 i386 powerpc64 powerpc64le
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
21 ONLY_FOR_ARCHS_REASON?= PyPy JIT only supported on these architectures
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
22
14
0e79fd0685d3 Because the slave port pypy3 now needs an extra LIB_DEPENDS item just add here only; do not overwrite
Franz Glasner <fzglas.hg@dom66.de>
parents: 12
diff changeset
23 LIB_DEPENDS+= libexpat.so:textproc/expat2 \
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
24 libffi.so:devel/libffi
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
25 TEST_DEPENDS= ${LOCALBASE}/${PYPY_DIR}/lib_pypy/_gdbm_cffi.${PYPY_CFFI_VER}.so:databases/pypy-gdbm \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
26 ${LOCALBASE}/${PYPY_DIR}/lib_pypy/_sqlite3_cffi.${PYPY_CFFI_VER}.so:databases/pypy-sqlite3 \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
27 ${LOCALBASE}/${PYPY_DIR}/lib_pypy/_tkinter/tklib_cffi.${PYPY_CFFI_VER}.so:x11-toolkits/pypy-tkinter
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
28
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
29 USES= gettext-runtime gmake shebangfix ssl tar:bzip2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
30 USE_LDCONFIG= ${PREFIX}/${PYPY_DIR}/bin
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
31
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
32 OPTIONS_SINGLE= TRANS
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
33 OPTIONS_SINGLE_TRANS= PYTHON
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
34 PYTHON_DESC= Use Python-2.7 to translate (slowest)
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
35 PYPY_DESC= Use PyPy to translate (fastest, highest memory usage)
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
36 PYPY_MINMEM_DESC= Use PyPy to translate (lowest memory usage)
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
37 TRANS_DESC= Translation method
59
e25be229d3b6 Order of LOCALBASE
Franz Glasner <hg@dom66.de>
parents: 58
diff changeset
38
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
39 # Only allow building with pypy if it wouldn't cause a dependency loop (pypy depending on itself)
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
40 .if exists(${LOCALBASE}/bin/pypy) || ${PORTNAME} != pypy
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
41 OPTIONS_SINGLE_TRANS+= PYPY PYPY_MINMEM
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
42 . if exists(${LOCALBASE}/bin/pypy)
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
43 OPTIONS_DEFAULT= PYPY_MINMEM
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
44 . else
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
45 OPTIONS_DEFAULT= PYTHON
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
46 . endif
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
47 .else
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
48 OPTIONS_SLAVE= PYTHON
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
49 .endif
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
50
59
e25be229d3b6 Order of LOCALBASE
Franz Glasner <hg@dom66.de>
parents: 58
diff changeset
51 LOCALBASE?= /usr/local
e25be229d3b6 Order of LOCALBASE
Franz Glasner <hg@dom66.de>
parents: 58
diff changeset
52
43
af3a2629a882 Allow to build PyPy3.9: the target name in the generated Makefile has changed
Franz Glasner <fzglas.hg@dom66.de>
parents: 42
diff changeset
53 ALL_TARGET= ${PYPY_EXECUTABLE}
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
54 BUILD_WRKSRC?= ${WRKDIR}/build/usession-${PORTNAME}-0/testing_1
45
5e046980990d Call the package.py script with WRKSRC as the CWD.
Franz Glasner <fzglas.hg@dom66.de>
parents: 43
diff changeset
55 MAKE_ENV+= PYPY_LOCALBASE=${LOCALBASE} LDSHARED="${CC} -shared"
10
c269f1e91387 Update to build PyPy on FreeBSD 13.1 with dist versilon 7.3.9
Franz Glasner <fzglas.hg@dom66.de>
parents: 2
diff changeset
56 PACKAGE_ARGS?= --without-gdbm --without-sqlite3 --without-_tkinter
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
57 LLD_UNSAFE= yes
63
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
58
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
59 python_OLD_CMD= ${LOCALBASE}/bin/python
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
60 python_CMD= ${PREFIX}/bin/${PORTNAME}
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
61
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
62 .if ${PORTNAME} != pypy
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
63 PYPY_BUILD_DEPENDS= pypy:lang/pypy
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
64 PYPY_MINMEM_BUILD_DEPENDS= pypy:lang/pypy
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
65 .endif
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
66 PYPY_VARS= PYTHON_CMD=${LOCALBASE}/bin/pypy
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
67 PYPY_MINMEM_VARS= PYTHON_CMD="${SETENV} PYPY_GC_MAX_DELTA=200MB ${LOCALBASE}/bin/pypy --jit loop_longevity=300"
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
68 PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=2.10:devel/py-pycparser@${PY_FLAVOR}
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
69 PYTHON_USES= python:2.7,build
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
70
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
71 DESCR= ${.CURDIR}/pkg-descr
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
72 PATCHDIR= ${.CURDIR}/files
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
73
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
74 .include "bsd.pypy.mk"
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
75 #.include <bsd.port.pre.mk>
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
76
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
77 DISTINFO_FILE?= ${.CURDIR}/distinfo
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
78 PLIST?= ${.CURDIR}/pkg-plist
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
79
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
80 .if ${OPSYS} == FreeBSD && ${ARCH} != i386 && ${ARCH} != amd64
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
81 PYPY_ARGS= --withoutmod-_vmprof
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
82 .else
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
83 LIB_DEPENDS+= libunwind.so:devel/libunwind
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
84 .endif
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
85
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
86 .if ${PORTNAME} == pypy
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
87 SHEBANG_FILES= lib-python/2.7/plat-mac/appletrunner.py \
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
88 lib-python/2.7/plat-mac/bundlebuilder.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
89 lib-python/2.7/keyword.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
90 lib-python/2.7/test/regrtest.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
91 lib-python/2.7/test/pystone.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
92 lib-python/2.7/test/curses_tests.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
93 lib-python/2.7/test/re_tests.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
94 lib-python/2.7/test/crashers/recursive_call.py \
10
c269f1e91387 Update to build PyPy on FreeBSD 13.1 with dist versilon 7.3.9
Franz Glasner <fzglas.hg@dom66.de>
parents: 2
diff changeset
95 lib-python/2.7/test/bisect_cmd.py \
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
96 lib-python/2.7/UserString.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
97 lib-python/2.7/pdb.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
98 lib-python/2.7/mimify.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
99 lib-python/2.7/pydoc.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
100 lib-python/2.7/uu.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
101 lib-python/2.7/trace.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
102 lib-python/2.7/platform.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
103 lib-python/2.7/profile.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
104 lib-python/2.7/tabnanny.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
105 lib-python/2.7/lib2to3/tests/pytree_idempotency.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
106 lib-python/2.7/lib2to3/tests/data/false_encoding.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
107 lib-python/2.7/lib2to3/tests/data/different_encoding.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
108 lib-python/2.7/lib2to3/pgen2/token.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
109 lib-python/2.7/encodings/rot_13.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
110 lib-python/2.7/base64.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
111 lib-python/2.7/webbrowser.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
112 lib-python/2.7/idlelib/PyShell.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
113 lib-python/2.7/cgi.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
114 lib-python/2.7/symbol.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
115 lib-python/2.7/cProfile.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
116 lib-python/2.7/smtpd.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
117 lib-python/2.7/quopri.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
118 lib-python/2.7/timeit.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
119 lib-python/2.7/smtplib.py \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
120 lib_pypy/_cffi_ssl/tools/make_ssl_data.py
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
121
63
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
122 .else
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
123 .if ${PORT_OPTIONS:MFORPYIMPL37}
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
124 SHEBANG_FILES= \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
125 lib-python/3/base64.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
126 lib-python/3/cProfile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
127 lib-python/3/cgi.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
128 lib-python/3/encodings/rot_13.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
129 lib-python/3/keyword.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
130 lib-python/3/idlelib/pyshell.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
131 lib-python/3/lib2to3/pgen2/token.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
132 lib-python/3/lib2to3/tests/data/different_encoding.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
133 lib-python/3/lib2to3/tests/data/false_encoding.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
134 lib-python/3/lib2to3/tests/pytree_idempotency.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
135 lib-python/3/pdb.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
136 lib-python/3/platform.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
137 lib-python/3/profile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
138 lib-python/3/pydoc.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
139 lib-python/3/quopri.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
140 lib-python/3/smtpd.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
141 lib-python/3/smtplib.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
142 lib-python/3/symbol.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
143 lib-python/3/tabnanny.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
144 lib-python/3/tarfile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
145 lib-python/3/test/bisect_cmd.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
146 lib-python/3/test/crashers/recursive_call.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
147 lib-python/3/test/curses_tests.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
148 lib-python/3/test/pystone.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
149 lib-python/3/test/re_tests.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
150 lib-python/3/test/regrtest.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
151 lib-python/3/timeit.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
152 lib-python/3/trace.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
153 lib-python/3/turtledemo/bytedesign.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
154 lib-python/3/turtledemo/clock.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
155 lib-python/3/turtledemo/forest.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
156 lib-python/3/turtledemo/fractalcurves.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
157 lib-python/3/turtledemo/lindenmayer.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
158 lib-python/3/turtledemo/minimal_hanoi.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
159 lib-python/3/turtledemo/paint.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
160 lib-python/3/turtledemo/peace.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
161 lib-python/3/turtledemo/penrose.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
162 lib-python/3/turtledemo/planet_and_moon.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
163 lib-python/3/turtledemo/tree.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
164 lib-python/3/turtledemo/yinyang.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
165 lib-python/3/uu.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
166 lib-python/3/webbrowser.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
167 lib_pypy/_cffi_ssl/tools/make_ssl_data.py
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
168 .elif ${PORT_OPTIONS:MFORPYIMPL38}
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
169 SHEBANG_FILES= \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
170 lib-python/3/base64.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
171 lib-python/3/cProfile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
172 lib-python/3/cgi.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
173 lib-python/3/encodings/rot_13.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
174 lib-python/3/keyword.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
175 lib-python/3/idlelib/pyshell.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
176 lib-python/3/lib2to3/pgen2/token.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
177 lib-python/3/lib2to3/tests/data/different_encoding.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
178 lib-python/3/lib2to3/tests/data/false_encoding.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
179 lib-python/3/lib2to3/tests/pytree_idempotency.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
180 lib-python/3/pdb.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
181 lib-python/3/platform.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
182 lib-python/3/profile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
183 lib-python/3/pydoc.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
184 lib-python/3/quopri.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
185 lib-python/3/smtpd.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
186 lib-python/3/smtplib.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
187 lib-python/3/symbol.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
188 lib-python/3/tabnanny.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
189 lib-python/3/tarfile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
190 lib-python/3/test/bisect_cmd.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
191 lib-python/3/test/crashers/recursive_call.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
192 lib-python/3/test/curses_tests.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
193 lib-python/3/test/pystone.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
194 lib-python/3/test/re_tests.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
195 lib-python/3/test/regrtest.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
196 lib-python/3/timeit.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
197 lib-python/3/trace.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
198 lib-python/3/turtledemo/bytedesign.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
199 lib-python/3/turtledemo/clock.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
200 lib-python/3/turtledemo/forest.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
201 lib-python/3/turtledemo/fractalcurves.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
202 lib-python/3/turtledemo/lindenmayer.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
203 lib-python/3/turtledemo/minimal_hanoi.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
204 lib-python/3/turtledemo/paint.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
205 lib-python/3/turtledemo/peace.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
206 lib-python/3/turtledemo/penrose.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
207 lib-python/3/turtledemo/planet_and_moon.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
208 lib-python/3/turtledemo/tree.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
209 lib-python/3/turtledemo/yinyang.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
210 lib-python/3/uu.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
211 lib-python/3/webbrowser.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
212 lib-python/3/test/ziptestdata/header.sh \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
213 lib-python/3/test/ziptestdata/exe_with_z64 \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
214 lib-python/3/test/ziptestdata/exe_with_zip \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
215 lib_pypy/_cffi_ssl/tools/make_ssl_data.py
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
216 .elif ${PORT_OPTIONS:MFORPYIMPL39}
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
217 SHEBANG_FILES= \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
218 lib-python/3/base64.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
219 lib-python/3/cProfile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
220 lib-python/3/cgi.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
221 lib-python/3/encodings/rot_13.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
222 lib-python/3/keyword.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
223 lib-python/3/idlelib/pyshell.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
224 lib-python/3/lib2to3/pgen2/token.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
225 lib-python/3/lib2to3/tests/data/different_encoding.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
226 lib-python/3/lib2to3/tests/data/false_encoding.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
227 lib-python/3/lib2to3/tests/pytree_idempotency.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
228 lib-python/3/pdb.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
229 lib-python/3/platform.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
230 lib-python/3/profile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
231 lib-python/3/pydoc.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
232 lib-python/3/quopri.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
233 lib-python/3/smtpd.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
234 lib-python/3/smtplib.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
235 lib-python/3/symbol.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
236 lib-python/3/tabnanny.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
237 lib-python/3/tarfile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
238 lib-python/3/test/bisect_cmd.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
239 lib-python/3/test/crashers/recursive_call.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
240 lib-python/3/test/curses_tests.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
241 lib-python/3/test/pystone.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
242 lib-python/3/test/re_tests.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
243 lib-python/3/test/regrtest.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
244 lib-python/3/timeit.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
245 lib-python/3/trace.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
246 lib-python/3/turtledemo/bytedesign.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
247 lib-python/3/turtledemo/clock.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
248 lib-python/3/turtledemo/forest.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
249 lib-python/3/turtledemo/fractalcurves.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
250 lib-python/3/turtledemo/lindenmayer.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
251 lib-python/3/turtledemo/minimal_hanoi.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
252 lib-python/3/turtledemo/paint.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
253 lib-python/3/turtledemo/peace.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
254 lib-python/3/turtledemo/penrose.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
255 lib-python/3/turtledemo/planet_and_moon.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
256 lib-python/3/turtledemo/sorting_animate.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
257 lib-python/3/turtledemo/tree.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
258 lib-python/3/turtledemo/yinyang.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
259 lib-python/3/turtledemo/__main__.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
260 lib-python/3/uu.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
261 lib-python/3/webbrowser.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
262 lib_pypy/_cffi_ssl/tools/make_ssl_data.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
263 lib-python/3/test/ziptestdata/header.sh
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
264 lib-python/3/test/ziptestdata/exe_with_z64 \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
265 lib-python/3/test/ziptestdata/exe_with_zip
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
266 .elif ${PORT_OPTIONS:MFORPYIMPL310}
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
267 SHEBANG_FILES= \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
268 lib-python/3/base64.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
269 lib-python/3/cProfile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
270 lib-python/3/cgi.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
271 lib-python/3/encodings/rot_13.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
272 lib-python/3/keyword.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
273 lib-python/3/idlelib/pyshell.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
274 lib-python/3/lib2to3/pgen2/token.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
275 lib-python/3/lib2to3/tests/data/different_encoding.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
276 lib-python/3/lib2to3/tests/data/false_encoding.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
277 lib-python/3/lib2to3/tests/pytree_idempotency.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
278 lib-python/3/pdb.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
279 lib-python/3/platform.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
280 lib-python/3/profile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
281 lib-python/3/pydoc.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
282 lib-python/3/quopri.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
283 lib-python/3/smtpd.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
284 lib-python/3/smtplib.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
285 lib-python/3/tabnanny.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
286 lib-python/3/tarfile.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
287 lib-python/3/test/bisect_cmd.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
288 lib-python/3/test/crashers/recursive_call.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
289 lib-python/3/test/curses_tests.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
290 lib-python/3/test/pystone.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
291 lib-python/3/test/re_tests.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
292 lib-python/3/test/regrtest.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
293 lib-python/3/timeit.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
294 lib-python/3/trace.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
295 lib-python/3/turtledemo/bytedesign.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
296 lib-python/3/turtledemo/clock.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
297 lib-python/3/turtledemo/forest.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
298 lib-python/3/turtledemo/fractalcurves.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
299 lib-python/3/turtledemo/lindenmayer.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
300 lib-python/3/turtledemo/minimal_hanoi.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
301 lib-python/3/turtledemo/paint.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
302 lib-python/3/turtledemo/peace.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
303 lib-python/3/turtledemo/penrose.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
304 lib-python/3/turtledemo/planet_and_moon.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
305 lib-python/3/turtledemo/sorting_animate.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
306 lib-python/3/turtledemo/tree.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
307 lib-python/3/turtledemo/yinyang.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
308 lib-python/3/turtledemo/__main__.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
309 lib-python/3/uu.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
310 lib-python/3/webbrowser.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
311 lib_pypy/_cffi_ssl/tools/make_ssl_data.py \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
312 lib-python/3/test/ziptestdata/header.sh \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
313 lib-python/3/test/ziptestdata/exe_with_z64 \
87850df999db Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents: 60
diff changeset
314 lib-python/3/test/ziptestdata/exe_with_zip
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
315 .endif
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
316 .endif
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
317
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
318 pre-build:
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
319 if [ ! -f ${BUILD_WRKSRC}/Makefile ]; then \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
320 ${RM} -r ${WRKDIR}/build; \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
321 ${MKDIR} ${WRKDIR}/build; \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
322 (cd ${WRKSRC}/pypy/goal; \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
323 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build PYPY_USESSION_BASENAME=${PORTNAME} \
56
585cf5a218ad Allow to build PyPy-v7.3.14 on FreeBSD 13.2:
Franz Glasner <fzglas.hg@dom66.de>
parents: 49
diff changeset
324 ${PYTHON_CMD} ../../rpython/bin/rpython --source --opt=jit targetpypystandalone.py ${PYPY_ARGS}); \
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
325 fi
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
326
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
327 post-build:
43
af3a2629a882 Allow to build PyPy3.9: the target name in the generated Makefile has changed
Franz Glasner <fzglas.hg@dom66.de>
parents: 42
diff changeset
328 ${CP} ${BUILD_WRKSRC}/${PYPY_EXECUTABLE} ${BUILD_WRKSRC}/${PYPY_LDLIBRARY} ${WRKSRC}/pypy/goal/
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
329
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
330 do-install:
45
5e046980990d Call the package.py script with WRKSRC as the CWD.
Franz Glasner <fzglas.hg@dom66.de>
parents: 43
diff changeset
331 (cd ${WRKSRC}; \
5e046980990d Call the package.py script with WRKSRC as the CWD.
Franz Glasner <fzglas.hg@dom66.de>
parents: 43
diff changeset
332 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build \
5e046980990d Call the package.py script with WRKSRC as the CWD.
Franz Glasner <fzglas.hg@dom66.de>
parents: 43
diff changeset
333 ${PYTHON_CMD} ${WRKSRC}/pypy/tool/release/package.py --builddir ${WRKDIR}/build --archive-name ${PYPY_DIR} \
5e046980990d Call the package.py script with WRKSRC as the CWD.
Franz Glasner <fzglas.hg@dom66.de>
parents: 43
diff changeset
334 ${PACKAGE_ARGS})
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
335 ${EXTRACT_CMD} -C ${STAGEDIR}${PREFIX} -xf ${WRKDIR}/build/${PYPY_DIR}.tar.bz2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
336 ${LN} -fs ../${PYPY_DIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
58
4d4875f64305 FIX: .sp stripping also needs to be done for Python Impl 3.10
Franz Glasner <fzglas.hg@dom66.de>
parents: 56
diff changeset
337 .if ${PORT_OPTIONS:MFORPYIMPL38} || ${PORT_OPTIONS:MFORPYIMPL39} || ${PORT_OPTIONS:MFORPYIMPL310}
42
08af0d826e3b When installing: do properly strip the generated shared libs for PyPy3.8 and PyPy3.9 also.
Franz Glasner <fzglas.hg@dom66.de>
parents: 39
diff changeset
338 ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib/${PYTHON_IMPL_MINOR} -name '*.so' | ${XARGS} ${STRIP_CMD}
08af0d826e3b When installing: do properly strip the generated shared libs for PyPy3.8 and PyPy3.9 also.
Franz Glasner <fzglas.hg@dom66.de>
parents: 39
diff changeset
339 .else
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
340 ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy/ -name '*.so' | ${XARGS} ${STRIP_CMD}
42
08af0d826e3b When installing: do properly strip the generated shared libs for PyPy3.8 and PyPy3.9 also.
Franz Glasner <fzglas.hg@dom66.de>
parents: 39
diff changeset
341 .endif
60
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
342 .if ${PORT_OPTIONS:MFORPYIMPL39} || ${PORT_OPTIONS:MFORPYIMPL310}
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
343 .if ${PORT_OPTIONS:MBYTECOMPILE}
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
344 @echo Byte-compile the Python standard library for optimization levels 0, 1 and 2 with invalidation mode ${COMPILEALL_INVALIDATIONMODE}
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
345 (cd ${STAGEDIR}${PREFIX}/${PYPY_DIR} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/pypy/goal \
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
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)
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
347 .else
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
348 @echo Distribution of byte-compiled standard library files is deactivated
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
349 .endif
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
350 .else
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
351 @echo Byte-compilation of standard library files is not yet supported
4a2bf3c9eb24 FIX: Apply byte-compilation in the "main" Makefile because of MAKE variable issues and allow configuration of byte-compilation in build options
Franz Glasner <hg@dom66.de>
parents: 59
diff changeset
352 .endif
2
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
353
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
354 do-test:
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
355 # See https://bitbucket.org/pypy/buildbot/src/default/bot2/pypybuildbot/builds.py?at=default#builds.py-386
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
356 # add_translated_tests()
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
357 (cd ${WRKSRC}; \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
358 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build PYTHONPATH=${WRKSRC} \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
359 ${WRKSRC}/pypy/goal/pypy-c testrunner/runner.py --root pypy --logfile=pytest-A.log \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
360 --parallel-runs ${MAKE_JOBS_NUMBER} \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
361 --config pypy/pytest-A.cfg --config pypy/pytest-A.py)
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
362 .for dir in lib-python pypy/module/pypyjit/test
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
363 (cd ${WRKSRC}; \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
364 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build PYTHONPATH=${WRKSRC} \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
365 ${WRKSRC}/pypy/goal/pypy-c pypy/test_all.py --basetemp ${WRKDIR}/build --pypy pypy/goal/pypy-c \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
366 ${dir} )
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
367 .endfor
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
368 (cd ${WRKSRC}/lib-python/2.7/test; \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
369 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build PYTHONPATH=${WRKSRC} \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
370 ${WRKSRC}/pypy/goal/pypy-c regrtest.py -vvu all)
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
371
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
372 pkg-plist: stage
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
373 ${TAR} -tf ${WRKDIR}/build/${PYPY_DIR}.tar.bz2 > ${WRKDIR}/.plist-files-gen
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
374 ${REINPLACE_CMD} -e 's|^${PYPY_DIR}|%%PYPY_DIR%%|g' \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
375 -e 's|${PYPY_CFFI_VER}|%%PYPY_CFFI_VER%%|g' \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
376 -e 's/\(.*\/__pycache__\)\/$$/@dir \1/g' \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
377 -e '/\/$$/d' \
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
378 ${WRKDIR}/.plist-files-gen
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
379 ${ECHO} bin/${PORTNAME} > ${WRKDIR}/pkg-plist
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
380 ${SORT} ${WRKDIR}/.plist-files-gen | ${GREP} -v '\.orig' >> ${WRKDIR}/pkg-plist
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
381 ${CP} ${WRKDIR}/pkg-plist ${.CURDIR}/pkg-plist
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
382
5797a1bc38cb ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
383 .include <bsd.port.post.mk>