Mercurial > mxe-octave
diff src/src-msys2-python.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 | |
children | 38d42e4346af |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/src-msys2-python.mk Thu Jul 23 12:29:32 2020 -0400 @@ -0,0 +1,22 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := src-msys2-python +$(PKG)_NAME := python +$(PKG)_IGNORE := +$(PKG)_VERSION := 3.8.4-1 +$(PKG)_CHECKSUM := 2318102220163c823e9f7f2e8d4a5ee75f094b9b +$(PKG)_SUBDIR := +$(PKG)_FILE := $($(PKG)_NAME)-$($(PKG)_VERSION).src.tar.gz +$(PKG)_URL := $(MSYS2_SRC_URL)/$($(PKG)_FILE) + +$(PKG)_DEPS := + +define $(PKG)_UPDATE + $(WGET) -q -O- '$(MSYS2_BASE_URL)/' | \ + $(SED) -n 's,.*title="$($(PKG)_NAME)-\([0-9][^"]*\)".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD +endef