python-sympy: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
0205d22afa
commit
9e0f26b76d
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-sympy'
|
# Template file for 'python-sympy'
|
||||||
pkgname=python-sympy
|
pkgname=python-sympy
|
||||||
version=1.0
|
version=1.0
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="sympy-${version}"
|
wrksrc="sympy-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python-mpmath"
|
depends="python-mpmath"
|
||||||
pycompile_module="sympy"
|
pycompile_module="sympy"
|
||||||
short_desc="Computer algebra system for Python2"
|
short_desc="Computer algebra system for Python2"
|
||||||
|
@ -17,29 +16,35 @@ distfiles="${PYPI_SITE}/s/sympy/sympy-${version}.tar.gz"
|
||||||
checksum=3eacd210d839e4db911d216a9258a3ac6f936992f66db211e22767983297ffae
|
checksum=3eacd210d839e4db911d216a9258a3ac6f936992f66db211e22767983297ffae
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
sympy:isympy:/usr/bin/isympy2.7
|
sympy:isympy:/usr/bin/isympy2
|
||||||
sympy:isympy.1:/usr/share/man/man1/isympy2.7.1"
|
sympy:isympy.1:/usr/share/man/man1/isympy2.1"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# create versioned man pages
|
# create versioned man pages
|
||||||
mv ${DESTDIR}/usr/share/man/man1/isympy{,2.7}.1
|
mv ${DESTDIR}/usr/share/man/man1/isympy{,2}.1
|
||||||
vman doc/man/isympy.1 isympy3.4.1
|
vman doc/man/isympy.1 isympy3.1
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-sympy_package() {
|
python3-sympy_package() {
|
||||||
alternatives="
|
alternatives="
|
||||||
sympy:isympy:/usr/bin/isympy3.4
|
sympy:isympy:/usr/bin/isympy3
|
||||||
sympy:isympy.1:/usr/share/man/man1/isympy3.4.1"
|
sympy:isympy.1:/usr/share/man/man1/isympy3.1"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-mpmath"
|
depends="python3-mpmath"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="sympy"
|
pycompile_module="sympy"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-sympy>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/isympy3.4
|
vmove usr/bin/isympy3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vmove usr/share/man/man1/isympy3.4.1
|
vmove usr/share/man/man1/isympy3.1
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-sympy_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-sympy>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python-sympy
|
Loading…
Reference in New Issue