mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
python-sympy: fix mpmath symlink
This commit is contained in:
parent
7023b92277
commit
d272fe5e9e
1 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-sympy'
|
# Template file for 'python-sympy'
|
||||||
pkgname=python-sympy
|
pkgname=python-sympy
|
||||||
version=0.7.6.1
|
version=0.7.6.1
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="sympy-${version}"
|
wrksrc="sympy-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -23,8 +23,11 @@ post_install() {
|
||||||
# replace bundled copy of mpmath
|
# replace bundled copy of mpmath
|
||||||
for pyver in $python_versions; do
|
for pyver in $python_versions; do
|
||||||
rm -rf ${DESTDIR}/usr/lib/python${pyver}/site-packages/sympy/mpmath
|
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
|
done
|
||||||
|
# install isympy3.x
|
||||||
|
vbin build-3.4/scripts-3.4/isympy isympy3.4
|
||||||
|
vman doc/man/isympy.1 isympy3.4.1
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,9 +38,9 @@ python3.4-sympy_package() {
|
||||||
pycompile_module="sympy"
|
pycompile_module="sympy"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vbin build-3.4/scripts-3.4/isympy isympy3
|
vmove usr/bin/isympy3.4
|
||||||
vman doc/man/isympy.1 isympy3.1
|
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
vmove usr/share/man/man1/isympy3.4.1
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue