diff Makefile @ 85:56d0e959bcf0

Allow to build PyPy3 for Python 3.7 properly also
author Franz Glasner <f.glasner@feldmann-mg.com>
date Wed, 05 Oct 2022 15:37:59 +0200
parents 60cd0d144d3a
children a712910242ac
line wrap: on
line diff
--- a/Makefile	Wed Oct 05 09:40:53 2022 +0200
+++ b/Makefile	Wed Oct 05 15:37:59 2022 +0200
@@ -37,9 +37,6 @@
 		lib-python/3/test/pystone.py \
 		lib-python/3/test/re_tests.py \
 		lib-python/3/test/regrtest.py \
-		lib-python/3/test/ziptestdata/header.sh \
-		lib-python/3/test/ziptestdata/exe_with_z64 \
-		lib-python/3/test/ziptestdata/exe_with_zip \
 		lib-python/3/timeit.py \
 		lib-python/3/trace.py \
 		lib-python/3/turtledemo/bytedesign.py \
@@ -58,6 +55,15 @@
 		lib-python/3/webbrowser.py \
 		lib_pypy/_cffi_ssl/tools/make_ssl_data.py
 
+FORPYIMPL37_VARS=	PLIST=${.CURDIR}/pkg-plist.py37
+
+FORPYIMPL38_VARS=	SHEBANG_FILES+="lib-python/3/test/ziptestdata/header.sh lib-python/3/test/ziptestdata/exe_with_z64 lib-python/3/test/ziptestdata/exe_with_zip"
+FORPYIMPL39_VARS=	SHEBANG_FILES+="lib-python/3/test/ziptestdata/header.sh lib-python/3/test/ziptestdata/exe_with_z64 lib-python/3/test/ziptestdata/exe_with_zip"
+
+FORPYIMPL37_EXTRA_PATCHES=	${PATCHDIR}/py37
+FORPYIMPL38_EXTRA_PATCHES=      ${PATCHDIR}/py38
+FORPYIMPL39_EXTRA_PATCHES=      ${PATCHDIR}/py39
+
 PACKAGE_ARGS=	--without-sqlite3 --without-_tkinter
 
 pre-install: