comparison Makefile @ 76:82ca701f5432

Build PyPy3 for Python 3.8 using PyPy3.8-v7.3.9
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 03 Oct 2022 11:38:58 +0200
parents b8cea9d588b1
children 22c5d4be50bd
comparison
equal deleted inserted replaced
75:e5280fa76674 76:82ca701f5432
1 # Created by: David Naylor <dbn@FreeBSD.org> 1 # Created by: David Naylor <dbn@FreeBSD.org>
2 # $FreeBSD: head/lang/pypy3/Makefile 559974 2021-01-02 21:48:19Z rene $ 2 # $FreeBSD: head/lang/pypy3/Makefile 559974 2021-01-02 21:48:19Z rene $
3 3
4 PORTNAME= pypy3 4 PORTNAME= pypy3
5 DISTNAME= ${PORTNAME}.6-v${DISTVERSION}-src 5 DISTNAME= ${PORTNAME}.8-v${DISTVERSION}-src
6 6
7 MASTERDIR= ${.CURDIR}/../pypy 7 MASTERDIR= ${.CURDIR}/../pypy
8 8
9 WRKSRC= ${WRKDIR}/${PORTNAME}.6-v${DISTVERSION:C/-.*//}-src 9 WRKSRC= ${WRKDIR}/${PORTNAME}.8-v${DISTVERSION:C/-.*//}-src
10
11 # Without gdbm is not supported on v7.3.9 any more: no extra package needed
12 LIB_DEPENDS+= libgdbm.so:databases/gdbm
10 13
11 SHEBANG_FILES= \ 14 SHEBANG_FILES= \
12 lib-python/3/base64.py \ 15 lib-python/3/base64.py \
13 lib-python/3/cProfile.py \ 16 lib-python/3/cProfile.py \
14 lib-python/3/cgi.py \ 17 lib-python/3/cgi.py \
27 lib-python/3/smtpd.py \ 30 lib-python/3/smtpd.py \
28 lib-python/3/smtplib.py \ 31 lib-python/3/smtplib.py \
29 lib-python/3/symbol.py \ 32 lib-python/3/symbol.py \
30 lib-python/3/tabnanny.py \ 33 lib-python/3/tabnanny.py \
31 lib-python/3/tarfile.py \ 34 lib-python/3/tarfile.py \
32 lib-python/3/test/bisect.py \ 35 lib-python/3/test/bisect_cmd.py \
33 lib-python/3/test/crashers/recursive_call.py \ 36 lib-python/3/test/crashers/recursive_call.py \
34 lib-python/3/test/curses_tests.py \ 37 lib-python/3/test/curses_tests.py \
35 lib-python/3/test/pystone.py \ 38 lib-python/3/test/pystone.py \
36 lib-python/3/test/re_tests.py \ 39 lib-python/3/test/re_tests.py \
37 lib-python/3/test/regrtest.py \ 40 lib-python/3/test/regrtest.py \
41 lib-python/3/test/ziptestdata/header.sh \
42 lib-python/3/test/ziptestdata/exe_with_z64 \
43 lib-python/3/test/ziptestdata/exe_with_zip \
38 lib-python/3/timeit.py \ 44 lib-python/3/timeit.py \
39 lib-python/3/trace.py \ 45 lib-python/3/trace.py \
40 lib-python/3/turtledemo/bytedesign.py \ 46 lib-python/3/turtledemo/bytedesign.py \
41 lib-python/3/turtledemo/clock.py \ 47 lib-python/3/turtledemo/clock.py \
42 lib-python/3/turtledemo/forest.py \ 48 lib-python/3/turtledemo/forest.py \
51 lib-python/3/turtledemo/yinyang.py \ 57 lib-python/3/turtledemo/yinyang.py \
52 lib-python/3/uu.py \ 58 lib-python/3/uu.py \
53 lib-python/3/webbrowser.py \ 59 lib-python/3/webbrowser.py \
54 lib_pypy/_cffi_ssl/tools/make_ssl_data.py 60 lib_pypy/_cffi_ssl/tools/make_ssl_data.py
55 61
56 PACKAGE_ARGS= --without-gdbm --without-sqlite3 --without-tk 62 PACKAGE_ARGS= --without-sqlite3 --without-_tkinter
57 63
58 PYPY_CFFI_VER= ${PORTNAME}6-pp${DISTVERSION:C/.[^.]+$//:S/.//}-${ARCH}-${OPSYS:tl}${OSREL:C/\..*//} 64 PYPY_CFFI_VER= ${PORTNAME}8-pp${DISTVERSION:C/.[^.]+$//:S/.//}-${ARCH}-${OPSYS:tl}${OSREL:C/\..*//}
59 65
60 pre-install: 66 pre-install:
61 ${FIND} ${WRKSRC} -name '*.pyc' -delete 67 ${FIND} ${WRKSRC} -name '*.pyc' -delete
62 #${CHMOD} -R a-w ${WRKSRC} 68 #${CHMOD} -R a-w ${WRKSRC}
63 #${CHMOD} -R u+w ${WRKSRC}/lib_pypy 69 #${CHMOD} -R u+w ${WRKSRC}/lib_pypy