view 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
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := build-setuptools
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 44.1.1
$(PKG)_CHECKSUM := d1ba6f62520e09956bc3163291a26b185fdff2c6
$(PKG)_SUBDIR   := setuptools-$($(PKG)_VERSION)
$(PKG)_FILE     := setuptools-$($(PKG)_VERSION).zip
$(PKG)_URL      := https://files.pythonhosted.org/packages/b2/40/4e00501c204b457f10fe410da0c97537214b2265247bc9a5bc6edd55b9e4/$($(PKG)_FILE)
$(PKG)_DEPS     := build-python

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
endef

define $(PKG)_BUILD
    cd '$(1)' && python2 setup.py install --prefix='$(BUILD_TOOLS_PREFIX)'
endef