# HG changeset patch # User John Donoghue # Date 1581367220 18000 # Node ID 47b1ea174cb08951b45e93ccdcd5decbc54b7a9b # Parent 69f25be92c64a4b49e749e97d9798dc3578cd9cc Add python mppath package * src/python-mpmath.mk: new file * dist-files.mk, index.html: add ref to new package diff -r 69f25be92c64 -r 47b1ea174cb0 dist-files.mk --- a/dist-files.mk Mon Feb 10 15:40:19 2020 -0500 +++ b/dist-files.mk Mon Feb 10 15:40:20 2020 -0500 @@ -586,6 +586,7 @@ pthreads-test.c \ pthreads.mk \ python-embedded.mk \ + python-mpmath.mk \ qdbm-test.c \ qdbm.mk \ qhull-1-fixes.patch \ diff -r 69f25be92c64 -r 47b1ea174cb0 index.html --- a/index.html Mon Feb 10 15:40:19 2020 -0500 +++ b/index.html Mon Feb 10 15:40:20 2020 -0500 @@ -2512,6 +2512,11 @@ python-embedded python-embedded + + + python-mpmath + python mpmath + qdbm QDBM diff -r 69f25be92c64 -r 47b1ea174cb0 src/python-mpmath.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/python-mpmath.mk Mon Feb 10 15:40:20 2020 -0500 @@ -0,0 +1,20 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := python-mpmath +$(PKG)_VERSION := 1.1.0 +$(PKG)_CHECKSUM := 3f479408ea65b08bc23eeebe5dac2f2293dfec9d +$(PKG)_SUBDIR := +$(PKG)_FILE := mpmath-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://files.pythonhosted.org/packages/ca/63/3384ebb3b51af9610086b23ea976e6d27d6d97bf140a76a365bd77a3eb32/$($(PKG)_FILE) +$(PKG)_DEPS += python-embedded + +define $(PKG)_UPDATE + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD + mkdir -p '$(3)$(HOST_PREFIX)/python' + cd '$(1)/mpmath-$($(PKG)_VERSION)' && tar cf - mpmath | ( cd '$(3)$(HOST_PREFIX)/python'; tar xpf - ) + cd '$(1)' && tar cf - --exclude=mpmath-$($(PKG)_VERSION)/mpmath . | ( cd '$(3)$(HOST_PREFIX)/python'; tar xpf - ) +endef