From d272fe5e9e7bc24ca5abc30e3737d30d3f34c159 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 23 Nov 2015 00:55:23 +0100 Subject: [PATCH] python-sympy: fix mpmath symlink --- srcpkgs/python-sympy/template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python-sympy/template b/srcpkgs/python-sympy/template index ae428c86d99..2ae95ef35b6 100644 --- a/srcpkgs/python-sympy/template +++ b/srcpkgs/python-sympy/template @@ -1,7 +1,7 @@ # Template file for 'python-sympy' pkgname=python-sympy version=0.7.6.1 -revision=1 +revision=2 noarch=yes wrksrc="sympy-${version}" build_style=python-module @@ -23,8 +23,11 @@ post_install() { # replace bundled copy of mpmath for pyver in $python_versions; do rm -rf ${DESTDIR}/usr/lib/python${pyver}/site-packages/sympy/mpmath - ln -sf ../../mpmath ${DESTDIR}/usr/lib/python${pyver}/site-packages/sympy/mpmath + ln -sf ../mpmath ${DESTDIR}/usr/lib/python${pyver}/site-packages/sympy/mpmath done + # install isympy3.x + vbin build-3.4/scripts-3.4/isympy isympy3.4 + vman doc/man/isympy.1 isympy3.4.1 vlicense LICENSE } @@ -35,9 +38,9 @@ python3.4-sympy_package() { pycompile_module="sympy" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { - vbin build-3.4/scripts-3.4/isympy isympy3 - vman doc/man/isympy.1 isympy3.1 + vmove usr/bin/isympy3.4 vmove usr/lib/python3.4 + vmove usr/share/man/man1/isympy3.4.1 vlicense LICENSE } }