python-sympy: update to 1.0
mpmath is now a hard external dependency for SymPy.
This commit is contained in:
parent
551859bb20
commit
309c882b9b
srcpkgs/python-sympy
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python-sympy'
|
||||
pkgname=python-sympy
|
||||
version=0.7.6.1
|
||||
revision=2
|
||||
version=1.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="sympy-${version}"
|
||||
build_style=python-module
|
||||
|
@ -14,17 +14,12 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|||
homepage="http://sympy.org/"
|
||||
license="3-clause-BSD"
|
||||
distfiles="${PYPI_SITE}/s/sympy/sympy-${version}.tar.gz"
|
||||
checksum=1fc272b51091aabe7d07f1bf9f0a47f3e28657fb2bec52bf3ef0e8f159f5f564
|
||||
checksum=3eacd210d839e4db911d216a9258a3ac6f936992f66db211e22767983297ffae
|
||||
|
||||
pre_build() {
|
||||
sed -i '/^#!/d' sympy/{benchmarks/bench_symbench,utilities/tests/diagnose_imports}.py
|
||||
}
|
||||
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
|
||||
done
|
||||
# install isympy3.x
|
||||
vbin build-3.4/scripts-3.4/isympy isympy3.4
|
||||
vman doc/man/isympy.1 isympy3.4.1
|
||||
|
|
Loading…
Reference in New Issue