annotate src/build-setuptools.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 67c0ec94a9eb
children 44be3d301611
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4480
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-setuptools
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
5495
fb50ae69121c Add build rule for python3 (bug #58689).
Markus Mützel <markus.muetzel@gmx.de>
parents: 4480
diff changeset
6 $(PKG)_VERSION := 44.1.1
fb50ae69121c Add build rule for python3 (bug #58689).
Markus Mützel <markus.muetzel@gmx.de>
parents: 4480
diff changeset
7 $(PKG)_CHECKSUM := d1ba6f62520e09956bc3163291a26b185fdff2c6
4480
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := setuptools-$($(PKG)_VERSION)
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := setuptools-$($(PKG)_VERSION).zip
5495
fb50ae69121c Add build rule for python3 (bug #58689).
Markus Mützel <markus.muetzel@gmx.de>
parents: 4480
diff changeset
10 $(PKG)_URL := https://files.pythonhosted.org/packages/b2/40/4e00501c204b457f10fe410da0c97537214b2265247bc9a5bc6edd55b9e4/$($(PKG)_FILE)
4480
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS := build-python
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 define $(PKG)_UPDATE
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 echo $($(PKG)_VERSION)
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 endef
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 define $(PKG)_BUILD
5495
fb50ae69121c Add build rule for python3 (bug #58689).
Markus Mützel <markus.muetzel@gmx.de>
parents: 4480
diff changeset
19 cd '$(1)' && python2 setup.py install --prefix='$(BUILD_TOOLS_PREFIX)'
4480
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 endef