Mercurial > mxe-octave
view src/python-sympy.mk @ 7106:47ac621e632f release
append our octaverc file to existing site rcfile
* binary-dist-rules.mk (copy-dist-files): Append octaverc to existing
file instead of overwriting.
* octaverc: Note that these commands come from MXE Octave.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 13 Mar 2024 12:16:26 -0400 |
parents | cd0d311a91d0 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := python-sympy $(PKG)_VERSION := 1.10.1 $(PKG)_CHECKSUM := 95b5323b284a3f64414dab3b9da909eeeb1c09ea $(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-mpmath ifeq ($(MXE_WINDOWS_BUILD),yes) $(PKG)_DEPS += msys2-python $(PKG)_PYTHON_PKG_DIR := $(MSYS2_DIR)/usr/lib/python$(call SHORT_PKG_VERSION,msys2-python)/site-packages/ else $(PKG)_PYTHON_PKG_DIR := $(3)$(HOST_PREFIX)/python endif define $(PKG)_UPDATE echo $($(PKG)_VERSION) endef define $(PKG)_BUILD rm -rf '$($(PKG)_PYTHON_PKG_DIR)/sympy*' mkdir -p '$($(PKG)_PYTHON_PKG_DIR)' cd '$(1)/sympy-$($(PKG)_VERSION)' && tar cf - sympy | ( cd '$($(PKG)_PYTHON_PKG_DIR)'; tar xpf - ) cd '$(1)' && tar cf - --exclude=sympy-$($(PKG)_VERSION)/sympy . | ( cd '$($(PKG)_PYTHON_PKG_DIR)'; tar xpf - ) endef