Mercurial > hgrepos > FreeBSD > ports > PyPy
annotate lang/pypy310/Makefile @ 206:7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
This is to remove possible clashes with other PYTHON-related port options
and variables.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 14 Mar 2025 01:16:50 +0100 |
| parents | 0b0312cdf0ca |
| children |
| rev | line source |
|---|---|
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
1 # Created by: Franz Glasner <fzglas.hg@dom66.de> |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
2 # based on the port created by: David Naylor <naylor.b.david@gmail.com> |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
3 |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
4 PORTNAME= pypy310 |
|
199
8b567a874360
Upgrade to PyPy v7.3.19.
Franz Glasner <fzglas.hg@dom66.de>
parents:
198
diff
changeset
|
5 DISTVERSION= 7.3.19 |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
6 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
|
7 MASTER_SITES= https://downloads.python.org/pypy/ |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
8 DISTNAME= pypy${PYPY_PYTHON_IMPL_VER}-v${DISTVERSION}-src |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 |
|
132
fd184f6f2453
FIX: Typo in MAINTAINER address
Franz Glasner <fzglas.hg@dom66.de>
parents:
131
diff
changeset
|
10 MAINTAINER= fzglas.hg@dom66.de |
|
190
1e06396580ad
More detailed comments regarding the Python implementations
Franz Glasner <hg@dom66.de>
parents:
136
diff
changeset
|
11 COMMENT= Fast, compliant implementation of the Python language (Python 3.10) |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
12 WWW= https://www.pypy.org |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
13 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
14 LICENSE= MIT PSFL |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
15 LICENSE_COMB= multi |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
16 LICENSE_FILE_MIT= ${WRKSRC}/LICENSE |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
17 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
18 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
|
19 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
|
20 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
|
21 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
|
22 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
|
23 |
|
199
8b567a874360
Upgrade to PyPy v7.3.19.
Franz Glasner <fzglas.hg@dom66.de>
parents:
198
diff
changeset
|
24 # libexpat is now vendored |
|
8b567a874360
Upgrade to PyPy v7.3.19.
Franz Glasner <fzglas.hg@dom66.de>
parents:
198
diff
changeset
|
25 LIB_DEPENDS= libffi.so:devel/libffi |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
26 # Without gdbm is not supported on v7.3.9 any more: no extra package needed |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
27 LIB_DEPENDS+= libgdbm.so:databases/gdbm |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
28 # We also need for dbm.ndbm the BerkeleyDB in version 5 |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
29 LIB_DEPENDS+= libdb-5.so:databases/db5 |
|
198
c43bcad6c935
Prepare some preconditions for runnings tests for pypy310 and pypy39.
Franz Glasner <fzglas.hg@dom66.de>
parents:
194
diff
changeset
|
30 TEST_DEPENDS= ${LOCALBASE}/${PYPY_DIR}/lib/pypy${PYPY_PYTHON_IMPL_VER}/_gdbm_cffi.${PYPY_CFFI_VER}.so:databases/pypy3-gdbm@pypy310 \ |
|
c43bcad6c935
Prepare some preconditions for runnings tests for pypy310 and pypy39.
Franz Glasner <fzglas.hg@dom66.de>
parents:
194
diff
changeset
|
31 ${LOCALBASE}/${PYPY_DIR}/lib/pypy${PYPY_PYTHON_IMPL_VER}/_sqlite3_cffi.${PYPY_CFFI_VER}.so:databases/pypy3-sqlite3@pypy310 \ |
|
c43bcad6c935
Prepare some preconditions for runnings tests for pypy310 and pypy39.
Franz Glasner <fzglas.hg@dom66.de>
parents:
194
diff
changeset
|
32 ${LOCALBASE}/${PYPY_DIR}/lib/pypy${PYPY_PYTHON_IMPL_VER}/_tkinter/tklib_cffi.${PYPY_CFFI_VER}.so:x11-toolkits/pypy3-tkinter@pypy310 |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
33 |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
34 USES= compiler:c11 gettext-runtime gmake shebangfix ssl tar:bzip2 |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
35 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
|
36 |
|
206
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
37 OPTIONS_DEFINE= BYTECOMPILE |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
38 OPTIONS_DEFAULT= BYTECOMPILE TRANS_PYTHON BCUNCHECKEDHASH |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
39 OPTIONS_SINGLE= TRANS BCSTYLE |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
40 OPTIONS_SINGLE_TRANS= TRANS_PYTHON TRANS_PYPY TRANS_PYPY_MINMEM |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
41 OPTIONS_SINGLE_BCSTYLE= BCTIMESTAMP BCCHECKEDHASH BCUNCHECKEDHASH |
|
206
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
42 OPTIONS_SUB= yes |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
43 |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
44 BYTECOMPILE_DESC= Enable to build byte-compiled Python files |
|
206
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
45 TRANS_DESC= Translation method |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
46 BCSTYLE_DESC= PEP-552 .pyc-File Invalidation Modes |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
47 TRANS_PYTHON_DESC= Use Python-2.7 to translate (slowest) |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
48 TRANS_PYPY_DESC= Use PyPy to translate (fastest, highest memory usage) |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
49 TRANS_PYPY_MINMEM_DESC= Use PyPy to translate (lowest memory usage) |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
50 BCTIMESTAMP_DESC= Traditional timestamp based .pyc file invalidataion |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
51 BCCHECKEDHASH_DESC= Use checked hash based .pyc file invalidataion |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
52 BCUNCHECKEDHASH_DESC= Use unchecked hash based .pyc file invalidataion |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
53 |
|
206
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
54 TRANS_PYTHON_USES= python:2.7,build,test |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
55 TRANS_PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=2.10:devel/py-pycparser@${PY_FLAVOR} |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
56 TRANS_PYTHON_VARS= TESTRUNNER_PYTHON_CMD=${LOCALBASE}/bin/python2.7 |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
57 TRANS_PYPY_USES= python:2.7,test |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
58 TRANS_PYPY_BUILD_DEPENDS= pypy2:lang/pypy2 |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
59 TRANS_PYPY_VARS= PYTHON_CMD=${LOCALBASE}/bin/pypy \ |
|
204
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
199
diff
changeset
|
60 TESTRUNNER_PYTHON_CMD=${LOCALBASE}/bin/python2.7 |
|
206
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
61 TRANS_PYPY_MINMEM_USES= python:2.7,test |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
62 TRANS_PYPY_MINMEM_BUILD_DEPENDS= pypy2:lang/pypy2 |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
63 TRANS_PYPY_MINMEM_VARS= PYTHON_CMD="${SETENV} PYPY_GC_MAX_DELTA=200MB ${LOCALBASE}/bin/pypy --jit loop_longevity=300" \ |
|
7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
Franz Glasner <fzglas.hg@dom66.de>
parents:
204
diff
changeset
|
64 TESTRUNNER_PYTHON_CMD=${LOCALBASE}/bin/python2.7 |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
65 BCTIMESTAMP_VARS= COMPILEALL_INVALIDATIONMODE=timestamp |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
66 BCCHECKEDHASH_VARS= COMPILEALL_INVALIDATIONMODE=checked-hash |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
67 BCUNCHECKEDHASH_VARS= COMPILEALL_INVALIDATIONMODE=unchecked-hash |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
68 |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
69 PYPY_TAG= pypy |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
70 PYPY_DIR= pypy${PYPY_PYTHON_IMPL_VER_MAJOR}-${DISTVERSION:C|([0-9]+)\.([0-9]+).*|\1.\2|} |
| 59 | 71 |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
72 PYPY_PYTHON_IMPL_VER= 3.10 |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
73 PYPY_PYTHON_IMPL_VER_MAJOR= ${PYPY_PYTHON_IMPL_VER:C|([0-9]+)\.[0-9]+|\1|} |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
74 |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
75 PYPY_CFFI_VER= pypy${PYPY_PYTHON_IMPL_VER:S/.//}-pp${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||} |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
76 PYPY_LDLIBRARY= libpypy${PYPY_PYTHON_IMPL_VER}-c.so |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
77 PYPY_EXECUTABLE= pypy${PYPY_PYTHON_IMPL_VER}-c |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
78 PYPY_BCTAG= .pypy${PYPY_PYTHON_IMPL_VER:S/.//} |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
79 |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
80 PYPY_ARGS= |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
81 |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
82 PLIST_SUB+= PYPY_DIR=${PYPY_DIR} \ |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
83 PYPY_CFFI_VER=${PYPY_CFFI_VER} \ |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
84 PYPY_LDLIBRARY=${PYPY_LDLIBRARY} \ |
|
136
0110ab1309c1
FIX: Allow to install pypy39 and pypy310 at the same time: move colliding LICENSE and README files
Franz Glasner <fzglas.hg@dom66.de>
parents:
134
diff
changeset
|
85 PKGNAME=${PKGNAME} \ |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
86 PYTHON_IMPL_MINOR=pypy${PYPY_PYTHON_IMPL_VER} \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
87 PY_VERSION_SHORT=${PYPY_PYTHON_IMPL_VER} \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
88 PYPY_BCTAG=${PYPY_BCTAG} |
| 59 | 89 |
|
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
|
90 ALL_TARGET= ${PYPY_EXECUTABLE} |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
91 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
|
92 MAKE_ENV+= PYPY_LOCALBASE=${LOCALBASE} LDSHARED="${CC} -shared" |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
93 PACKAGE_ARGS= --without-sqlite3 --without-_tkinter |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
94 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
|
95 |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
96 # shebang configuration |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
97 python_CMD= ${LOCALBASE}/bin/pypy${PYPY_PYTHON_IMPL_VER} |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
98 SHEBANG_FILES= \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
99 lib-python/3/base64.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
100 lib-python/3/cProfile.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
101 lib-python/3/cgi.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
102 lib-python/3/encodings/rot_13.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
103 lib-python/3/keyword.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
104 lib-python/3/idlelib/pyshell.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
105 lib-python/3/lib2to3/pgen2/token.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
106 lib-python/3/lib2to3/tests/data/different_encoding.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
107 lib-python/3/lib2to3/tests/data/false_encoding.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
108 lib-python/3/lib2to3/tests/pytree_idempotency.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
109 lib-python/3/pdb.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
110 lib-python/3/platform.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
111 lib-python/3/profile.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
112 lib-python/3/pydoc.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
113 lib-python/3/quopri.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
114 lib-python/3/smtpd.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
115 lib-python/3/smtplib.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
116 lib-python/3/tabnanny.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
117 lib-python/3/tarfile.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
118 lib-python/3/test/bisect_cmd.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
119 lib-python/3/test/crashers/recursive_call.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
120 lib-python/3/test/curses_tests.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
121 lib-python/3/test/re_tests.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
122 lib-python/3/test/regrtest.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
123 lib-python/3/timeit.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
124 lib-python/3/trace.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
125 lib-python/3/turtledemo/bytedesign.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
126 lib-python/3/turtledemo/clock.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
127 lib-python/3/turtledemo/forest.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
128 lib-python/3/turtledemo/fractalcurves.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
129 lib-python/3/turtledemo/lindenmayer.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
130 lib-python/3/turtledemo/minimal_hanoi.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
131 lib-python/3/turtledemo/paint.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
132 lib-python/3/turtledemo/peace.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
133 lib-python/3/turtledemo/penrose.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
134 lib-python/3/turtledemo/planet_and_moon.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
135 lib-python/3/turtledemo/sorting_animate.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
136 lib-python/3/turtledemo/tree.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
137 lib-python/3/turtledemo/yinyang.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
138 lib-python/3/turtledemo/__main__.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
139 lib-python/3/uu.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
140 lib-python/3/webbrowser.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
141 lib_pypy/_cffi_ssl/tools/make_ssl_data.py \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
142 lib-python/3/test/ziptestdata/header.sh \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
143 lib-python/3/test/ziptestdata/exe_with_z64 \ |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
144 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
|
145 |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
146 #.include "bsd.pypy.mk" |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
147 .include <bsd.port.pre.mk> |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
148 |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
149 .if ${OPSYS} == FreeBSD && ${ARCH} != i386 && ${ARCH} != amd64 |
|
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
150 PYPY_ARGS= --withoutmod-_vmprof |
|
63
87850df999db
Make compilation for Python 3.10 work: Refactor SHEBANG_FILES
Franz Glasner <fzglas.hg@dom66.de>
parents:
60
diff
changeset
|
151 .else |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
152 LIB_DEPENDS+= libunwind.so:devel/libunwind |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
153 .endif |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
154 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
155 pre-build: |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
156 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
|
157 ${RM} -r ${WRKDIR}/build; \ |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
158 ${MKDIR} ${WRKDIR}/build; \ |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
159 (cd ${WRKSRC}/pypy/goal; \ |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
160 ${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
|
161 ${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
|
162 fi |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
163 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
164 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
|
165 ${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
|
166 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
167 do-install: |
|
45
5e046980990d
Call the package.py script with WRKSRC as the CWD.
Franz Glasner <fzglas.hg@dom66.de>
parents:
43
diff
changeset
|
168 (cd ${WRKSRC}; \ |
|
5e046980990d
Call the package.py script with WRKSRC as the CWD.
Franz Glasner <fzglas.hg@dom66.de>
parents:
43
diff
changeset
|
169 ${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
|
170 ${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
|
171 ${PACKAGE_ARGS}) |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
172 ${EXTRACT_CMD} -C ${STAGEDIR}${PREFIX} -xf ${WRKDIR}/build/${PYPY_DIR}.tar.bz2 |
|
136
0110ab1309c1
FIX: Allow to install pypy39 and pypy310 at the same time: move colliding LICENSE and README files
Franz Glasner <fzglas.hg@dom66.de>
parents:
134
diff
changeset
|
173 ${MV} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/LICENSE ${STAGEDIR}${PREFIX}/${PYPY_DIR}/LICENSE-${PKGNAME} |
|
0110ab1309c1
FIX: Allow to install pypy39 and pypy310 at the same time: move colliding LICENSE and README files
Franz Glasner <fzglas.hg@dom66.de>
parents:
134
diff
changeset
|
174 ${MV} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/README.rst ${STAGEDIR}${PREFIX}/${PYPY_DIR}/README-${PKGNAME}.rst |
|
0110ab1309c1
FIX: Allow to install pypy39 and pypy310 at the same time: move colliding LICENSE and README files
Franz Glasner <fzglas.hg@dom66.de>
parents:
134
diff
changeset
|
175 ${MV} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/include/README ${STAGEDIR}${PREFIX}/${PYPY_DIR}/include/README-${PKGNAME} |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
176 ${RM} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/bin/${PYPY_TAG} |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
177 ${RM} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/bin/${PYPY_TAG}${PYPY_PYTHON_IMPL_VER_MAJOR} |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
178 ${RM} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/bin/python |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
179 ${RM} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/bin/python${PYPY_PYTHON_IMPL_VER_MAJOR} |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
180 ${LN} -fs ../${PYPY_DIR}/bin/${PYPY_TAG}${PYPY_PYTHON_IMPL_VER} ${STAGEDIR}${PREFIX}/bin/${PYPY_TAG}${PYPY_PYTHON_IMPL_VER} |
|
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
181 ${FIND} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib/${PYTHON_IMPL_MINOR} -name '*.so' | ${XARGS} ${STRIP_CMD} |
|
126
1c224aaef1af
Now also include the byte-compiled Python files (.pyc, .pyo) by default
Franz Glasner <fzglas.hg@dom66.de>
parents:
125
diff
changeset
|
182 .if ${PORT_OPTIONS:MBYTECOMPILE} |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
183 @${ECHO} Byte-compile the Python standard library for optimization levels 0, 1 and 2 with invalidation mode ${COMPILEALL_INVALIDATIONMODE} |
|
126
1c224aaef1af
Now also include the byte-compiled Python files (.pyc, .pyo) by default
Franz Glasner <fzglas.hg@dom66.de>
parents:
125
diff
changeset
|
184 (cd ${STAGEDIR}${PREFIX}/${PYPY_DIR} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/pypy/goal \ |
|
134
cb43b563307b
Build of lang/pypy310 done
Franz Glasner <fzglas.hg@dom66.de>
parents:
132
diff
changeset
|
185 ${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) |
|
126
1c224aaef1af
Now also include the byte-compiled Python files (.pyc, .pyo) by default
Franz Glasner <fzglas.hg@dom66.de>
parents:
125
diff
changeset
|
186 .else |
|
1c224aaef1af
Now also include the byte-compiled Python files (.pyc, .pyo) by default
Franz Glasner <fzglas.hg@dom66.de>
parents:
125
diff
changeset
|
187 @${ECHO} Distribution of byte-compiled standard library files is deactivated |
|
1c224aaef1af
Now also include the byte-compiled Python files (.pyc, .pyo) by default
Franz Glasner <fzglas.hg@dom66.de>
parents:
125
diff
changeset
|
188 .endif |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
189 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
190 do-test: |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
191 # 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
|
192 # add_translated_tests() |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
193 (cd ${WRKSRC}; \ |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
194 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build PYTHONPATH=${WRKSRC} \ |
|
204
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
199
diff
changeset
|
195 ${TESTRUNNER_PYTHON_CMD} testrunner/runner.py --root pypy --logfile=pytest-A.log \ |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
196 --parallel-runs ${MAKE_JOBS_NUMBER} \ |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
197 --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
|
198 .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
|
199 (cd ${WRKSRC}; \ |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
200 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build PYTHONPATH=${WRKSRC} \ |
|
204
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
199
diff
changeset
|
201 ${TESTRUNNER_PYTHON_CMD} pypy/test_all.py --basetemp ${WRKDIR}/build --pypy pypy/goal/${PYPY_EXECUTABLE} \ |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
202 ${dir} ) |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
203 .endfor |
|
204
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
199
diff
changeset
|
204 (cd ${WRKSRC}/lib-python/3/test; \ |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
205 ${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build PYTHONPATH=${WRKSRC} \ |
|
198
c43bcad6c935
Prepare some preconditions for runnings tests for pypy310 and pypy39.
Franz Glasner <fzglas.hg@dom66.de>
parents:
194
diff
changeset
|
206 ${WRKSRC}/pypy/goal/${PYPY_EXECUTABLE} regrtest.py -vvu all) |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
207 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
208 pkg-plist: stage |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
209 ${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
|
210 ${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
|
211 -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
|
212 -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
|
213 -e '/\/$$/d' \ |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
214 ${WRKDIR}/.plist-files-gen |
|
125
e11577711968
Build the new pypy2:lang/pypy2 using the new monorepo for PyPy.
Franz Glasner <fzglas.hg@dom66.de>
parents:
123
diff
changeset
|
215 ${ECHO} bin/${PYPY_TAG} > ${WRKDIR}/pkg-plist |
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
216 ${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
|
217 ${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
|
218 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
219 .include <bsd.port.post.mk> |
