comparison src/build-python3.mk @ 5495:fb50ae69121c

Add build rule for python3 (bug #58689). * src/build-python3.mk: Add build rule for python3 version 3.8.3. * dist-files.mk: Add new file to list. * index.html: Add new package to list. * src/build-setuptools.mk: Update to version 44.1.1 (last version compatible with python2). Use python2. Set installation prefix. * src/build-mako.mk: Use python2. Set installation prefix. * src/build-markupsafe.mk: Use python2. Set installation prefix. * src/mesa.mk: Windows rule depends on scons. Use python2. * src/nsis.mk: Depend on scons. Use python2.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 05 Jul 2020 12:21:53 +0200
parents
children a48a92c9af10
comparison
equal deleted inserted replaced
5494:898c27394c57 5495:fb50ae69121c
1 # This file is part of MXE.
2 # See index.html for further information.
3
4 PKG := build-python3
5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 3.8.3
7 $(PKG)_CHECKSUM := 3bafa40df1cd069c112761c388a9f2e94b5d33dd
8 $(PKG)_SUBDIR := Python-$($(PKG)_VERSION)
9 $(PKG)_FILE := Python-$($(PKG)_VERSION).tar.xz
10 $(PKG)_URL := http://www.python.org/ftp/python/$($(PKG)_VERSION)/$($(PKG)_FILE)
11 $(PKG)_DEPS :=
12 ifneq ($(USE_SYSTEM_GCC),yes)
13 $(PKG)_DEPS += build-gcc
14 endif
15
16 define $(PKG)_UPDATE
17 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
18 echo $($(PKG)_VERSION)
19 endef
20
21 define $(PKG)_BUILD
22 mkdir '$(1)/.build'
23 cd '$(1)/.build' && '$(1)/configure' \
24 --prefix='$(BUILD_TOOLS_PREFIX)'
25 $(MAKE) -C '$(1)/.build' -j '$(JOBS)'
26 $(MAKE) -C '$(1)/.build' -j 1 install
27 endef