Mercurial > mxe-octave
view src/python-mpmath.mk @ 5306:4ae7a3f9bc16
* src/python-sympy.mk: downgrade to v1.4, remove old files when installing
author | John Donoghue |
---|---|
date | Tue, 11 Feb 2020 13:11:40 -0500 |
parents | 47b1ea174cb0 |
children | dace3d372190 |
line wrap: on
line source
# 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