Mercurial > mxe-octave
changeset 5298:69f25be92c64
Add python3 emeddable package
* src/python-embedded.mk: new file
* dist-files.mk, index.html: add reference to package
author | John Donoghue |
---|---|
date | Mon, 10 Feb 2020 15:40:19 -0500 |
parents | cf95c2205f38 |
children | 47b1ea174cb0 |
files | dist-files.mk index.html src/python-embedded.mk |
diffstat | 3 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Sun Feb 09 09:15:27 2020 -0500 +++ b/dist-files.mk Mon Feb 10 15:40:19 2020 -0500 @@ -585,6 +585,7 @@ pthread-stubs.mk \ pthreads-test.c \ pthreads.mk \ + python-embedded.mk \ qdbm-test.c \ qdbm.mk \ qhull-1-fixes.patch \
--- a/index.html Sun Feb 09 09:15:27 2020 -0500 +++ b/index.html Mon Feb 10 15:40:19 2020 -0500 @@ -2510,6 +2510,9 @@ <td class="website"><a href="http://sourceware.org/pthreads-win32/">Pthreads-w32</a></td> </tr> <tr> + <td class="package">python-embedded</td> + <td class="website"><a href="https://www.python.org/downloads/windows/">python-embedded</a></td> + <tr> <td class="package">qdbm</td> <td class="website"><a href="http://fallabs.com/qdbm/">QDBM</a></td> </tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/python-embedded.mk Mon Feb 10 15:40:19 2020 -0500 @@ -0,0 +1,19 @@ +# This file is part of MXE. +# See index.html for further information. + +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 - ) +endef