view src/python-embedded.mk @ 5493:dace3d372190

Use msys2 python3 * src/msys2-mpdecimal.mk, src/msys2-python.mk, src/src-msys2-mpdecimal.mk, src/src-msys2-python.mk: new files * dist-files.mk: added ref to new files * index.html: add ref to new packages * installer-files/octave-firsttime.vbs, installer-files/octave.bat, installer-files/octave.vbs: remove python path add * src/python-embedded.mk: add note on not used * src/python-mpmath.mk, src/python-sympy.mk: update dependancy for msys2-python
author John Donoghue <john.donoghue@ieee.org>
date Thu, 23 Jul 2020 12:29:32 -0400
parents 8aacfe9a347f
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.
#
# NOTE: this is currently depreciated from the mxe build in favor of msys2-python

PKG             := python-embedded
$(PKG)_VERSION  := 3.8.1
$(PKG)_CHECKSUM := 7b33bfd3c61f5eb868acb6130b3215e044061046
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := python-$($(PKG)_VERSION)-embed-win32.zip
$(PKG)_URL      := https://www.python.org/ftp/python/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    echo $($(PKG)_VERSION)
endef

define $(PKG)_BUILD
    mkdir -p '$(3)$(HOST_PREFIX)/python'
    cd '$(1)' && tar cf - . | ( cd '$(3)$(HOST_PREFIX)/python'; tar xpf - )
    if test x$(MXE_WINDOWS_BUILD) = xyes; then \
      cp '$(3)$(HOST_PREFIX)/python/python.exe' '$(3)$(HOST_PREFIX)/python/python3.exe'; \
    fi
endef