From 972d725701121f345dbe9d186f1d33bc3b717652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Mon, 9 Mar 2020 19:25:57 +0100 Subject: [PATCH] python3-sympy: update to 1.6.1, drop python2 --- srcpkgs/python-sympy/template | 43 ---------------------------------- srcpkgs/python3-sympy | 1 - srcpkgs/python3-sympy/template | 21 +++++++++++++++++ 3 files changed, 21 insertions(+), 44 deletions(-) delete mode 100644 srcpkgs/python-sympy/template delete mode 120000 srcpkgs/python3-sympy create mode 100644 srcpkgs/python3-sympy/template diff --git a/srcpkgs/python-sympy/template b/srcpkgs/python-sympy/template deleted file mode 100644 index d41c8a392b0..00000000000 --- a/srcpkgs/python-sympy/template +++ /dev/null @@ -1,43 +0,0 @@ -# Template file for 'python-sympy' -pkgname=python-sympy -version=1.4 -revision=2 -archs=noarch -wrksrc="sympy-${version}" -build_style=python-module -pycompile_module="sympy isympy.py" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools python-mpmath" -short_desc="Computer algebra system for Python2" -maintainer="Alessio Sergi " -license="BSD-3-Clause" -homepage="https://sympy.org/" -distfiles="${PYPI_SITE}/s/sympy/sympy-${version}.tar.gz" -checksum=71a11e5686ae7ab6cb8feb5bd2651ef4482f8fd43a7c27e645a165e4353b23e1 - -alternatives=" - sympy:isympy:/usr/bin/isympy2 - sympy:isympy.1:/usr/share/man/man1/isympy2.1" - -post_install() { - # create versioned man pages - mv ${DESTDIR}/usr/share/man/man1/isympy{,2}.1 - vman doc/man/isympy.1 isympy3.1 - vlicense LICENSE -} - -python3-sympy_package() { - alternatives=" - sympy:isympy:/usr/bin/isympy3 - sympy:isympy.1:/usr/share/man/man1/isympy3.1" - archs=noarch - pycompile_module="sympy isympy.py" - depends="python3-setuptools python3-mpmath" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/isympy3 - vmove usr/lib/python3* - vmove usr/share/man/man1/isympy3.1 - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-sympy b/srcpkgs/python3-sympy deleted file mode 120000 index 9e6bbea60ee..00000000000 --- a/srcpkgs/python3-sympy +++ /dev/null @@ -1 +0,0 @@ -python-sympy \ No newline at end of file diff --git a/srcpkgs/python3-sympy/template b/srcpkgs/python3-sympy/template new file mode 100644 index 00000000000..77f7747a999 --- /dev/null +++ b/srcpkgs/python3-sympy/template @@ -0,0 +1,21 @@ +# Template file for 'python3-sympy' +pkgname=python3-sympy +version=1.6.1 +revision=1 +archs=noarch +wrksrc="sympy-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools python3-mpmath" +checkdepends="python3-mpmath" +short_desc="Computer algebra system for Python3" +maintainer="Alessio Sergi " +license="BSD-3-Clause" +homepage="https://sympy.org/" +distfiles="${PYPI_SITE}/s/sympy/sympy-${version}.tar.gz" +checksum=7386dba4f7e162e90766b5ea7cab5938c2fe3c620b310518c8ff504b283cb15b + +post_install() { + vman doc/man/isympy.1 + vlicense LICENSE +}