# HG changeset patch # User John Donoghue # Date 1581367221 18000 # Node ID 561da151205efe554655c0ed5b5ef23663826e38 # Parent 47b1ea174cb08951b45e93ccdcd5decbc54b7a9b Add python sympy package * src/python-sympy.mk: new file * dist-files.mk, index.html: add reference to new package diff -r 47b1ea174cb0 -r 561da151205e dist-files.mk --- a/dist-files.mk Mon Feb 10 15:40:20 2020 -0500 +++ b/dist-files.mk Mon Feb 10 15:40:21 2020 -0500 @@ -587,6 +587,7 @@ pthreads.mk \ python-embedded.mk \ python-mpmath.mk \ + python-sympy.mk \ qdbm-test.c \ qdbm.mk \ qhull-1-fixes.patch \ diff -r 47b1ea174cb0 -r 561da151205e index.html --- a/index.html Mon Feb 10 15:40:20 2020 -0500 +++ b/index.html Mon Feb 10 15:40:21 2020 -0500 @@ -2518,6 +2518,10 @@ python mpmath + python-sympy + python sympy + + qdbm QDBM diff -r 47b1ea174cb0 -r 561da151205e src/python-sympy.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/python-sympy.mk Mon Feb 10 15:40:21 2020 -0500 @@ -0,0 +1,20 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := python-sympy +$(PKG)_VERSION := 1.5 +$(PKG)_CHECKSUM := be2e740860f7900f0ee2a8102d2943fded44125c +$(PKG)_SUBDIR := +$(PKG)_FILE := sympy-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://github.com/sympy/sympy/releases/download/sympy-$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS += python-embedded python-mpmath + +define $(PKG)_UPDATE + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD + mkdir -p '$(3)$(HOST_PREFIX)/python' + cd '$(1)/sympy-$($(PKG)_VERSION)' && tar cf - sympy | ( cd '$(3)$(HOST_PREFIX)/python'; tar xpf - ) + cd '$(1)' && tar cf - --exclude=sympy-$($(PKG)_VERSION)/sympy . | ( cd '$(3)$(HOST_PREFIX)/python'; tar xpf - ) +endef