Mercurial > mxe-octave
annotate src/python-embedded.mk @ 6213:5f64fb928091 release
build-gcc: Avoid library clash when calling msgfmt.
* src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when
calling `msgfmt`.
* dist-files.mk: Add patch to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 06 May 2022 19:36:10 +0200 |
parents | dace3d372190 |
children |
rev | line source |
---|---|
5298 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
5493 | 3 # |
4 # NOTE: this is currently depreciated from the mxe build in favor of msys2-python | |
5298 | 5 |
6 PKG := python-embedded | |
7 $(PKG)_VERSION := 3.8.1 | |
8 $(PKG)_CHECKSUM := 7b33bfd3c61f5eb868acb6130b3215e044061046 | |
9 $(PKG)_SUBDIR := | |
10 $(PKG)_FILE := python-$($(PKG)_VERSION)-embed-win32.zip | |
11 $(PKG)_URL := https://www.python.org/ftp/python/$($(PKG)_VERSION)/$($(PKG)_FILE) | |
12 $(PKG)_DEPS := | |
13 | |
14 define $(PKG)_UPDATE | |
15 echo $($(PKG)_VERSION) | |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
19 mkdir -p '$(3)$(HOST_PREFIX)/python' | |
20 cd '$(1)' && tar cf - . | ( cd '$(3)$(HOST_PREFIX)/python'; tar xpf - ) | |
5336
8aacfe9a347f
* src/python-embedded.mk: provide a python3.exe
John Donoghue
parents:
5298
diff
changeset
|
21 if test x$(MXE_WINDOWS_BUILD) = xyes; then \ |
8aacfe9a347f
* src/python-embedded.mk: provide a python3.exe
John Donoghue
parents:
5298
diff
changeset
|
22 cp '$(3)$(HOST_PREFIX)/python/python.exe' '$(3)$(HOST_PREFIX)/python/python3.exe'; \ |
8aacfe9a347f
* src/python-embedded.mk: provide a python3.exe
John Donoghue
parents:
5298
diff
changeset
|
23 fi |
5298 | 24 endef |