annotate src/python-embedded.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents dace3d372190
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5298
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
1 # This file is part of MXE.
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
2 # See index.html for further information.
5493
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents: 5336
diff changeset
3 #
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents: 5336
diff changeset
4 # NOTE: this is currently depreciated from the mxe build in favor of msys2-python
5298
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
5
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
6 PKG := python-embedded
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
7 $(PKG)_VERSION := 3.8.1
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
8 $(PKG)_CHECKSUM := 7b33bfd3c61f5eb868acb6130b3215e044061046
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
9 $(PKG)_SUBDIR :=
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
10 $(PKG)_FILE := python-$($(PKG)_VERSION)-embed-win32.zip
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
11 $(PKG)_URL := https://www.python.org/ftp/python/$($(PKG)_VERSION)/$($(PKG)_FILE)
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
12 $(PKG)_DEPS :=
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
13
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
14 define $(PKG)_UPDATE
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
15 echo $($(PKG)_VERSION)
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
16 endef
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
17
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
18 define $(PKG)_BUILD
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
19 mkdir -p '$(3)$(HOST_PREFIX)/python'
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
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
69f25be92c64 Add python3 emeddable package
John Donoghue
parents:
diff changeset
24 endef